heap profile: 187: 27444592 [548959: 40005711136] @ heap/1048576 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x224c3ca 0x224c3aa 0x224c0d3 0x498001 # 0x224c3c9 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).AddItem+0x1a9 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:96 # 0x224c3a9 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x189 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:530 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x1b8e506 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:147 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x7bec5f 0xc9e930 0x25f05a5 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bec5e regexp.(*Regexp).ReplaceAllString+0xde regexp/regexp.go:560 # 0xc9e92f github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:757 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x493087 0x642625 0x658e30 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658e2f crypto/x509.parseCertificate+0x6ef crypto/x509/parser.go:987 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 90112] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 10010624] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 6912] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2304] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x475708 0x1261e3b 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e3a github.com/lib/pq.(*Config).fromDSN+0x75a github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x25eaf45 0x25eaeba 0x25eae89 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25eaf44 net/textproto.MIMEHeader.Set+0x1704 net/textproto/header.go:22 # 0x25eaeb9 net/http.Header.Set+0x1679 net/http/header.go:40 # 0x25eae88 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x1648 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:268 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x4cf2a5 0x11665e7 0x11665d8 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4cf2a4 io.ReadAll+0x44 io/io.go:712 # 0x11665e6 io/ioutil.ReadAll+0x26 io/ioutil/ioutil.go:30 # 0x11665d7 github.com/JalfResi/justext.(*Reader).ReadAll+0x17 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:38 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296a457 0x296a3cc 0x296a3dc 0x2990a6f 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296a456 crypto/internal/fips140/bigmod.(*Nat).reset+0xb6 crypto/internal/fips140/bigmod/nat.go:96 # 0x296a3cb crypto/internal/fips140/bigmod.(*Nat).resetFor+0x2b crypto/internal/fips140/bigmod/nat.go:685 # 0x296a3db crypto/internal/fips140/bigmod.(*Nat).SetBytes+0x3b crypto/internal/fips140/bigmod/nat.go:175 # 0x2990a6e crypto/internal/fips140/rsa.encrypt+0x8e crypto/internal/fips140/rsa/rsa.go:376 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x258cab4 0x257f730 0x21d4da2 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x258cab3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21191b9 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21191b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:56 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5005312] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x4c7afa 0x4c67ea 0x4c7471 0x4c7567 0x4c5130 0x13953c5 0x258f18b 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x4c7af9 time.readFile+0x1d9 time/zoneinfo_read.go:589 # 0x4c67e9 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4c7470 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4c7566 time.loadLocation+0xa6 time/zoneinfo_read.go:533 # 0x4c512f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x13953c4 github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2c4 github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x258f18a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:359 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 224] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 224] @ 0x48dd05 0x428505 0x257701c 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x257701b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x8edb github.com/mattermost/mattermost/server/v8/channels/app/notification.go:673 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a1e63c 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:593 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0xb64425 0xb642a7 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb64424 encoding/gob.(*encBuffer).WriteString+0x644 encoding/gob/encode.go:60 # 0xb642a6 encoding/gob.(*Encoder).encodeInterface+0x4c6 encoding/gob/encode.go:409 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x2700f14 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f13 net/textproto.MIMEHeader.Set+0x173 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x199f2f5 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f2f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x2f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x493087 0x652b48 0x658c7d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x652b47 crypto/x509.parseName+0x307 crypto/x509/parser.go:177 # 0x658c7c crypto/x509.parseCertificate+0x53c crypto/x509/parser.go:963 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x99febb 0x99fbe2 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x476289 0x47614e 0x20c5d3f 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5d3e runtime/pprof.printStackRecord+0xfe runtime/pprof/pprof.go:582 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1015808] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc43b 0x20cba07 0x20c7c25 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc43a runtime/pprof.(*profileBuilder).appendLocsForStack+0x3da runtime/pprof/proto.go:456 # 0x20cba06 runtime/pprof.(*profileBuilder).build+0x366 runtime/pprof/proto.go:376 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 4864] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417009 0x20cd110 0x20cc59a 0x20cba07 0x20c7c25 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20cba06 runtime/pprof.(*profileBuilder).build+0x366 runtime/pprof/proto.go:376 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [2: 2031616] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a03cfe 0x1a03c7a 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a03cfd github.com/mattermost/squirrel.SelectBuilder.From+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03c79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2127b25 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127b24 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x54dd73 0x54db31 0x54d47e 0x1944675 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x1944674 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 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1967b05 0x1966be4 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1967b04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x18e4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1966be3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x9c3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:668 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x1b8e506 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:147 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28244d8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28244d7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x2b7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x12681e5 0x126813d 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x12681e4 github.com/lib/pq.convertURL.func1+0x5c4 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x126813c github.com/lib/pq.convertURL+0x51c github.com/lib/pq@v1.12.3/connector.go:1142 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x21f8ff1 0x28ebdf1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x21f8ff0 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).PopulateWebConnConfig+0x230 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:186 # 0x28ebdf0 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b0 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x26ff90a 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x26ff909 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:61 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a04c52 0x1a04c33 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04c51 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x891 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a04c32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x99d19d 0x4a2651 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x99d19c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x113af5e 0x113a94a 0x113aa93 0x122506e 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x113af5d net/smtp.(*Client).ehlo+0x21d net/smtp/smtp.go:142 # 0x113a949 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x113aa92 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x122506d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:184 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x276df54 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276df53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x373 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1945 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x516687 0x516019 0x895c46 0x890fd8 0x88f83f 0x88e8ee 0x88e305 0x88c276 0x88c4b1 0x88bc7c 0x8aa545 0x8aa524 0x1397ad0 0x1397932 0x258fafe 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x516686 reflect.Value.call+0x426 reflect/value.go:448 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0x895c45 text/template.safeCall+0x85 text/template/funcs.go:366 # 0x890fd7 text/template.(*state).evalCall+0xa37 text/template/exec.go:870 # 0x88f83e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x88e8ed text/template.(*state).evalCommand+0x1cd text/template/exec.go:563 # 0x88e304 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x88c275 text/template.(*state).walk+0xd5 text/template/exec.go:267 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8aa544 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x8aa523 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1397acf github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:69 # 0x1397931 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:56 # 0x258fafd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xb1d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 12288] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x1a06805 0x1a067df 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06804 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a067de 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:453 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x1a03574 0x1a0351a 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a03573 github.com/mattermost/squirrel.SelectBuilder.From+0x153 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x1a047e5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a047e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:294 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x492ae9 0xc99845 0xc99801 0x11347f5 0x1133c86 0x1133c7e 0x211dda2 0x2127cad 0x2581463 0x498001 # 0xc99844 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc99800 github.com/mattermost/mattermost/server/public/model.UserMap.MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:800 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127cac 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 # 0x2581462 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] @ 0x48dd05 0x48d7c5 0x19ea90d 0x19ea890 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea90c github.com/mattermost/squirrel.InsertBuilder.Columns+0x1ac github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19ea88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 352] @ 0x48dd05 0x428505 0xbd95dc 0xbdf393 0x28eb6ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd95db github.com/gorilla/websocket.newConn+0x13b github.com/gorilla/websocket@v1.5.3/conn.go:308 # 0xbdf392 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x28eb6eb github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xab github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184a645 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184a644 github.com/mattermost/squirrel.(*updateData).ToSql+0x184 github.com/mattermost/squirrel@v0.5.0/update.go:78 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x298b3c5 0x298bc6f 0x5da885 0x5da7f6 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x298b3c4 crypto/internal/fips140/rsa.emsaPSSVerify+0x484 crypto/internal/fips140/rsa/pkcs1v22.go:244 # 0x298bc6e crypto/internal/fips140/rsa.verifyPSS+0x24e crypto/internal/fips140/rsa/pkcs1v22.go:361 # 0x5da884 crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x504 crypto/internal/fips140/rsa/pkcs1v22.go:325 # 0x5da7f5 crypto/rsa.VerifyPSS+0x475 crypto/rsa/fips.go:170 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x2700f14 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f13 net/textproto.MIMEHeader.Set+0x173 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19668e8 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19668e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x6c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:642 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x296ae9f 0x296ae7b 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296ae9e crypto/internal/fips140/bigmod.NewNat+0x3e crypto/internal/fips140/bigmod/nat.go:73 # 0x296ae7a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:482 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 1536] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbf68c6 0xbef63f 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133d05 0x26259e2 0x26235d3 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133d04 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x26259e1 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1152 # 0x26235d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x4d2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:940 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28adc67 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28adc66 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1355 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0xc99d65 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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: 4243456] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1220608] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bec74 0x6bec53 0x5ccbc4 0x5cd01c 0x6ba94e 0x6ba7e0 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bec73 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bec52 crypto/tls.(*clientHelloMsg).marshalMsg.func8+0x12 crypto/tls/handshake_messages.go:196 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6ba94d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x190d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6ba7df crypto/tls.(*clientHelloMsg).marshalMsg+0x179f crypto/tls/handshake_messages.go:195 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474c05 0x1267eb8 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1267eb7 github.com/lib/pq.convertURL.func1+0x297 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x46ce57 0x491c05 0x4a18dd 0xb71f6e 0xb71f66 0xb71f4c 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x491c04 internal/sync.runtime_SemacquireMutex+0x24 runtime/sema.go:95 # 0x4a18dc internal/sync.(*Mutex).lockSlow+0x15c internal/sync/mutex.go:149 # 0xb71f6d internal/sync.(*Mutex).Lock+0x4d internal/sync/mutex.go:70 # 0xb71f65 sync.(*Mutex).Lock+0x45 sync/mutex.go:46 # 0xb71f4b net/rpc.(*Client).send+0x2b net/rpc/client.go:72 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x261909a 0x2618e7d 0x25f82ba 0x25fd33c 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x2619099 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachNewFilesToPost+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/post_file_change.go:56 # 0x2618e7c github.com/mattermost/mattermost/server/v8/channels/app.(*App).processPostFileChanges+0x2dc github.com/mattermost/mattermost/server/v8/channels/app/post_file_change.go:25 # 0x25f82b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x779 github.com/mattermost/mattermost/server/v8/channels/app/post.go:865 # 0x25fd33b github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x19b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1222 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x28281ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x28281eb github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x10b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1157 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 737280] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x18e21af 0x18e2127 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e21ae github.com/mattermost/squirrel.SelectBuilder.From+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e2126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2448 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2211840] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x4930f3 0x561feb 0x5504d3 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x25955d2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x561fea encoding/json.appendString[...]+0x7ca encoding/json/encode.go:1063 # 0x5504d2 encoding/json.stringEncoder+0x412 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x25955d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a11c 0x1875e88 0x219ad32 0x2605e78 0x282c9d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:919 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2605e77 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2261 # 0x282c9cf github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x4af github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1575 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21f2185 0x22065e7 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21f2184 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x22065e6 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:660 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352256] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x476d72 0x476d4a 0x20d1565 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d1564 runtime/pprof.writeHeapProto+0x6e4 runtime/pprof/protomem.go:39 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x20cdd2b 0x20cdc0d 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdd2a runtime/pprof.(*profileBuilder).stringIndex+0xf4a runtime/pprof/proto.go:138 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 663552] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20c8688 0x20ce348 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x7031a9 0x70e52d 0x70e4ee 0x20cbc0e 0x20c7c25 0x498001 # 0x7031a8 compress/flate.(*compressor).init+0x328 compress/flate/deflate.go:585 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 64] @ 0x48dd05 0x493087 0x20da268 0x20da1ef 0x20cef92 0x20cf03f 0x20cb21b 0x20c491f 0x20c828d 0x20c7e70 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20da267 runtime/pprof.(*profileBuilder).addMappingEntry+0xa7 runtime/pprof/proto.go:761 # 0x20da1ee runtime/pprof.(*profileBuilder).addMapping+0x2e runtime/pprof/proto.go:757 # 0x20cef91 runtime/pprof.parseProcSelfMaps+0x411 runtime/pprof/proto.go:752 # 0x20cf03e runtime/pprof.(*profileBuilder).readMapping+0x5e runtime/pprof/proto_other.go:19 # 0x20cb21a runtime/pprof.newProfileBuilder+0x1da runtime/pprof/proto.go:270 # 0x20c491e runtime/pprof.printCountCycleProfile+0x5e runtime/pprof/pprof.go:466 # 0x20c828c runtime/pprof.writeProfileInternal+0x38c runtime/pprof/pprof.go:1002 # 0x20c7e6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:976 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28cac7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3743 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 9472] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417009 0x20cd110 0x20cc43b 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc43a runtime/pprof.(*profileBuilder).appendLocsForStack+0x3da runtime/pprof/proto.go:456 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281ed65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281ed64 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:371 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb9119a 0xb87bc8 0xb90c75 0xb8df4c 0x2622285 0x2622852 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91199 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:68 # 0xb87bc7 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x787 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x2622851 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:818 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xb8b212 0xb8b1fe 0xb8b13a 0xb8d1aa 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x2622852 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8b211 container/list.(*List).insertValue+0x551 container/list/list.go:104 # 0xb8b1fd container/list.(*List).PushBack+0x53d container/list/list.go:152 # 0xb8b139 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x479 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:249 # 0xb8d1a9 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1a9 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x2622851 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:818 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 1152] @ 0x48dd0c 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x18e5f2f 0x18e5fac 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5f2e github.com/mattermost/squirrel.UpdateBuilder.Set+0xcce github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5fab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2774 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x299af25 0x299be65 0x299ba09 0x6dfb65 0x6dfb3a 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299af24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6dfb64 crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x64 crypto/internal/fips140/tls13/tls13.go:155 # 0x6dfb39 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x39 crypto/tls/key_schedule.go:48 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x428505 0x6b818e 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6b818d crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x6d crypto/tls/handshake_client_tls13.go:811 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x25fd1fa 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x25fd1f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1186 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc58d88 0x25f463e 0x25f0605 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc58d87 github.com/mattermost/mattermost/server/public/model.(*Post).DelProp+0xa7 github.com/mattermost/mattermost/server/public/model/post.go:677 # 0x25f463d github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInPostProps+0x33d github.com/mattermost/mattermost/server/v8/channels/app/post.go:597 # 0x25f0604 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1024 github.com/mattermost/mattermost/server/v8/channels/app/post.go:299 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x428505 0xc5cb25 0xc5cb18 0x25f1485 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5cb24 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc5cb17 github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x17 github.com/mattermost/mattermost/server/public/model/post.go:1124 # 0x25f1484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:407 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 224] @ 0x48dd05 0x428505 0x2576c73 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2576c72 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x8b32 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:666 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19396d1 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19396d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1499 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x258877a 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2588779 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x39 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1505 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x19647c5 0x1877471 0x21563fb 0x219c71d 0x25f88f5 0x25fd33c 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19647c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:410 # 0x1877470 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9393 # 0x21563fa github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:88 # 0x219c71c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7526 # 0x25f88f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xdb4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:908 # 0x25fd33b github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x19b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1222 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212b56a 0x249b3eb 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249b3ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x4a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5ed0 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5ecf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x50f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:154 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x428505 0xc5cb25 0xc5cb18 0x25d2d05 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0xc5cb24 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc5cb17 github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x17 github.com/mattermost/mattermost/server/public/model/post.go:1124 # 0x25d2d04 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:879 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x299be29 0x299ba09 0x6b6085 0x6b6046 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299be28 crypto/internal/fips140/tls13.ExpandLabel[...]+0x368 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6084 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x204 crypto/internal/fips140/tls13/tls13.go:112 # 0x6b6045 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x1c5 crypto/tls/handshake_client_tls13.go:494 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 999424] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x1844428 0x1844e7b 0x1844d18 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f7d09 0x25fd33c 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1844e7a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f7d08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25fd33b github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x19b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1222 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1967eba 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19f7f29 0x19f7ecf 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f7f28 github.com/mattermost/squirrel.SelectBuilder.From+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19f7ece github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1173 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x1954565 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1954564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x1084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54c097 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c096 encoding/json.(*decodeState).literalStore+0x20d6 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a07fef 0x1a07f66 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a07fee github.com/mattermost/squirrel.SelectBuilder.From+0x12e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07f65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1973779 0x19736f6 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1972c32 0x1972ba9 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1972c31 github.com/mattermost/squirrel.SelectBuilder.From+0x3f1 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1972ba8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x368 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1733 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x642b90 0x658e30 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x642b8f crypto/x509/pkix.(*Name).FillFromRDNSequence+0x64f crypto/x509/pkix/pkix.go:173 # 0x658e2f crypto/x509.parseCertificate+0x6ef crypto/x509/parser.go:987 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x5d0365 0x5d448c 0x5d59bb 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x5d0364 crypto/ecdsa.pointFromAffine+0x1c4 crypto/ecdsa/ecdsa.go:615 # 0x5d448b crypto/ecdsa.privateKeyToFIPS[...]+0x4b crypto/ecdsa/ecdsa.go:575 # 0x5d59ba crypto/ecdsa.signFIPS[...]+0xba crypto/ecdsa/ecdsa.go:412 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x195da16 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195da15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x435 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2601dcb 0x2601e46 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2601dca github.com/mattermost/mattermost/server/public/model.NewPostList+0x16a github.com/mattermost/mattermost/server/public/model/post_list.go:32 # 0x2601e45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x1e5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1828 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x78b365 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x78b364 net/http.(*Transport).roundTrip+0x924 net/http/transport.go:675 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 768] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x299d090 0x6b5f85 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299d08f crypto/internal/fips140/tls13.NewEarlySecret[...]+0x4f crypto/internal/fips140/tls13/tls13.go:74 # 0x6b5f84 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x104 crypto/tls/handshake_client_tls13.go:487 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26ae252 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26ae251 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x31 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1375 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2800368 0x28002cc 0x28002bb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2800367 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientLicense+0x327 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:305 # 0x28002cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ClientLicense+0x28b github.com/mattermost/mattermost/server/v8/channels/app/license.go:129 # 0x28002ba github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/license.go:45 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x1a231a8 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x1a231a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:945 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979dfb 0x2979a85 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x2979a84 crypto/internal/fips140/ecdsa.newDRBG[...]+0x564 crypto/internal/fips140/ecdsa/hmacdrbg.go:111 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x78b385 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x25d711c 0x1280e88 0x12cf9f9 0x51716c 0x516019 0xb75014 0x498001 # 0x78b384 net/http.(*Transport).roundTrip+0x944 net/http/transport.go:682 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x25d711b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1473 # 0x1280e87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1308 # 0x12cf9f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:7224 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x78f5ce 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x78f5cd net/http.(*Transport).getConn+0x20d net/http/transport.go:1536 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x492ae9 0x1846885 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x546e9e 0x546a79 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x428505 0xc61d3e 0xc61d32 0xc64512 0x2826808 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d3d github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xdd github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc61d31 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xd1 github.com/mattermost/mattermost/server/public/model/post_list.go:92 # 0xc64511 github.com/mattermost/mattermost/server/public/model.(*PostSearchResults).EncodeJSON+0x31 github.com/mattermost/mattermost/server/public/model/post_search_results.go:33 # 0x2826807 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0xea7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1015 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 28416] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32768] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 24576] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 6144] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 16128] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13824] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x28ca6ad 0x28ca604 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28ca6ac github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x7ac github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x28ca603 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x703 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3698 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19de407 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x54295f 0x223bb10 0x223bac0 0x223d4d3 0x225c134 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223bb0f strings.SplitN+0x48f strings/strings.go:333 # 0x223babf github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x43f github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:312 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x19db3b9 0x1a398c6 0x18e25f6 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x19db3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Close+0x38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:85 # 0x1a398c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.deferClose+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:99 # 0x18e25f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f3a9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3a8 github.com/mattermost/squirrel.Eq.toSQL+0xec8 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x19dc226 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x18411a5 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18411a4 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a22cd4 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a22cd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:930 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f7d09 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f7d08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 18432] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1220385 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1220384 code.sajari.com/docconv/v2.XMLToText+0x144 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:41 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 3072] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1220525 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1220524 code.sajari.com/docconv/v2.XMLToText+0x2e4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:45 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0xba38fe 0xba1efb 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba38fd encoding/xml.(*Decoder).rawToken+0x49d encoding/xml/xml.go:602 # 0xba1efa encoding/xml.(*Decoder).Token+0x9a encoding/xml/xml.go:284 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x191fbfb 0x191fb95 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x191fbfa github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x191fb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x492ae9 0x184a6da 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184a6d9 github.com/mattermost/squirrel.(*updateData).ToSql+0x219 github.com/mattermost/squirrel@v0.5.0/update.go:82 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x196283e 0x19627f1 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196283d github.com/mattermost/squirrel.InsertBuilder.Into+0x1a3d github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19627f0 github.com/mattermost/squirrel.StatementBuilderType.Insert+0x19f0 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x7727ab 0x57d1ea 0x778e0d 0x778baa 0x227e7ef 0x12f0ba2 0x51716c 0x516019 0xb75014 0x498001 # 0x7727aa net/http.(*chunkWriter).Write+0x8a net/http/server.go:385 # 0x57d1e9 bufio.(*Writer).Write+0xe9 bufio/bufio.go:682 # 0x778e0c net/http.(*response).write+0x1cc net/http/server.go:1658 # 0x778ba9 net/http.(*response).Write+0x29 net/http/server.go:1621 # 0x227e7ee github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:99 # 0x12f0ba1 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1953f5a 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1953f59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xa79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:77 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x41d56d 0x5fd63a 0x61dd05 0x61b973 0x604c05 0x6058a5 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x5fd639 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 208] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18cecdb 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18cecda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:983 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x195452f 0x1954468 0x1954351 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x195452e github.com/lann/builder.Append+0x104e github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1954467 github.com/mattermost/squirrel.InsertBuilder.Values+0xf87 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1954350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xe70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 10240] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 176] @ 0x48dd05 0x428505 0x78f5e5 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x25d711c 0x1280e88 0x12cf9f9 0x51716c 0x516019 0xb75014 0x498001 # 0x78f5e4 net/http.(*Transport).getConn+0x224 net/http/transport.go:1531 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x25d711b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1473 # 0x1280e87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1308 # 0x12cf9f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:7224 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28ebc76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28ebc75 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x635 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbedd76 0xbeeb75 0xbee9dc 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbedd75 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x115 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:204 # 0xbeeb74 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xbee9db github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x78aeb6 0x78adea 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x78aeb5 net/http.setupRewindBody+0x475 net/http/transport.go:788 # 0x78ade9 net/http.(*Transport).roundTrip+0x3a9 net/http/transport.go:620 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x56e325 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e324 context.WithCancelCause+0x64 context/context.go:270 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x196fdf5 0x196fda6 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fdf4 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x774 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196fda5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1427 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18d1345 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1180 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x183c73b 0x183c633 0x1953fbe 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183c73a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183c632 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x1953fbd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xadd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:77 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 448] @ 0x48dd05 0x428505 0x259266b 0x25d711c 0x1280e88 0x12cf9f9 0x51716c 0x516019 0xb75014 0x498001 # 0x259266a github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x290a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:207 # 0x25d711b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1473 # 0x1280e87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1308 # 0x12cf9f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:7224 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x13980f3 0x270f109 0x270edf5 0x27d958f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13980f2 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x192 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:40 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x27d958e github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xc8e github.com/mattermost/mattermost/server/v8/channels/api4/file.go:700 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 32] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x183b33d 0x183b938 0x1955aa5 0x187252e 0x2196c94 0x21cc864 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x183b33c github.com/mattermost/squirrel.(*deleteData).ToSql+0x5dc github.com/mattermost/squirrel@v0.5.0/delete.go:105 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x1955aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21cc863 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:247 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x21fde25 0x22063a7 0x2204837 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x21fde24 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x2a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:832 # 0x22063a6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1b46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:604 # 0x2204836 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:791 0: 0 [1: 24] @ 0x48dd05 0x428505 0x195d9c5 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:57 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1a0c495 0x1a0c39c 0x1a0c383 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0c494 github.com/lann/builder.Append+0x614 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0c39b github.com/mattermost/squirrel.UpdateBuilder.Set+0x51b github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0c382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:746 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x195d9a8 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195d9a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x8310e6 0x8310e4 0x8631d0 0x85ecb9 0x85e965 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x8310e5 github.com/francoispqt/gojay.(*Encoder).Write+0x85 github.com/francoispqt/gojay@v1.2.13/encode.go:194 # 0x8310e3 github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x83 github.com/francoispqt/gojay@v1.2.13/encode_object.go:18 # 0x8631cf github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1cf github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x85ecb8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x85e964 github.com/mattermost/logr/v2.(*TargetHost).start+0x104 github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19ca070 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ca06f 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184abb9 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184abb8 github.com/mattermost/squirrel.(*updateData).ToSql+0x6f8 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x270f271 0x28cb5ab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f270 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xf0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:73 # 0x28cb5aa github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3788 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0xc99d65 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a0edbe 0x1a0ed8d 0x1a0ed8b 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0edbd github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x5d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0ed8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0ed8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1043 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x54295f 0xc030b7 0xc03093 0x2606f54 0x2606f34 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0xc030b6 strings.Split+0x56 strings/strings.go:361 # 0xc03092 github.com/mattermost/mattermost/server/public/model.(*Channel).GetBothUsersForDM+0x32 github.com/mattermost/mattermost/server/public/model/channel.go:553 # 0x2606f53 github.com/mattermost/mattermost/server/public/model.(*Channel).GetOtherUserIdForDM+0x293 github.com/mattermost/mattermost/server/public/model/channel.go:535 # 0x2606f33 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x273 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2415 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x19ca95b 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ca95a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 163840] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 253952] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 3244032] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19caafc 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19caafb 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 10880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f4c5 0x2832ee5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f4c4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x344 github.com/mattermost/mattermost/server/v8/channels/web/context.go:79 # 0x2832ee4 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x191fcac 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fcab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x196082c 0x196e1a5 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196082b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:107 # 0x196e1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1324 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x225c146 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c145 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x45 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:26 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x2939a2e 0x293b1f2 0x2973432 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2939a2d crypto/internal/fips140/sha512.(*Digest).Sum+0x16d crypto/internal/fips140/sha512/sha512.go:266 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x2973431 crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1f1 crypto/internal/fips140/ecdsa/hmacdrbg.go:168 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x1844505 0x184ad06 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x197268b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197268a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x14a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1689 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a0d0b6 0x1a0d0a4 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x1846885 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x21f8c6a 0x21f8c41 0x26c43ca 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0x21f8c69 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0xa9 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x21f8c40 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x80 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:57 # 0x26c43c9 github.com/mattermost/mattermost/server/v8/channels/app.(*addFollowersBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:77 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd05 0x428505 0x257daa9 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x257daa8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xf968 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:542 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc5582c 0x2828865 0x2828860 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5582b github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x4b github.com/mattermost/mattermost/server/public/model/post.go:168 # 0x2828864 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x784 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x282885f github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x77f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1208 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x21f9d85 0x21d4da2 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x18e20b6 0x18e2085 0x18e2084 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18e20b5 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xb5 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18e2084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18e2083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2437 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 1280] @ 0x48dd2c 0x4752f7 0x262d5d7 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x262d5d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x536 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:75 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18e5a25 0x18e5af9 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5a24 github.com/mattermost/squirrel.UpdateBuilder.Set+0x7c4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5af8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x898 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2771 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a06a0b 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbee839 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2127b25 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127b24 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x2979e90 0x29796a9 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x29796a8 crypto/internal/fips140/ecdsa.newDRBG[...]+0x188 crypto/internal/fips140/ecdsa/hmacdrbg.go:71 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x4246eb 0xba3bdf 0xba1efb 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba3bde encoding/xml.(*Decoder).rawToken+0x77e encoding/xml/xml.go:563 # 0xba1efa encoding/xml.(*Decoder).Token+0x9a encoding/xml/xml.go:284 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xba4bff 0xba1efb 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba4bfe encoding/xml.(*Decoder).rawToken+0x179e encoding/xml/xml.go:842 # 0xba1efa encoding/xml.(*Decoder).Token+0x9a encoding/xml/xml.go:284 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xba4bff 0xba1efb 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba4bfe encoding/xml.(*Decoder).rawToken+0x179e encoding/xml/xml.go:842 # 0xba1efa encoding/xml.(*Decoder).Token+0x9a encoding/xml/xml.go:284 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x709deb 0x709d9b 0x709eaf 0x70a385 0x114ba72 0x11478e2 0x121be77 0x121b1cd 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x709dea bufio.NewReaderSize+0x24a bufio/bufio.go:57 # 0x709d9a bufio.NewReader+0x1fa bufio/bufio.go:63 # 0x709eae compress/flate.(*decompressor).makeReader+0x30e compress/flate/inflate.go:761 # 0x70a384 compress/flate.NewReader+0x44 compress/flate/inflate.go:811 # 0x114ba71 archive/zip.newFlateReader+0x71 archive/zip/register.go:73 # 0x11478e1 archive/zip.(*File).Open+0x221 archive/zip/reader.go:245 # 0x121be76 code.sajari.com/docconv/v2.getContentTypeDefinition+0x36 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:115 # 0x121b1cc code.sajari.com/docconv/v2.ConvertDocx+0x4ec code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:57 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 4864] @ 0x48dd2c 0x4930f3 0x4cf4c6 0x121ae4f 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x4cf4c5 io.ReadAll+0x265 io/io.go:746 # 0x121ae4e code.sajari.com/docconv/v2.ConvertDocx+0x16e code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:42 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 5376] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e1065 0x19e0f9c 0x19e0dfe 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1064 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e0f9b github.com/mattermost/squirrel.InsertBuilder.Values+0x3fb github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x18e8852 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x18e8851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x991 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2987 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbedd99 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120165 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbedd98 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:210 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x484 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:125 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x7738e5 0x788754 0x7884df 0x4cedee 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9d953 0x28bcf10 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7738e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:698 # 0x788753 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7884de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4ceded io.(*teeReader).Read+0x2d io/io.go:628 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9d952 github.com/mattermost/mattermost/server/public/model.MapFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x28bcf0f github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2621 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x61dbb2 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x61dbb1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:330 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5b3d 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:142 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2739085 0x2739017 0x2738ff9 0x2738b32 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2739084 net/textproto.MIMEHeader.Set+0x104 net/textproto/header.go:22 # 0x2739016 net/http.Header.Set+0x96 net/http/header.go:40 # 0x2738ff8 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x78 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:72 # 0x2738b31 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 10518528] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247850a 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4930f3 0xc9eb88 0xc9eadb 0x25f05a5 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9eb87 strings.(*Builder).WriteString+0x307 strings/builder.go:114 # 0xc9eada github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x25a github.com/mattermost/mattermost/server/public/model/utils.go:766 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3825664] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0x1cd08ca 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x1cd08c9 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:83 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x27d3950 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x27d394f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x38f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:257 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4930f3 0x6bfd11 0x6bfce1 0x6bfbd7 0x5ccbc4 0x5cd01c 0x6bfb78 0x6bfa75 0x5ccbc4 0x5cd01c 0x6bf9b4 0x6bf993 0x5ccbc4 0x5cd01c 0x6b924a 0x6b910f 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bfd10 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x150 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bfce0 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x120 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bfbd6 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1.1+0x16 crypto/tls/handshake_messages.go:113 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bfb77 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x197 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bfa74 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x94 crypto/tls/handshake_messages.go:112 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bf9b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bf992 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b9249 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x209 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b910e crypto/tls.(*clientHelloMsg).marshalMsg+0xce crypto/tls/handshake_messages.go:109 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x7974e7 0x797578 0x7974bd 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x7974e6 net/textproto.MIMEHeader.Set+0x346 net/textproto/header.go:22 # 0x797577 net/http.Header.Set+0x3d7 net/http/header.go:40 # 0x7974bc net/http.(*persistConn).roundTrip+0x31c net/http/transport.go:2858 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x24a8b65 0x24a8b60 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24a8b64 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x3c4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:292 # 0x24a8b5f github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x3bf github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3558 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x18e6165 0x18e60b2 0x18e5fd9 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e6164 github.com/lann/builder.Append+0xf04 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e60b1 github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xe51 github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x18e5fd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2775 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x18e6332 0x18e6321 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x18e6331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x10d1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x18e6320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2784 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184bc6c 0x184bb9b 0x184bc90 0x18e61ae 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184bc6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184bb9a github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x184bc8f github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x18e61ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x80a34a 0x80b5eb 0x19df0ce 0x19dea8e 0x19a2f70 0x19a2b08 0x199e9ee 0x187d032 0x21a30eb 0x2120972 0x263960a 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x80a349 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x80b5ea database/sql.(*Tx).ExecContext+0x4a database/sql/sql.go:2512 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19a2f6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.updatePostForReactionsOnInsert+0xcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:411 # 0x19a2b07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).saveReactionAndUpdatePost+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:375 # 0x199e9ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x1ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:53 # 0x187d031 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10989 # 0x21a30ea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8742 # 0x2120971 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 # 0x2639609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x569 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:78 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x12e3652 0x4a3dbf 0x4a3e57 0x12e352e 0x12e3501 0x12e9865 0x498001 # 0x12e3651 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf1 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e352d sync.(*Map).Range+0x4d sync/map.go:114 # 0x12e3500 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x12e9864 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x124 github.com/mattermost/mattermost/server/public/plugin/health_check.go:40 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x18cee70 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cee6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x20f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:982 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x428505 0x633c37 0x62e475 0x627607 0x62717b 0x61c3d8 0x62f787 0x62dfdf 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x633c36 net.ipToSockaddr+0x1f6 net/ipsock_posix.go:222 # 0x62e474 net.(*UDPAddr).sockaddr+0x34 net/udpsock_posix.go:39 # 0x627606 net.(*netFD).dial+0x386 net/sock_posix.go:121 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x62dfde net.dialUDP+0x29e net/udpsock.go:304 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 144] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7c1cf8 0x9026b7 0x902626 0x262e745 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7c1cf7 regexp.(*Regexp).FindStringSubmatch+0xb7 regexp/regexp.go:1024 # 0x9026b6 github.com/Masterminds/semver/v3.coerceNewVersion+0x36 github.com/Masterminds/semver/v3@v3.5.0/version.go:253 # 0x902625 github.com/Masterminds/semver/v3.NewVersion+0x3e5 github.com/Masterminds/semver/v3@v3.5.0/version.go:181 # 0x262e744 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:79 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a297fa 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc403f9 0xc40394 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc403f8 path/filepath.Join+0x118 path/filepath/path.go:131 # 0xc40393 github.com/mattermost/mattermost/server/public/model.FindManifest+0xb3 github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24576] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x54c91a 0x54c900 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c919 encoding/json.unquote+0xb9 encoding/json/decode.go:1189 # 0x54c8ff encoding/json.(*decodeState).literalInterface+0x9f encoding/json/decode.go:1144 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54c097 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c096 encoding/json.(*decodeState).literalStore+0x20d6 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x18e6332 0x18e6321 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x18e6331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x10d1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x18e6320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2784 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2793472] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1a0ae70 0x1a0ad75 0x1a0ad63 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1a0ae6f github.com/lann/builder.Append+0x4ef github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0ad74 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3f4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0ad62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x3e2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:691 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x21f2798 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x21f2797 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x597 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80b825 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a02eed 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb9056e 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb9056d github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x24d github.com/mattermost/mattermost/server/public/shared/markdown/list.go:203 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19dbd10 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f2bf3 0x21f9d85 0x21d4da2 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x25efbc2 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x25efbc1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x5e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:235 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1944bb8 0x1944ab2 0x1944a96 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1944bb7 github.com/lann/builder.Append+0x5b7 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1944ab1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4b1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:156 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1c1517c 0x26ff7bb 0x4a2651 0x26ff90a 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c1517b github.com/klauspost/compress/gzip.NewWriterLevel+0xbb github.com/klauspost/compress@v1.18.6/gzip/gzip.go:72 # 0x26ff7ba github.com/klauspost/compress/gzhttp/writer/gzkp.init.0.addLevelPool.func1+0x1a github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:41 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x26ff909 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:61 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1998125 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998124 github.com/mattermost/squirrel.SelectBuilder.From+0x124 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x63c347 0x63c390 0x63bf11 0x63b8e9 0x1267c4a 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x63c346 net/url.UserPassword+0x2c6 net/url/url.go:323 # 0x63c38f net/url.parseAuthority+0x30f net/url/url.go:541 # 0x63bf10 net/url.parse+0x3d0 net/url/url.go:491 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1267c49 github.com/lib/pq.convertURL+0x29 github.com/lib/pq@v1.12.3/connector.go:1116 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x428505 0x70a391 0x97de4f 0x97d576 0x1cb7245 0x1cb7234 0x1cb6dae 0x1cb0255 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x70a390 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1cb7244 compress/zlib.NewReader+0xa4 compress/zlib/reader.go:75 # 0x1cb7233 github.com/ledongthuc/pdf.applyFilter+0x93 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:848 # 0x1cb6dad github.com/ledongthuc/pdf.Value.Reader+0x42d github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:833 # 0x1cb0254 github.com/ledongthuc/pdf.Interpret+0x4b4 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:70 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 9728] @ 0x48dd0c 0x493087 0x1ca9d3d 0x1cb10ad 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1ca9d3c github.com/ledongthuc/pdf.readCmap.func1+0x133c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:432 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 64] @ 0x48dd05 0x492ae9 0x1caa58f 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1caa58e github.com/ledongthuc/pdf.Page.GetPlainText.func4+0xae github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:559 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [3: 6912] @ 0x48dd0c 0x493087 0x1cb0e72 0x1cb0e9d 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cb0e71 github.com/ledongthuc/pdf.(*Stack).Push+0x10d1 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:22 # 0x1cb0e9c github.com/ledongthuc/pdf.Interpret+0x10fc github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:139 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x97db0b 0x97dab6 0x97dbd5 0x97d576 0x1cb7245 0x1cb7234 0x1cb6dae 0x1cb0255 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x97db0a bufio.NewReaderSize+0x18a bufio/bufio.go:57 # 0x97dab5 bufio.NewReader+0x135 bufio/bufio.go:63 # 0x97dbd4 compress/zlib.(*reader).Reset+0x254 compress/zlib/reader.go:138 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1cb7244 compress/zlib.NewReader+0xa4 compress/zlib/reader.go:75 # 0x1cb7233 github.com/ledongthuc/pdf.applyFilter+0x93 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:848 # 0x1cb6dad github.com/ledongthuc/pdf.Value.Reader+0x42d github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:833 # 0x1cb0254 github.com/ledongthuc/pdf.Interpret+0x4b4 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:70 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 1152] @ 0x48dd0c 0x493087 0x1ca9d3d 0x1cb10ad 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1ca9d3c github.com/ledongthuc/pdf.readCmap.func1+0x133c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:432 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x1cb5e67 0x1cb5d8e 0x1cb591f 0x1ca7239 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cb5e66 github.com/ledongthuc/pdf.newBuffer+0x206 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/lex.go:62 # 0x1cb5d8d github.com/ledongthuc/pdf.(*Reader).resolve+0x12d github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:773 # 0x1cb591e github.com/ledongthuc/pdf.Value.Key+0x7e github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:686 # 0x1ca7238 github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x38 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:232 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [3: 14592] @ 0x48dd0c 0x493087 0x1cb0e72 0x1cb0e9d 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cb0e71 github.com/ledongthuc/pdf.(*Stack).Push+0x10d1 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:22 # 0x1cb0e9c github.com/ledongthuc/pdf.Interpret+0x10fc github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:139 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x1ca40b4 0x1ca3365 0x1cb036f 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1ca40b3 github.com/ledongthuc/pdf.(*buffer).readKeyword+0x173 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/lex.go:325 # 0x1ca3364 github.com/ledongthuc/pdf.(*buffer).readToken+0x244 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/lex.go:187 # 0x1cb036e github.com/ledongthuc/pdf.Interpret+0x5ce github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:79 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1ca5076 0x1ca4588 0x1cb0e2d 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1ca5075 github.com/ledongthuc/pdf.(*buffer).readDict+0x115 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/lex.go:509 # 0x1ca4587 github.com/ledongthuc/pdf.(*buffer).readObject+0x167 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/lex.go:432 # 0x1cb0e2c github.com/ledongthuc/pdf.Interpret+0x108c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:138 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [6: 29184] @ 0x48dd0c 0x428505 0x70a371 0x97de4f 0x97d576 0x1cb7245 0x1cb7234 0x1cb6dae 0x1cb0255 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x70a370 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1cb7244 compress/zlib.NewReader+0xa4 compress/zlib/reader.go:75 # 0x1cb7233 github.com/ledongthuc/pdf.applyFilter+0x93 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:848 # 0x1cb6dad github.com/ledongthuc/pdf.Value.Reader+0x42d github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:833 # 0x1cb0254 github.com/ledongthuc/pdf.Interpret+0x4b4 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:70 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 4608] @ 0x48dd0c 0x493087 0x1ca9d3d 0x1cb10ad 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1ca9d3c github.com/ledongthuc/pdf.readCmap.func1+0x133c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:432 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [8: 77824] @ 0x48dd0c 0x493087 0x1cb0e72 0x1cb0e9d 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cb0e71 github.com/ledongthuc/pdf.(*Stack).Push+0x10d1 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:22 # 0x1cb0e9c github.com/ledongthuc/pdf.Interpret+0x10fc github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:139 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [30: 983040] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x97de4f 0x97d576 0x1cb7245 0x1cb7234 0x1cb6dae 0x1cb0255 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1cb7244 compress/zlib.NewReader+0xa4 compress/zlib/reader.go:75 # 0x1cb7233 github.com/ledongthuc/pdf.applyFilter+0x93 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:848 # 0x1cb6dad github.com/ledongthuc/pdf.Value.Reader+0x42d github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:833 # 0x1cb0254 github.com/ledongthuc/pdf.Interpret+0x4b4 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:70 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1cb0297 0x1cb0261 0x1ca89a8 0x1ca730c 0x1ca718e 0x1caa8b8 0x1caa84c 0x1cb10ad 0x1caa233 0x1ca5ab0 0x1cbf3a9 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cb0296 github.com/ledongthuc/pdf.newBuffer+0x4f6 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/lex.go:62 # 0x1cb0260 github.com/ledongthuc/pdf.Interpret+0x4c0 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:72 # 0x1ca89a7 github.com/ledongthuc/pdf.readCmap+0xa7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:389 # 0x1ca730b github.com/ledongthuc/pdf.(*Font).charmapEncoding+0x10b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:234 # 0x1ca718d github.com/ledongthuc/pdf.Font.getEncoder+0x3cd github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:222 # 0x1caa8b7 github.com/ledongthuc/pdf.Font.Encoder+0x3d7 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:197 # 0x1caa84b github.com/ledongthuc/pdf.Page.GetPlainText.func4+0x36b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:578 # 0x1cb10ac github.com/ledongthuc/pdf.Interpret+0x130c github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/ps.go:94 # 0x1caa232 github.com/ledongthuc/pdf.Page.GetPlainText+0x3d2 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:557 # 0x1ca5aaf github.com/ledongthuc/pdf.(*Reader).GetPlainText+0x2cf github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/page.go:76 # 0x1cbf3a8 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x388 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:65 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x1cb455c 0x1cb3bdc 0x1cb20f7 0x1cb1952 0x1cbf388 0x1cbf372 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cb455b github.com/ledongthuc/pdf.readXrefTableData+0x2db github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:435 # 0x1cb3bdb github.com/ledongthuc/pdf.readXrefTable+0x3b github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:371 # 0x1cb20f6 github.com/ledongthuc/pdf.readXref+0x196 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:217 # 0x1cb1951 github.com/ledongthuc/pdf.NewReaderEncrypted+0x771 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:180 # 0x1cbf387 github.com/ledongthuc/pdf.NewReader+0x367 github.com/ledongthuc/pdf@v0.0.0-20250511090121-5959a4027728/read.go:126 # 0x1cbf371 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x351 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:59 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x55bbe6 0x55bbe7 0x550d14 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x55bbe5 reflect.Value.Interface+0x25 reflect/value.go:1490 # 0x55bbe6 encoding/json.typeFields.func3+0x26 encoding/json/encode.go:1210 # 0x550d13 encoding/json.structEncoder.encode+0x2f3 encoding/json/encode.go:736 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x21192ea 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x21192e9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x209 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:67 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28a7ce6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28a7ce5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:831 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x275e535 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x275e534 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xa14 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:651 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x470c9f 0x4af985 0x4b2fcc 0x4b2fd4 0x4e8fbf 0x4e8fab 0x4e8faa 0x4e8f9d 0x17d9ea5 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2fcb syscall.BytePtrFromString+0x2b syscall/syscall.go:68 # 0x4b2fd3 syscall.unlinkat+0x33 syscall/zsyscall_linux_amd64.go:162 # 0x4e8fbe syscall.Unlink+0x3e syscall/syscall_linux.go:329 # 0x4e8faa os.Remove.func1+0x2a os/file_unix.go:363 # 0x4e8fa9 os.ignoringEINTR+0x29 os/file_posix.go:256 # 0x4e8f9c os.Remove+0x1c os/file_unix.go:362 # 0x17d9ea4 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x164 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a294b1 0x1a294e6 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1a294b0 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3b0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a294e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x3e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x258bc5e 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x258bc5d github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xc5d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:81 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd2c 0x428505 0x69ab05 0x6b6fa5 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x69ab04 crypto/tls.supportedSignatureAlgorithms+0x24 crypto/tls/common.go:1753 # 0x6b6fa4 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x2e4 crypto/tls/handshake_client_tls13.go:656 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0xc9f798 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9f797 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a22b95 0x1a22b4a 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a22b94 github.com/mattermost/squirrel.SelectBuilder.Join+0xf4 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a22b49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:925 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x18461d4 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a25e39 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x198d25b 0x1879d84 0x219f744 0x263172a 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x198d25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x2fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:51 # 0x1879d83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10149 # 0x219f743 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8102 # 0x2631729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x9c9 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x493087 0x184a88c 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184a88b github.com/mattermost/squirrel.(*updateData).ToSql+0x3cb github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414e11 0x414d70 0x417d91 0x20cdd2b 0x20cdc0d 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdd2a runtime/pprof.(*profileBuilder).stringIndex+0xf4a runtime/pprof/proto.go:138 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd0c 0x493087 0x20cdc8c 0x20cdc0d 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdc8b runtime/pprof.(*profileBuilder).stringIndex+0xeab runtime/pprof/proto.go:137 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x7031a9 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc43b 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7031a8 compress/flate.(*compressor).init+0x328 compress/flate/deflate.go:585 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc43a runtime/pprof.(*profileBuilder).appendLocsForStack+0x3da runtime/pprof/proto.go:456 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x28a7866 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28a7865 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x475974 0x475486 0x2265458 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2265457 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0xb7 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:50 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x476dde 0x476ddf 0x20d1598 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d1597 runtime/pprof.writeHeapProto+0x717 runtime/pprof/protomem.go:39 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 54528] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414e11 0x414d70 0x417d91 0x20cdd2b 0x20cdc0d 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdd2a runtime/pprof.(*profileBuilder).stringIndex+0xf4a runtime/pprof/proto.go:138 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x20cd7d0 0x20cc59a 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd7cf runtime/pprof.(*profileBuilder).emitLocation+0x9ef runtime/pprof/proto.go:625 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc43b 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc43a runtime/pprof.(*profileBuilder).appendLocsForStack+0x3da runtime/pprof/proto.go:456 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x702ec6 0x70310e 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc43b 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x702ec5 compress/flate.newHuffmanBitWriter+0x45 compress/flate/huffman_bit_writer.go:97 # 0x70310d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:572 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc43a runtime/pprof.(*profileBuilder).appendLocsForStack+0x3da runtime/pprof/proto.go:456 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 663552] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20c8688 0x20ce348 0x20cc43b 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc43a runtime/pprof.(*profileBuilder).appendLocsForStack+0x3da runtime/pprof/proto.go:456 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x53e2d0 0x5304f7 0x20c4f65 0x20c4e44 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x53e2cf strings.(*Builder).Write+0x8f strings/builder.go:89 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c4f64 runtime/pprof.printCountProfile.func1+0x2a4 runtime/pprof/pprof.go:498 # 0x20c4e43 runtime/pprof.printCountProfile+0x183 runtime/pprof/pprof.go:511 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1982464] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227f549 0x27019b2 0x2700c90 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2700c8f github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5ef github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:211 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x259b2cb 0x259b03f 0x22a2474 0x20db11a 0x20dad8e 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x259b2ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifyAdminPosts+0xaa github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:91 # 0x259b03e github.com/mattermost/mattermost/server/v8/channels/app.(*App).DoCheckForAdminNotifications+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:59 # 0x22a2473 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x428505 0x1a2938b 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1a2938a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x8078a5 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x8078a4 database/sql.(*DB).execDC+0x4c4 database/sql/sql.go:1719 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x62b225 0x62774e 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x62b224 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x62774d net.(*netFD).dial+0x4cd net/sock_posix.go:141 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd2c 0x470c9f 0x2941acf 0x2941a6a 0x2943f0f 0x696c11 0x69ce44 0x6a17ed 0x6a099a 0x6a45c7 0x6a43a9 0x7549fa 0x759b26 0x757e35 0x756208 0x498001 # 0x2941ace crypto/internal/fips140/aes/gcm.sliceForAppend+0xce crypto/internal/fips140/aes/gcm/gcm.go:138 # 0x2941a69 crypto/internal/fips140/aes/gcm.(*GCM).sealAfterIndicator+0x69 crypto/internal/fips140/aes/gcm/gcm.go:79 # 0x2943f0e crypto/internal/fips140/aes/gcm.(*GCMWithXORCounterNonce).Seal+0x16e crypto/internal/fips140/aes/gcm/gcm_nonces.go:281 # 0x696c10 crypto/tls.(*xorNonceAEAD).Seal+0xd0 crypto/tls/cipher_suites.go:497 # 0x69ce43 crypto/tls.(*halfConn).encrypt+0x743 crypto/tls/conn.go:529 # 0x6a17ec crypto/tls.(*Conn).writeRecordLocked+0x62c crypto/tls/conn.go:1031 # 0x6a0999 crypto/tls.(*Conn).sendAlertLocked+0xb9 crypto/tls/conn.go:855 # 0x6a45c6 crypto/tls.(*Conn).closeNotify+0xc6 crypto/tls/conn.go:1478 # 0x6a43a8 crypto/tls.(*Conn).Close+0x68 crypto/tls/conn.go:1447 # 0x7549f9 net/http.(*http2ClientConn).closeConn+0x99 net/http/h2_bundle.go:8428 # 0x759b25 net/http.(*http2ClientConn).forgetStreamID+0x305 net/http/h2_bundle.go:9407 # 0x757e34 net/http.(*http2clientStream).cleanupWriteRequest+0x534 net/http/h2_bundle.go:9025 # 0x756207 net/http.(*http2clientStream).doRequest+0x27 net/http/h2_bundle.go:8719 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x20df233 0x20def8e 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x20df232 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer)._createJob+0x52 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:65 # 0x20def8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:38 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e42dc 0x185d747 0x217ee6d 0x2114266 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e42db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2642 # 0x185d746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2688 # 0x217ee6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2259 # 0x2114265 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbf68c6 0xbef63f 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133d05 0x26259e2 0x26233d2 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133d04 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x26259e1 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1152 # 0x26233d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2d1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:918 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a26725 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a26724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1212 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a284ef 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a284ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1365 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x125af57 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125af56 github.com/lib/pq.(*conn).processParameterStatus+0x356 github.com/lib/pq@v1.12.3/conn.go:1562 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 1152] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a2bfc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a2bfb github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x805e25 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x805e24 database/sql.(*DB).addDepLocked+0xb64 database/sql/sql.go:759 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7ab985 0x7ab900 0x7af13a 0x7bd4f0 0x7bd4eb 0x7be04c 0x7be040 0x1164e3e 0x116664e 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7ab984 regexp/syntax.(*parser).newRegexp+0xa4 regexp/syntax/parse.go:147 # 0x7ab8ff regexp/syntax.(*parser).literal+0x1f regexp/syntax/parse.go:369 # 0x7af139 regexp/syntax.parse+0xbd9 regexp/syntax/parse.go:931 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1164e3d github.com/JalfResi/justext.paragraphObjectModel+0x7d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/paragraphObjectModel.go:70 # 0x116664d github.com/JalfResi/justext.(*Reader).ReadAll+0x8d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:56 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x428505 0x1224865 0x12247fa 0x113b4d6 0x1225155 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x1224864 net/smtp.PlainAuth+0x204 net/smtp/auth.go:54 # 0x12247f9 github.com/mattermost/mattermost/server/v8/platform/shared/mail.(*authChooser).Start+0x199 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:85 # 0x113b4d5 net/smtp.(*Client).Auth+0xd5 net/smtp/smtp.go:202 # 0x1225154 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x354 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:199 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x493087 0x642625 0x658e30 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658e2f crypto/x509.parseCertificate+0x6ef crypto/x509/parser.go:987 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04ee5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04ee4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:319 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x543e45 0x183f327 0x183f2e1 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x543e44 strings.Repeat+0x2e4 strings/strings.go:677 # 0x183f326 github.com/mattermost/squirrel.Placeholders+0xe46 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x183f2e0 github.com/mattermost/squirrel.Eq.toSQL+0xe00 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x7556fd 0x751c2d 0x751c19 0x751817 0x78b4eb 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x7556fc net/http.(*http2ClientConn).roundTrip+0x11c net/http/h2_bundle.go:8616 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x751816 net/http.(*http2Transport).RoundTrip+0x16 net/http/h2_bundle.go:7852 # 0x78b4ea net/http.(*Transport).roundTrip+0xaaa net/http/transport.go:702 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x20c67a7 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c67a6 runtime/pprof.writeHeapInternal+0x5a6 runtime/pprof/pprof.go:709 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 50454528] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6912] @ 0x48dd2c 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20c7c25 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20cba07 0x20c7c25 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20cba06 runtime/pprof.(*profileBuilder).build+0x366 runtime/pprof/proto.go:376 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [2: 278528] @ 0x48dd33 0x428505 0x703228 0x703252 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20cba07 0x20c7c25 0x498001 # 0x703227 compress/flate.newDeflateFast+0x3a7 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20cba06 runtime/pprof.(*profileBuilder).build+0x366 runtime/pprof/proto.go:376 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [2: 1327104] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20cba07 0x20c7c25 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20cba06 runtime/pprof.(*profileBuilder).build+0x366 runtime/pprof/proto.go:376 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 8429568] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6733824] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32284672] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4300800] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 20652032] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3432448] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 50454528] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2736128] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2179072] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4317184] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0xaf9a28 0xaf9e16 0xafa21d 0xafa7bb 0xafb414 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf9a27 text/tabwriter.(*Writer).write0+0x67 text/tabwriter/tabwriter.go:257 # 0xaf9e15 text/tabwriter.(*Writer).writeLines+0x1b5 text/tabwriter/tabwriter.go:319 # 0xafa21c text/tabwriter.(*Writer).format+0x1fc text/tabwriter/tabwriter.go:406 # 0xafa7ba text/tabwriter.(*Writer).flushNoDefers+0x11a text/tabwriter/tabwriter.go:514 # 0xafb413 text/tabwriter.(*Writer).Write+0xc13 text/tabwriter/tabwriter.go:547 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 425984] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 262144] @ 0x48dd33 0x492ae9 0x4685b9 0x4812f3 0x47a8b4 0x5849fc 0x58492c 0x5845c5 0x20f80a5 0x20f8069 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x5849fb runtime/trace.(*traceMultiplexer).startLocked+0x1b runtime/trace/subscribe.go:142 # 0x58492b runtime/trace.(*traceMultiplexer).addedSubscriber+0x2b runtime/trace/subscribe.go:112 # 0x5845c4 runtime/trace.(*traceMultiplexer).subscribeTraceStartWriter+0x1c4 runtime/trace/subscribe.go:80 # 0x20f80a4 runtime/trace.Start+0x2c4 runtime/trace/trace.go:119 # 0x20f8068 net/http/pprof.Trace+0x288 net/http/pprof/pprof.go:184 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 204800] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 155648] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704512] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 442368] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c67ef 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c67ee runtime/pprof.writeHeapInternal+0x5ee runtime/pprof/pprof.go:707 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 278528] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0xaf9a28 0xaf9e16 0xafa21d 0xafa7bb 0xafb414 0x5304f7 0x20c606e 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf9a27 text/tabwriter.(*Writer).write0+0x67 text/tabwriter/tabwriter.go:257 # 0xaf9e15 text/tabwriter.(*Writer).writeLines+0x1b5 text/tabwriter/tabwriter.go:319 # 0xafa21c text/tabwriter.(*Writer).format+0x1fc text/tabwriter/tabwriter.go:406 # 0xafa7ba text/tabwriter.(*Writer).flushNoDefers+0x11a text/tabwriter/tabwriter.go:514 # 0xafb413 text/tabwriter.(*Writer).Write+0xc13 text/tabwriter/tabwriter.go:547 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c606d runtime/pprof.printStackRecord+0x42d runtime/pprof/pprof.go:603 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0xaf9a28 0xaf9e16 0xafa21d 0xafa7bb 0xafb414 0x5304f7 0x20c667d 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf9a27 text/tabwriter.(*Writer).write0+0x67 text/tabwriter/tabwriter.go:257 # 0xaf9e15 text/tabwriter.(*Writer).writeLines+0x1b5 text/tabwriter/tabwriter.go:319 # 0xafa21c text/tabwriter.(*Writer).format+0x1fc text/tabwriter/tabwriter.go:406 # 0xafa7ba text/tabwriter.(*Writer).flushNoDefers+0x11a text/tabwriter/tabwriter.go:514 # 0xafb413 text/tabwriter.(*Writer).Write+0xc13 text/tabwriter/tabwriter.go:547 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16515072] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 335872] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 278528] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 417792] @ 0x48dd33 0x428505 0x703228 0x703252 0x70e52d 0x70e4ee 0x20cbc0e 0x20c7c25 0x498001 # 0x703227 compress/flate.newDeflateFast+0x3a7 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x20ccf67 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20ccf66 runtime/pprof.(*profileBuilder).emitLocation+0x186 runtime/pprof/proto.go:611 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414e11 0x414d70 0x417d91 0x20ce0dc 0x20cdfb5 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20ce0db runtime/pprof.(*profileBuilder).stringIndex+0x12fb runtime/pprof/proto.go:138 # 0x20cdfb4 runtime/pprof.(*profileBuilder).emitLocation+0x11d4 runtime/pprof/proto.go:653 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417009 0x20cd110 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 524288] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1966080] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0x5304f7 0x70025a 0x1223f91 0x1223f81 0x1222f5f 0x12227c5 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x700259 mime/multipart.(*Writer).CreatePart+0x139 mime/multipart/writer.go:108 # 0x1223f90 gopkg.in/mail%2ev2.(*messageWriter).createPart+0x70 gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x1223f80 gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x60 gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x1222f5e gopkg.in/mail%2ev2.(*messageWriter).writePart+0x21e gopkg.in/mail.v2@v2.3.1/writeto.go:111 # 0x12227c4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x204 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x7bef58 0x138fd45 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x7bef57 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:580 # 0x138fd44 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x84 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:64 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x12477c4 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x12477c3 github.com/lib/pq/scram.(*Client).clientProof+0xc3 github.com/lib/pq@v1.12.3/scram/scram.go:235 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1b8e465 0x1b8e527 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:151 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a01436 0x1a01407 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a01435 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a01406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:154 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846025 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1b8e3a5 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0xc9eb88 0xc9eadb 0x25f05a5 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9eb87 strings.(*Builder).WriteString+0x307 strings/builder.go:114 # 0xc9eada github.com/mattermost/mattermost/server/public/model.ParseHashtags+0x25a github.com/mattermost/mattermost/server/public/model/utils.go:766 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x139e247 0x139e118 0x139f6b0 0x13a04c5 0x19dbf4f 0x19dbf28 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139e246 github.com/jmoiron/sqlx.compileNamedQuery+0x86 github.com/jmoiron/sqlx@v1.4.0/named.go:333 # 0x139e117 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x139f6af github.com/jmoiron/sqlx.bindNamedMapper+0x1af github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0423c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0423b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:261 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x12a0a77 0x12a0a5f 0x12eda54 0x2593452 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x258fe2a 0x258fcd9 0x2594f9c 0x498001 # 0x12a0a76 net/rpc.(*Client).Call+0xd6 net/rpc/client.go:321 # 0x12a0a5e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1510 # 0x12eda53 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:274 # 0x2593451 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x258fe29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xc9 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x605fc5 0x605f98 0x60575b 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19227ca 0x186815b 0x218b3f7 0x2118fc8 0x258127d 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19227c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:369 # 0x186815a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5499 # 0x218b3f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4505 # 0x2118fc7 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 # 0x258127c 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: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1957888] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc97b89 0xc97b8a 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc97b88 github.com/tinylib/msgp/msgp.ReadStringBytes+0xb08 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97b89 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb09 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x1a038ff 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a038fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x4de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:207 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2479dc8 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479dc7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:342 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x5cb485 0x652deb 0x658b48 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x652dea crypto/x509.parseAI+0x8a crypto/x509/parser.go:185 # 0x658b47 crypto/x509.parseCertificate+0x407 crypto/x509/parser.go:952 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x184bf68 0x19447cf 0x19447a0 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184bf67 github.com/mattermost/squirrel.UpdateBuilder.Table+0x147 github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x19447ce github.com/mattermost/squirrel.StatementBuilderType.Update+0x1ce github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x194479f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x19f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:153 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x270f345 0x28bd499 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x28bd498 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x78 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2663 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x28002b2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28002b1 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x271 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x184a88c 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184a88b github.com/mattermost/squirrel.(*updateData).ToSql+0x3cb github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x197baee 0x197ba90 0x197ba8e 0x1872d92 0x219762b 0x21207bb 0x263102e 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x197baed github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x8d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x197ba8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x197ba8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCount+0x2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2443 # 0x1872d91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8319 # 0x219762a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6664 # 0x21207ba github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.AnalyticsPostCount+0x15a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:161 # 0x263102d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:327 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 1280] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x64c3f4 0x6b2a75 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64c3f3 crypto/x509.(*CertPool).AddCert+0x93 crypto/x509/cert_pool.go:184 # 0x6b2a74 crypto/tls.(*Conn).verifyServerCertificate+0xa74 crypto/tls/handshake_client.go:1156 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x1960b47 0x1a046ba 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1960b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:140 # 0x1a046b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x1942e76 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1942e75 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x215 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125c74e 0x1253585 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c74d github.com/lib/pq.parsePortalRowDescribe+0xcd github.com/lib/pq@v1.12.3/conn.go:1792 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd05 0x493087 0x61ab68 0x61bb45 0x604c05 0x6058a5 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x61ab67 net.filterAddrList+0x207 net/ipsock.go:137 # 0x61bb44 net.(*Resolver).internetAddrList+0x684 net/ipsock.go:308 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 256] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0xc80696 0x21faa25 0x21f9a0f 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc80695 github.com/mattermost/mattermost/server/public/model.(*Session).DeepCopy+0x215 github.com/mattermost/mattermost/server/public/model/session.go:106 # 0x21faa24 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 # 0x21f9a0e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x8ce github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:264 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x5fd63a 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5fd639 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e392 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a291ec 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a291eb github.com/mattermost/squirrel.StatementBuilderType.Select+0xeb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x194796f 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x194796e 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x48dd05 0x428505 0x575dc5 0x122003f 0x121c566 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x575dc4 os/exec.Command+0x104 os/exec/exec.go:405 # 0x122003e code.sajari.com/docconv/v2.Tidy+0x29e code.sajari.com/docconv/v2@v2.0.0-pre.4/tidy.go:24 # 0x121c565 code.sajari.com/docconv/v2.ConvertHTML+0x65 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:25 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x597973 0x5dfd9b 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x597972 math/big.(*Int).Bytes+0x32 math/big/int.go:531 # 0x5dfd9a crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19448f5 0x19447ff 0x19447ed 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19448f4 github.com/lann/builder.Append+0x2f4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19447fe github.com/mattermost/squirrel.UpdateBuilder.Set+0x1fe github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19447ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:154 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f3a9 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3a8 github.com/mattermost/squirrel.Eq.toSQL+0xec8 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e392 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a06a0b 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a02eed 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8e765 0xb8e736 0xb8e41e 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e764 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock-range2+0x5c4 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:68 # 0xb8e735 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock.Backward[...].func2+0x595 slices/iter.go:29 # 0xb8e41d github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x27d github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:67 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x77bf85 0x77c06e 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x77bf84 net/http.Error+0x1e4 net/http/server.go:2318 # 0x77c06d net/http.NotFound+0x2d net/http/server.go:2322 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a29246 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1a29245 github.com/mattermost/squirrel.SelectBuilder.From+0x145 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a07305 0x1a072af 0x1309f10 0x498001 # 0x1a07304 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2e4 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a072ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x75311d 0x752c59 0x735808 0x498001 # 0x75311c net/http.(*http2Transport).newClientConn+0x47c net/http/h2_bundle.go:8119 # 0x752c58 net/http.(*http2Transport).NewClientConn+0x38 net/http/h2_bundle.go:8079 # 0x735807 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:919 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x259b2cb 0x259b03f 0x22a2474 0x20db11a 0x20dad8e 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x259b2ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifyAdminPosts+0xaa github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:91 # 0x259b03e github.com/mattermost/mattermost/server/v8/channels/app.(*App).DoCheckForAdminNotifications+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:59 # 0x22a2473 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x18461d4 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2477ce7 0x2477ce8 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477ce6 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x106 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x2477ce7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0xb73346 0x1287519 0x12874a9 0x12ebcf2 0x25e903c 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25e903b github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x91b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x24ada05 0x2766ce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2766ce4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x584 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1395 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x199f092 0x199f038 0x199f036 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199f091 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x91 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x199f037 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x199f035 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196e688 0x196e5e0 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196e687 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x527 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196e5df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x47f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a02eed 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5bcd 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5bcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:144 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 12288] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a03ee6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03ee5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x18e59d5 0x18e5af9 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e59d4 github.com/mattermost/squirrel.Expr+0x774 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x18e5af8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x898 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2771 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x805e25 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x805e24 database/sql.(*DB).addDepLocked+0xb64 database/sql/sql.go:759 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x5fd785 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5fd784 internal/singleflight.(*Group).DoChan+0x184 internal/singleflight/singleflight.go:81 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbe4fee 0xbe47ea 0xbe6ebd 0xbe6d4a 0xbe6d7b 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbe4fed github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x2ad github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:452 # 0xbe47e9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xbe6ebc github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xdc github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:171 # 0xbe6d49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xbe6d7a github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x9a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x197268b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197268a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x14a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1689 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 319488] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 7749632] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 327680] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 7872512] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x542c16 0x2477d25 0x2477c8c 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477d24 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x144 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477c8b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3456] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a25e54 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18cea67 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cea66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x1e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:964 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xb8933b 0xb88411 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8933a github.com/mattermost/mattermost/server/public/shared/markdown.fencedCodeStart+0x23a github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:105 # 0xb88410 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0x170 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:139 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc5bb2e 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x492ae9 0x54cc65 0x54c908 0x54c900 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54c907 encoding/json.unquote+0xa7 encoding/json/decode.go:1188 # 0x54c8ff encoding/json.(*decodeState).literalInterface+0x9f encoding/json/decode.go:1144 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x493087 0x7aa99b 0x7aa9e0 0x7aa025 0x7a9d2d 0x7a98e6 0x7a9e0f 0x7a8acb 0x7bd537 0x7be04c 0x7be040 0xc34958 0xc34d5e 0x2730c5e 0x27303b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7aa024 regexp/syntax.(*compiler).compile+0x13c4 regexp/syntax/compile.go:101 # 0x7a9d2c regexp/syntax.(*compiler).compile+0x10cc regexp/syntax/compile.go:154 # 0x7a98e5 regexp/syntax.(*compiler).compile+0xc85 regexp/syntax/compile.go:129 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xc34957 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:164 # 0xc34d5d github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbd github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:200 # 0x2730c5d github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xc5d github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x27303b3 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3b3 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1945932 0x1945830 0x194581e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1945931 github.com/lann/builder.Append+0x6f1 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194582f github.com/mattermost/squirrel.UpdateBuilder.Set+0x5ef github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x194581d 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc57f47 0xc57f2c 0x1961235 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc57f46 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0xd86 github.com/mattermost/mattermost/server/public/model/utils.go:586 # 0xc57f2b github.com/mattermost/mattermost/server/public/model.(*Post).IsValid+0xd6b github.com/mattermost/mattermost/server/public/model/post.go:565 # 0x1961234 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x434 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:174 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x2688873 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x2688872 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddUserToTeam.func1+0x72 github.com/mattermost/mattermost/server/v8/channels/app/team.go:563 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x6b3a25 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x6b3a24 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x84 crypto/tls/handshake_client_tls13.go:65 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 384] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x191fc36 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fc35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x196e4dc 0x196e3eb 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x196e4db github.com/mattermost/squirrel.StatementBuilderType.Select+0x37b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196e3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a2bfc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a2bfb github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0xb88f93 0xb87b76 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88f92 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb87b75 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x735 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x693fe3 0x6b71d1 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x693fe2 crypto/tls.signedMessage+0xc2 crypto/tls/auth.go:117 # 0x6b71d0 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x510 crypto/tls/handshake_client_tls13.go:668 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc56fd6 0x25f9e97 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc56fd5 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x55 github.com/mattermost/mattermost/server/public/model/post.go:394 # 0x25f9e96 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1010 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5513216] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0xb88f93 0xb87b76 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88f92 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb87b75 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x735 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x2625354 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2625353 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x41d56d 0x5fd63a 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5fd639 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416f77 0x1376953 0x1377d54 0x1376ed4 0x4a240c 0x1376a3a 0x1376a13 0x137d9e4 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1376952 github.com/yuin/goldmark/renderer.(*renderer).Register+0x32 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:128 # 0x1377d53 github.com/yuin/goldmark/renderer/html.(*Renderer).RegisterFuncs+0x73 github.com/yuin/goldmark@v1.8.2/renderer/html/html.go:265 # 0x1376ed3 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xd3 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:148 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x1376a39 sync.(*Once).Do+0x79 sync/once.go:69 # 0x1376a12 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:136 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x192280e 0x192280f 0x186815b 0x218b3f7 0x2118fc8 0x258127d 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x192280d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x192280e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:374 # 0x186815a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5499 # 0x218b3f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4505 # 0x2118fc7 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 # 0x258127c 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: 245760] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 3809280] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x1954565 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1954564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x1084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c6297 0x18d703a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c6296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:170 # 0x18d7039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d7434 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d7433 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1609 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847d54 0x196fe3f 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847d53 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196fe3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1428 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x183b33d 0x183b938 0x19540f3 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x183b33c github.com/mattermost/squirrel.(*deleteData).ToSql+0x5dc github.com/mattermost/squirrel@v0.5.0/delete.go:105 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x19540f2 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 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24576] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x270f345 0x281b90b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x281b90a github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x1ea github.com/mattermost/mattermost/server/v8/channels/api4/post.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a22cd4 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a22cd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:930 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x1306a9b 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1306a9a github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x9a github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:16 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0xb73346 0x1295d28 0x1295cdd 0x12ec2f5 0x25f2eec 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x25f2ea5 0x21d4da2 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x1295d27 net/rpc.(*Client).Call+0xe7 net/rpc/client.go:321 # 0x1295cdc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageHasBeenPosted+0x9c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:349 # 0x12ec2f4 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageHasBeenPosted+0x54 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:108 # 0x25f2eeb github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func5.1+0x2b github.com/mattermost/mattermost/server/v8/channels/app/post.go:410 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x25f2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func5+0x44 github.com/mattermost/mattermost/server/v8/channels/app/post.go:409 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a07fef 0x1a07f66 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a07fee github.com/mattermost/squirrel.SelectBuilder.From+0x12e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07f65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1a0b4b8 0x1a0b418 0x1a0b27b 0x1a0e3e7 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1a0b4b7 github.com/lann/builder.Append+0x497 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0b417 github.com/mattermost/squirrel.InsertBuilder.Values+0x3f7 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1a0b27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:704 # 0x1a0e3e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:959 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 80] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x1945785 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x1945784 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 4194304] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80b825 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x1984807 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x1984806 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0xe26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3151 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19669aa 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19669a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:643 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x2979a85 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x2979a84 crypto/internal/fips140/ecdsa.newDRBG[...]+0x564 crypto/internal/fips140/ecdsa/hmacdrbg.go:111 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a39c 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:927 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5382144] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x857f95 0x857e4a 0x855c65 0x874125 0x8740aa 0x8740e1 0x1225fa5 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x857f94 github.com/mattermost/logr/v2.LimitString+0x514 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x857e49 github.com/mattermost/logr/v2.(*Logr).enqueue+0x3c9 github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x855c64 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x874124 github.com/mattermost/logr/v2.Logger.Info+0xc4 github.com/mattermost/logr/v2@v2.0.22/logger.go:78 # 0x8740a9 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).Info+0x49 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:333 # 0x8740e0 github.com/mattermost/mattermost/server/public/shared/mlog.Info+0x80 github.com/mattermost/mattermost/server/public/shared/mlog/global.go:91 # 0x1225fa4 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x284 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:294 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296ea30 0x296e993 0x296e99c 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296ea2f crypto/internal/fips140/bigmod.(*Nat).reset+0x12f crypto/internal/fips140/bigmod/nat.go:96 # 0x296e992 crypto/internal/fips140/bigmod.(*Nat).set+0x92 crypto/internal/fips140/bigmod/nat.go:133 # 0x296e99b crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x9b crypto/internal/fips140/bigmod/nat.go:1049 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1989e7e 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1989e7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:116 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9627 0x28a9cee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9626 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2543 # 0x28a9ced github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x204d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1110 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0xc9bbd8 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9bbd7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd05 0x492ae9 0x859533 0x858b5e 0x498001 # 0x859532 github.com/mattermost/logr/v2.(*LogRec).prep+0x92 github.com/mattermost/logr/v2@v2.0.22/logrec.go:59 # 0x858b5d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [1: 48] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1945306 0x19452ab 0x19452b9 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1945305 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc5 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19452aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19452b8 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x18d0f25 0x18d0ecd 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d0f24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d0ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 176] @ 0x48dd2c 0x4930f3 0x54d4e5 0x27476a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x27476a4 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:49 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x195afcd 0x18786ba 0x219dcba 0x2627aa7 0x2639652 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195afcc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:31 # 0x18786b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9729 # 0x219dcb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7782 # 0x2627aa6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2639651 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:90 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x693f59 0x6b71d1 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x693f58 crypto/tls.signedMessage+0x38 crypto/tls/auth.go:114 # 0x6b71d0 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x510 crypto/tls/handshake_client_tls13.go:668 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x428505 0x6a0838 0x69d95b 0x6a4085 0x6a4086 0x7944e7 0x57b3c3 0x57b4f3 0x794ff2 0x498001 # 0x6a0837 crypto/tls.(*Conn).readFromUntil+0x97 crypto/tls/conn.go:837 # 0x69d95a crypto/tls.(*Conn).readRecordOrCCS+0x3da crypto/tls/conn.go:626 # 0x6a4084 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:588 # 0x6a4085 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1393 # 0x7944e6 net/http.(*persistConn).Read+0x46 net/http/transport.go:2174 # 0x57b3c2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x57b4f2 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x794ff1 net/http.(*persistConn).readLoop+0x171 net/http/transport.go:2330 0: 0 [1: 13568] @ 0x48dd0c 0x428505 0x132ba48 0x1314202 0x2626432 0x26260ed 0x2624e65 0x262352c 0x2620c65 0x261e377 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132ba47 image/jpeg.DecodeConfig+0x27 image/jpeg/reader.go:779 # 0x1314201 image.DecodeConfig+0x241 image/format.go:107 # 0x2626431 github.com/mattermost/mattermost/server/v8/channels/app.parseImages+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1203 # 0x26260ec github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x32c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1181 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x794f3a 0x498001 # 0x794f39 net/http.(*persistConn).readLoop+0xb9 net/http/transport.go:2319 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296c79a 0x296b0c5 0x296b7c6 0x296b24a 0x5dfda5 0x5da4f7 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296c799 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:742 # 0x296b0c4 crypto/internal/fips140/bigmod.rr+0x264 crypto/internal/fips140/bigmod/nat.go:512 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5da4f6 crypto/rsa.VerifyPSS+0x176 crypto/rsa/fips.go:157 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x296cab4 0x296eabc 0x296eaac 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296eabb crypto/internal/fips140/bigmod.(*Nat).montgomeryRepresentation+0x1bb crypto/internal/fips140/bigmod/nat.go:756 # 0x296eaab crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x1ab crypto/internal/fips140/bigmod/nat.go:1049 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 1024] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296c79a 0x296b0c5 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296c799 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:742 # 0x296b0c4 crypto/internal/fips140/bigmod.rr+0x264 crypto/internal/fips140/bigmod/nat.go:512 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd05 0x428505 0xca1db0 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1daf github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x20f github.com/mattermost/mattermost/server/public/model/websocket_message.go:314 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x18e6332 0x18e6321 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x18e6331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x10d1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x18e6320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2784 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x61dc4c 0x61b973 0x604c05 0x6058a5 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x61dc4b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x183a5dd 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x183a5dc github.com/mattermost/squirrel.(*caseData).ToSql+0x5c github.com/mattermost/squirrel@v0.5.0/case.go:72 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x672517 0x2979daf 0x672493 0x6dfa3e 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x6dfa3d crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:40 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80b825 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a1bf7 0x19dff34 0x1984487 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a1bf6 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x19dff33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:515 # 0x1984486 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0xaa6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3125 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d1205 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1174 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247850a 0x28adf3d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x28adf3c github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1368 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x88bb67 0x8b9f91 0x8b9f6b 0x8fa385 0x8f9cda 0x8fc695 0x8faba6 0xc9d1f5 0xc9d178 0x249b4f0 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x88bb66 text/template.(*Template).execute+0x186 text/template/exec.go:219 # 0x8b9f90 text/template.(*Template).Execute+0x70 text/template/exec.go:207 # 0x8b9f6a 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d1f4 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x154 github.com/mattermost/mattermost/server/public/model/utils.go:294 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x249b4ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0xc57d0e 0xc5787b 0x1961235 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc57d0d github.com/mattermost/mattermost/server/public/model.ArrayToJSON+0xb4d github.com/mattermost/mattermost/server/public/model/utils.go:531 # 0xc5787a github.com/mattermost/mattermost/server/public/model.(*Post).IsValid+0x6ba github.com/mattermost/mattermost/server/public/model/post.go:557 # 0x1961234 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x434 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:174 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x412296 0x41228c 0x48e488 0xca1bd5 0xca1bb8 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0xca1bd4 maps.Clone[...]+0x34 maps/maps.go:55 # 0xca1bb7 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x17 github.com/mattermost/mattermost/server/public/model/websocket_message.go:316 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x28adf3d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x28adf3c github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1368 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x7977c8 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7977c7 net/http.(*persistConn).roundTrip+0x627 net/http/transport.go:2881 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x196866f 0x1968654 0x1968653 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x196866e github.com/mattermost/squirrel.newPart+0xa8e github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1968653 github.com/mattermost/squirrel.SelectBuilder.From+0xa73 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1968652 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xa72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:793 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x7bec5f 0xc9e949 0x25f05a5 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bec5e regexp.(*Regexp).ReplaceAllString+0xde regexp/regexp.go:560 # 0xc9e948 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xc8 github.com/mattermost/mattermost/server/public/model/utils.go:758 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299b2b5 0x299bfa6 0x299d075 0x6b5f85 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299d074 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x6b5f84 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x104 crypto/tls/handshake_client_tls13.go:487 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4472832] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x27d3e2e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27d3e2d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x86d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:324 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x41e8de 0x41e612 0x60f3d1 0x60e213 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60f3d0 net.(*Resolver).goLookupIPCNAMEOrder.func4+0x70 net/dnsclient_unix.go:673 # 0x60e212 net.(*Resolver).goLookupIPCNAMEOrder+0x892 net/dnsclient_unix.go:683 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e62b3 0x18e6204 0x18e61d8 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e62b2 github.com/lann/builder.Append+0x1052 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e6203 github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0xfa3 github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x18e61d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2777 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1974808 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1974807 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x247 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1828 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1228800] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x281b815 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x281b814 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:98 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a08495 0x1a0844a 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a08494 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5d4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5709824] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d71b1 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d71b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1601 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e5845 0x18e5752 0x18e5751 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5844 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5751 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4f1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5750 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x4f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2769 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x196082c 0x1962885 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196082b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:107 # 0x1962884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x191fbfb 0x191fb95 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x191fbfa github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x191fb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0xc9bbd8 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9bbd7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a23217 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a23216 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:951 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x220a009 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x220a008 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xbe8 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18df33a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df339 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x2f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2158 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19554cb 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19554ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x48a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19c9fda 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c9fd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x139 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:130 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x2620345 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2620344 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x784 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:543 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19ccb91 0x1883bd5 0x21aaf2e 0x2670107 0x28bd2e8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19ccb90 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.UpdateProps+0x470 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:350 # 0x1883bd4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateProps+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12975 # 0x21aaf2d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateProps+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10277 # 0x2670106 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetExtraSessionProps+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:304 # 0x28bd2e7 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x447 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e1e65 0x185c851 0x217de5d 0x2478e43 0x283c251 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2430 # 0x185c850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2478 # 0x217de5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2099 # 0x2478e42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:212 # 0x283c250 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28ca089 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28ca088 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x188 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3668 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc62a6f 0xc62912 0x2602105 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc62a6e github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x4ae github.com/mattermost/mattermost/server/public/model/post_list.go:149 # 0xc62911 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x351 github.com/mattermost/mattermost/server/public/model/post_list.go:166 # 0x2602104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1851 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a2d625 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2d624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1763 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28addb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28addb4 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1361 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847f4f 0x196e876 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847f4e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x196e875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x715 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1345 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x1a2987c 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48de45 0x52107d 0xb57775 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb57774 encoding/gob.(*Decoder).decodeMap+0x2f4 encoding/gob/decode.go:604 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 64] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x54d9be 0x55a727 0x21fb94a 0x21fadd7 0x4a3a6a 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54d9bd encoding/json.newEncodeState+0x1d encoding/json/encode.go:316 # 0x55a726 encoding/json.(*Encoder).Encode+0x66 encoding/json/stream.go:209 # 0x21fb949 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:588 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 10880] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 192] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0xc406cb 0xc406c2 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc406ca os.Open+0x3ea os/file.go:390 # 0xc406c1 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3e1 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x857f95 0x857e4a 0x855c65 0x85d030 0x25d4ce8 0x127f022 0x128d728 0x51716c 0x516019 0xb75014 0x498001 # 0x857f94 github.com/mattermost/logr/v2.LimitString+0x514 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x857e49 github.com/mattermost/logr/v2.(*Logr).enqueue+0x3c9 github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x855c64 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x85d02f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x25d4ce7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1144 # 0x127f021 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1087 # 0x128d727 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1043 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e0f6 0x48e0dd 0x520e51 0xb5759d 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb5759c encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x26980dc 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x26980db github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x15b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1977 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xbe6bad 0xbe6a9e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2127a87 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe6bac github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0xac github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:117 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127a86 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19553f2 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x19553f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x3b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:214 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1b24b0a 0x1b2864e 0x498001 # 0x1b24b09 github.com/boxes-ltd/imaging.resizeVertical.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:149 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 98304] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18e53b0 0x18e5381 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e53af github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e5380 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2761 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x281ed65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281ed64 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:371 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x7f7505 0x7f7423 0x12f0d2e 0x51716c 0x516019 0xb75014 0x498001 # 0x7f7504 net/http.Header.Clone+0x164 net/http/header.go:105 # 0x7f7422 net/http/httptest.(*ResponseRecorder).WriteHeader+0x82 net/http/httptest/recorder.go:176 # 0x12f0d2d github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x299b0d5 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x299b0d4 crypto/internal/fips140/hkdf.Expand[...]+0x214 crypto/internal/fips140/hkdf/hkdf.go:45 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a9d45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a9d44 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x2828d1d 0x2828645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x2828d1c github.com/mattermost/mattermost/server/v8/channels/api4.postPatchChecks+0x5c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1216 # 0x2828644 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x564 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1174 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x184b9a5 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184b9a4 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x40d656 0x28a4cdb 0x28a4ccb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d655 internal/strconv.FormatInt+0xd5 internal/strconv/itoa.go:43 # 0x28a4cda strconv.FormatInt+0x15a strconv/number.go:210 # 0x28a4cca github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x14a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:579 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19554cb 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19554ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x48a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28cac7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3743 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 802816] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x28bb7ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28bb7ab github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2522 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 270336] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x28bb7ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28bb7ab github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2522 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281ed65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281ed64 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:371 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551365 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551364 encoding/json.mapEncoder.encode+0x484 encoding/json/encode.go:802 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a291ec 0x1a291bd 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a291eb github.com/mattermost/squirrel.StatementBuilderType.Select+0xeb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd05 0x428505 0x58d825 0x6e04ef 0x6b5eff 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x58d824 crypto/ecdh.(*x25519Curve).NewPublicKey+0xe4 crypto/ecdh/x25519.go:76 # 0x6e04ee crypto/tls.(*ecdhKeyExchange).clientSharedSecret+0x2e crypto/tls/key_schedule.go:145 # 0x6b5efe crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x7e crypto/tls/handshake_client_tls13.go:478 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 240] @ 0x48dd05 0x428505 0x27005da 0x4a2651 0x2702bda 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x27005d9 github.com/klauspost/compress/gzhttp.init.func1+0x19 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:577 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x2702bd9 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x239 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:620 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x184bf85 0x194534d 0x194531e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184bf84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x164 github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x194534c github.com/mattermost/squirrel.StatementBuilderType.Update+0x10c github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x194531d 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4edb39 0x4ed72c 0x57a2e5 0x57a6ce 0x575ec6 0x575eb1 0x122003f 0x121c566 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4edb38 os.statNolog+0x98 os/stat_unix.go:35 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x57a2e4 os/exec.findExecutable+0x24 os/exec/lp_unix.go:23 # 0x57a6cd os/exec.lookPath+0x28d os/exec/lp_unix.go:67 # 0x575ec5 os/exec.LookPath+0x205 os/exec/lookpath.go:29 # 0x575eb0 os/exec.Command+0x1f0 os/exec/exec.go:447 # 0x122003e code.sajari.com/docconv/v2.Tidy+0x29e code.sajari.com/docconv/v2@v2.0.0-pre.4/tidy.go:24 # 0x121c565 code.sajari.com/docconv/v2.ConvertHTML+0x65 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:25 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c8ca 0x296c84a 0x296c851 0x296ec65 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c8c9 crypto/internal/fips140/bigmod.(*Nat).expand+0xe9 crypto/internal/fips140/bigmod/nat.go:82 # 0x296c849 crypto/internal/fips140/bigmod.(*Nat).ExpandFor+0x69 crypto/internal/fips140/bigmod/nat.go:678 # 0x296c850 crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x70 crypto/internal/fips140/bigmod/nat.go:767 # 0x296ec64 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x364 crypto/internal/fips140/bigmod/nat.go:1057 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x493087 0x6598ee 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6598ed crypto/x509.parseCertificate+0x11ad crypto/x509/parser.go:1052 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f7f9d 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f7f9c github.com/mattermost/squirrel.SelectBuilder.Join+0x27c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x194579e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x194579d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x55d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:205 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x18df465 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18df464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2158 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x2836430 0x28363af 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x283642f github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x6af github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x28363ae github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x62e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:218 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726ec7 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726ec6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x22a6 github.com/mattermost/mattermost/server/v8/channels/web/params.go:306 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x272be10 0x272bda5 0x272bcec 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272be0f net/textproto.MIMEHeader.Set+0xa8f net/textproto/header.go:22 # 0x272bda4 net/http.Header.Set+0xa24 net/http/header.go:40 # 0x272bceb github.com/mattermost/mattermost/server/v8/channels/web.root+0x96b github.com/mattermost/mattermost/server/v8/channels/web/static.go:122 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc34c3e 0xc34d45 0x2730c5e 0x27303b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc34c3d github.com/mattermost/mattermost/server/public/model.decodeIncomingWebhookRequest+0xdd github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:184 # 0xc34d44 github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xa4 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:198 # 0x2730c5d github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xc5d github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x27303b3 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3b3 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 320] @ 0x48dd2c 0x475974 0x475486 0x1cce6f7 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x1cce6f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xd6 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:108 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x7746bc 0x774687 0x7753ec 0x779bd8 0x498001 # 0x7746bb bufio.NewWriterSize+0x1bb bufio/bufio.go:598 # 0x774686 net/http.newBufioWriterSize+0x186 net/http/server.go:882 # 0x7753eb net/http.(*conn).readRequest+0x92b net/http/server.go:1071 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 16] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5b85 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:143 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x8310e6 0x8310e4 0x8631d0 0x85ecb9 0x85e965 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x8310e5 github.com/francoispqt/gojay.(*Encoder).Write+0x85 github.com/francoispqt/gojay@v1.2.13/encode.go:194 # 0x8310e3 github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x83 github.com/francoispqt/gojay@v1.2.13/encode_object.go:18 # 0x8631cf github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1cf github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x85ecb8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x85e964 github.com/mattermost/logr/v2.(*TargetHost).start+0x104 github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296c967 0x296ec65 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296c966 crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x186 crypto/internal/fips140/bigmod/nat.go:769 # 0x296ec64 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x364 crypto/internal/fips140/bigmod/nat.go:1057 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x475708 0x1261e0c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1261e0b github.com/lib/pq.(*Config).fromDSN+0x72b github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19e0c3e 0x19e0be3 0x19e0bf1 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e0c3d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e0be2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e0bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x1a03c79 0x1a03c53 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a03c78 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a03c52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:233 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x196de6b 0x196dd3f 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x64284b 0x658e30 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x64284a crypto/x509/pkix.(*Name).FillFromRDNSequence+0x30a crypto/x509/pkix/pkix.go:165 # 0x658e2f crypto/x509.parseCertificate+0x6ef crypto/x509/parser.go:987 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbee855 0xbee01a 0xbee325 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115311 0x2581397 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbee324 github.com/vmihailenco/msgpack/v5.encodeMapValue+0x1c4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:25 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115310 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x130 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:338 # 0x2581396 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] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a1e165 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:572 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ba7fe 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18d1c7b 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1c7a github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x21a github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x184b9b4 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x183aaed 0x183a953 0x1a04ade 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x183aaec github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183a952 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a04add github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:305 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x71d5ab 0x71d579 0x71cd94 0x71c7b2 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x71d5aa bytes.(*Buffer).String+0xea bytes/buffer.go:77 # 0x71d578 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0xb8 vendor/golang.org/x/net/http2/hpack/hpack.go:518 # 0x71cd93 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x333 vendor/golang.org/x/net/http2/hpack/hpack.go:386 # 0x71c7b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03a0d 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03a0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x17ef069 0x17ef057 0x17eeffe 0x17edc19 0x17edbe5 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef068 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:5186 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x17eeffd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x17edc18 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x98 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x17edbe4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x64 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:150 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x428505 0x196e069 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e068 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0xb68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1284 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18d7055 0x18d702a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d7054 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d7029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x500659 0x25e60d3 0x25e6d38 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x500658 encoding/base64.(*Encoding).EncodeToString+0x138 encoding/base64/base64.go:209 # 0x25e60d2 github.com/mattermost/mattermost/server/v8/channels/app.getKeyHash+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:21 # 0x25e6d37 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getPluginKey+0x177 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:84 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 12288] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x790bd0 0x791a9c 0x790332 0x790175 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x790bcf net/http.(*persistConn).addTLS+0x24f net/http/transport.go:1728 # 0x791a9b net/http.(*Transport).dialConn+0x9fb net/http/transport.go:1825 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a07f65 0x1a07f43 0x1a07f28 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07f64 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a07f42 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a07f27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:555 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x196dbee 0x196da43 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196dbed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse.func1+0x6ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1298 # 0x196da42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1311 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x299bf4f 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x299bf4e crypto/internal/fips140/tls13.extract[...]+0x4e crypto/internal/fips140/tls13/tls13.go:44 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 512] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x282d36c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x282d36b github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0xab github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1613 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0f0ea 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0f0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1046 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x25203d2 0x27d8e25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x25203d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0x91 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1980 # 0x27d8e24 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x524 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:670 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1967a7d 0x1966c48 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1967a7c github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x185c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1966c47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0xa27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:670 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x25e8ccb 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25e8cca github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x5aa github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:87 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a0d0d3 0x1a0d0b8 0x1a0d0b7 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0d0d2 github.com/mattermost/squirrel.newPart+0x1b2 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a0d0b7 github.com/mattermost/squirrel.SelectBuilder.From+0x197 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x19ca9d7 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ca9d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 960] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19eb40f 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19eb40e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:94 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x26213ee 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26213ed github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:696 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x546e9e 0x546a79 0x1a1e6aa 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e6a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:599 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a084fe 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a084fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x63d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0x72f38b 0x72f382 0x732882 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x72f38a os.Open+0xea os/file.go:390 # 0x72f381 net/http.Dir.Open+0xe1 net/http/fs.go:91 # 0x732881 net/http.serveFile+0xc1 net/http/fs.go:690 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x428505 0x1224185 0x122416b 0x122305c 0x1222845 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x1224184 encoding/base64.NewEncoder+0x124 encoding/base64/base64.go:285 # 0x122416a gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x10a gopkg.in/mail.v2@v2.3.1/writeto.go:270 # 0x122305b gopkg.in/mail%2ev2.(*messageWriter).addFiles+0x7b gopkg.in/mail.v2@v2.3.1/writeto.go:148 # 0x1222844 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x284 gopkg.in/mail.v2@v2.3.1/writeto.go:48 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x257a62a 0x257a5dd 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x257a629 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0xc4e9 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x257a5dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc49c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:867 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x493087 0x642625 0x658ca5 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658ca4 crypto/x509.parseCertificate+0x564 crypto/x509/parser.go:967 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212b56a 0x2581371 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x2581370 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func2+0x50 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:71 0: 0 [1: 180224] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3489792] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x428505 0x76be50 0x1306c3a 0x1306c0f 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76be4f net/http.NewRequestWithContext+0x26f net/http/request.go:912 # 0x1306c39 net/http.NewRequest+0x239 net/http/request.go:863 # 0x1306c0e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x20e github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:24 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x707448 0x706350 0x7058ff 0x7018cf 0x7026e5 0x702cb2 0x97e8aa 0x97e8a0 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x707447 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x70634f compress/flate.(*huffmanBitWriter).indexTokens+0x26f compress/flate/huffman_bit_writer.go:562 # 0x7058fe compress/flate.(*huffmanBitWriter).writeBlock+0xde compress/flate/huffman_bit_writer.go:435 # 0x7018ce compress/flate.(*compressor).writeBlock+0x8e compress/flate/deflate.go:173 # 0x7026e4 compress/flate.(*compressor).deflate+0x4a4 compress/flate/deflate.go:502 # 0x702cb1 compress/flate.(*compressor).write+0x71 compress/flate/deflate.go:547 # 0x97e8a9 compress/flate.(*Writer).Write+0x89 compress/flate/deflate.go:709 # 0x97e89f compress/zlib.(*Writer).Write+0x7f compress/zlib/writer.go:154 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 204800] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2318336] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x183aac6 0x183a953 0x1a0861e 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183aac5 github.com/lann/builder.Append+0x185 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183a952 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a0861d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x75d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2736128] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1840199 0x184067a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1840198 github.com/mattermost/squirrel.Lt.toSql+0x438 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840679 github.com/mattermost/squirrel.GtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:379 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 1155072] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x79a6b6 0x79a846 0x728bab 0x727a73 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x79a6b5 net/http.Header.Clone+0xd5 net/http/header.go:105 # 0x79a845 net/http.cloneOrMakeHeader+0x265 net/http/clone.go:116 # 0x728baa net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:764 # 0x727a72 net/http.(*Client).do+0x232 net/http/client.go:614 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x726f36 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x726f35 net/http.setRequestCancel+0x255 net/http/client.go:396 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a04b65 0x1a04adf 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a04b64 github.com/mattermost/squirrel.CaseBuilder.Else+0x7a4 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1a04ade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x183a82d 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x183a82c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x46be75 0x99fb53 0x9a2e1c 0x9a29aa 0x673d17 0xb834b7 0x12877cd 0x498001 # 0x99fb52 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x372 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x673d16 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x198986f 0x198979a 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x198986e github.com/mattermost/squirrel.InsertBuilder.Columns+0x20e github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1989799 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x139 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3456] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 131072] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 1196032] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x2514194 0x2510245 0x2510bba 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2514193 github.com/mattermost/mattermost/server/v8/channels/app.UploadFileTask.pathPrefix+0x2b3 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1030 # 0x2510244 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).init+0x2e4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:764 # 0x2510bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x639 github.com/mattermost/mattermost/server/v8/channels/app/file.go:814 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x652a50 0x658c7d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x652a4f crypto/x509.parseName+0x20f crypto/x509/parser.go:170 # 0x658c7c crypto/x509.parseCertificate+0x53c crypto/x509/parser.go:963 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x470e65 0x18dfb53 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18dfb52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0xb12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2214 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3489792] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x191fadb 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fada github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x1da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 8192] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19235fa 0x18676e5 0x2150fea 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19235f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.AttachToPost+0x6d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:419 # 0x18676e4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5325 # 0x2150fe9 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6784] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4071424] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x4d67dd 0x4d67f8 0x573885 0x573851 0x17d9f3b 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27d8ee5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4d67dc internal/filepathlite.(*lazybuf).string+0x8fc internal/filepathlite/path.go:61 # 0x4d67f7 internal/filepathlite.Clean+0x917 internal/filepathlite/path.go:137 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x17d9f3a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27d8ee4 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0xc6149a 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61499 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x39 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d73ef 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d73ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1603 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1955a49 0x187252e 0x2196c94 0x21cc864 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1955a48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:236 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21cc863 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:247 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x492ae9 0x1841749 0x1841335 0x1842679 0x1954565 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1841748 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x208 github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1954564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x1084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03a0d 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03a0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x500607 0x1cd0945 0x1cd096b 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x500606 encoding/base64.(*Encoding).EncodeToString+0xe6 encoding/base64/base64.go:207 # 0x1cd0944 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xa4 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:101 # 0x1cd096a github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e23d8 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e23d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x4752f7 0x695577 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x695576 crypto/tls.(*weakCertCache).newCert+0x356 crypto/tls/cache.go:33 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc62a6f 0xc62912 0x2602105 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc62a6e github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x4ae github.com/mattermost/mattermost/server/public/model/post_list.go:149 # 0xc62911 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x351 github.com/mattermost/mattermost/server/public/model/post_list.go:166 # 0x2602104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1851 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x605cb3 0x605e02 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x605cb2 net.addrList.partition+0x5d2 net/ipsock.go:121 # 0x605e01 net.(*Dialer).DialContext+0x721 net/dial.go:552 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19ca070 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ca06f 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 983040] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183c6dc 0x1955a9f 0x187252e 0x2196c94 0x21ca197 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x183c6db github.com/mattermost/squirrel.DeleteBuilder.Where+0xbb github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x1955a9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x25e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:236 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ca196 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x916 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:110 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x85a5bd 0x85987c 0x858b5e 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x85a5bc github.com/mattermost/logr/v2.calcCaller+0x17c github.com/mattermost/logr/v2@v2.0.22/logrec.go:179 # 0x85987b github.com/mattermost/logr/v2.(*LogRec).prep+0x3db github.com/mattermost/logr/v2@v2.0.22/logrec.go:86 # 0x858b5d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x183c73b 0x183c633 0x19559fe 0x187252e 0x2196c94 0x21ca197 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183c73a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183c632 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x19559fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:235 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ca196 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x916 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:110 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19559a7 0x187252e 0x2196c94 0x21ca197 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x19559a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x166 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:235 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ca196 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x916 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:110 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a3ef4 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a3ef3 github.com/jmoiron/sqlx.(*Row).scanAny+0x873 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x281b50b 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x281b50a github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x1aa github.com/mattermost/mattermost/server/v8/channels/api4/post.go:72 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2114fef 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2114fee github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:303 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1892352] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x493087 0x1844505 0x18413d1 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1955ace 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1955acd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e14ea 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e14e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x189 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2351 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6be9f4 0x6be9d3 0x5ccbc4 0x5cd01c 0x6babde 0x6baa70 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6be9f3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be9d2 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6babdd vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b9d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baa6f crypto/tls.(*clientHelloMsg).marshalMsg+0x1a2f crypto/tls/handshake_messages.go:210 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x726fd6 0x726f2b 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x726fd5 sync.OnceFunc+0x2f5 sync/oncefunc.go:21 # 0x726f2a net/http.setRequestCancel+0x24a net/http/client.go:396 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x76af8b 0x796a34 0x498001 # 0x76af8a net/http.(*Request).write+0x60a net/http/request.go:679 # 0x796a33 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2655 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x191f832 0x1868fc7 0x2150cf8 0x218c56d 0x25116b0 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x191f831 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 # 0x1868fc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5757 # 0x2150cf7 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 # 0x218c56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4712 # 0x25116af github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x112f github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 270336] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2850816] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x183c665 0x183c633 0x19559fe 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x183c664 github.com/mattermost/squirrel.newWherePart+0x44 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x183c632 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x19559fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:235 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 240] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x24f1725 0x24f130d 0x24f0a6b 0x27c9f6e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x24f1724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileInfosForDraft+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:129 # 0x24f130c github.com/mattermost/mattermost/server/v8/channels/app.(*App).prepareDraftWithFileInfos+0x4c github.com/mattermost/mattermost/server/v8/channels/app/draft.go:114 # 0x24f0a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpsertDraft+0x38a github.com/mattermost/mattermost/server/v8/channels/app/draft.go:83 # 0x27c9f6d github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x5cd github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:55 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 57344] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x702f11 0x703047 0x70310e 0x703a05 0x703a0d 0x97e758 0x97e851 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x702f10 compress/flate.newHuffmanEncoder+0x90 compress/flate/huffman_code.go:60 # 0x703046 compress/flate.newHuffmanBitWriter+0x1c6 compress/flate/huffman_bit_writer.go:100 # 0x70310d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:572 # 0x703a04 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:666 # 0x703a0c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:680 # 0x97e757 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x97e850 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 98304] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 2039808] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x18e5cf5 0x18e5e19 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5cf4 github.com/mattermost/squirrel.Expr+0xa94 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x18e5e18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xbb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2773 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28addb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28addb4 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1361 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a248d2 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a248d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1052 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x19dd3b0 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19dd3af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x24f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:309 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24a25 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24a24 github.com/boxes-ltd/imaging.resizeVertical+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:148 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 237568] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 704] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1024] @ 0x48dd2c 0x492ae9 0xca1cc8 0xca1c02 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c474a 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1cc7 github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:215 # 0xca1c01 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:319 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c4749 github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x329 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:141 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19deec6 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x1964d48 0x1877471 0x21563fb 0x219c71d 0x25f88f5 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1964d47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x6e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:450 # 0x1877470 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9393 # 0x21563fa github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:88 # 0x219c71c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7526 # 0x25f88f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xdb4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:908 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25f80a5 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25f80a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x564 github.com/mattermost/mattermost/server/v8/channels/app/post.go:832 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x25f7c4b 0x25f7bc8 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x25f7c4a github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x10a github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x25f7bc7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1474560] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19cab17 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19cab16 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8773632] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x428505 0x18c5a48 0x18d0f05 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5a47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:138 # 0x18d0f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe6c1e 0xbe6a9e 0xbe489a 0xbe7669 0xbe678a 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2115285 0x2581397 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe6c1d github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x11d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:122 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe7668 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x1c8 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:273 # 0xbe6789 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2115284 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:327 # 0x2581396 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] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e5e05 0x18e5cfe 0x18e5e19 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5e04 github.com/lann/builder.Append+0xba4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5cfd github.com/mattermost/squirrel.UpdateBuilder.Set+0xa9d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5e18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xbb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2773 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x546e9e 0x546a79 0x1a231df 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a231de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:948 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 576] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21191b9 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21191b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:56 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a0d135 0x1a0d0b7 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a0d134 github.com/mattermost/squirrel.SelectBuilder.From+0x214 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x428505 0x18e1d71 0x185c851 0x217de5d 0x2478e43 0x283c251 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e1d70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2389 # 0x185c850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2478 # 0x217de5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2099 # 0x2478e42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:212 # 0x283c250 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4554752] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de990 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x26bf1fb 0x28cdce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de98f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:419 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x26bf1fa github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadFollowForUser+0xda github.com/mattermost/mattermost/server/v8/channels/app/user.go:3023 # 0x28cdce4 github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x624 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3923 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0xc56fed 0x25f9e97 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc56fec github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x6c github.com/mattermost/mattermost/server/public/model/post.go:395 # 0x25f9e96 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1010 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x795345 0x498001 # 0x795344 net/http.(*persistConn).readLoop+0x4c4 net/http/transport.go:2412 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x726e14 0x726e15 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x726e13 context.WithDeadline+0x133 context/context.go:626 # 0x726e14 net/http.setRequestCancel+0x134 net/http/client.go:378 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x183c73b 0x183c633 0x1955a9f 0x187252e 0x2196c94 0x21ca197 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183c73a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183c632 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x1955a9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x25e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:236 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ca196 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x916 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:110 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x195411f 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x195411e 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 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x493087 0x139e853 0x139d825 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x19647c5 0x1877471 0x21563fb 0x219c71d 0x25f88f5 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x139e852 github.com/jmoiron/sqlx.compileNamedQuery+0x692 github.com/jmoiron/sqlx@v1.4.0/named.go:371 # 0x139d824 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19647c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:410 # 0x1877470 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9393 # 0x21563fa github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:88 # 0x219c71c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7526 # 0x25f88f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xdb4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:908 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x428505 0x1a2a70b 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x1a2a70a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0xaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1560 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x18df0fa 0x18df0c9 0x18df0a6 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df0f9 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xb9 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18df0c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18df0a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc805ff 0xc80585 0xc80634 0x21faa25 0x21fd7d9 0x21fdb38 0x21fe952 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xc805fe maps.Copy[...]+0x17e maps/maps.go:64 # 0xc80584 github.com/mattermost/mattermost/server/public/model.CopyStringMap+0x104 github.com/mattermost/mattermost/server/public/model/utils.go:490 # 0xc80633 github.com/mattermost/mattermost/server/public/model.(*Session).DeepCopy+0x1b3 github.com/mattermost/mattermost/server/public/model/session.go:102 # 0x21faa24 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 # 0x21fd7d8 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x658 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:803 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x18e8852 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x18e8851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x991 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2987 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183c6dc 0x1955a9f 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x183c6db github.com/mattermost/squirrel.DeleteBuilder.Where+0xbb github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x1955a9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x25e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:236 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a0ee25 0x1a0edff 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0ee24 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0edfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1044 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x726f36 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x25d711c 0x1280e88 0x12cf9f9 0x51716c 0x516019 0xb75014 0x498001 # 0x726f35 net/http.setRequestCancel+0x255 net/http/client.go:396 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x25d711b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1473 # 0x1280e87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1308 # 0x12cf9f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:7224 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19cab17 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x25d711c 0x1280e88 0x12cf9f9 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19cab16 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x25d711b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SendPushNotification+0x3b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1473 # 0x1280e87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SendPushNotification+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1308 # 0x12cf9f8 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SendPushNotification+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:7224 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x258b987 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x258b986 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x986 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:74 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 80] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x7001fa 0x1223f91 0x1223f81 0x1222f5f 0x12227c5 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x7001f9 mime/multipart.(*Writer).CreatePart+0xd9 mime/multipart/writer.go:106 # 0x1223f90 gopkg.in/mail%2ev2.(*messageWriter).createPart+0x70 gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x1223f80 gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x60 gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x1222f5e gopkg.in/mail%2ev2.(*messageWriter).writePart+0x21e gopkg.in/mail.v2@v2.3.1/writeto.go:111 # 0x12227c4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x204 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x493087 0x196df5a 0x196dd8b 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196df59 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0xa59 github.com/mattermost/mattermost/server/public/model/post_list.go:129 # 0x196dd8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x88a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1316 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4121bf 0x48e488 0x661cfb 0x661ce8 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0x661cfa maps.Clone[...]+0x13da maps/maps.go:55 # 0x661ce7 crypto/x509.policiesValid+0x13c7 crypto/x509/verify.go:1374 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 192] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19544c5 0x1954351 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x19544c4 github.com/mattermost/squirrel.InsertBuilder.Values+0xfe4 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1954350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xe70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1954185 0x195412a 0x1954138 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1954184 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xca4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1954129 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xc49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1954137 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 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x546e9e 0x546a79 0xc5bb2e 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x195d706 0x195d6d5 0x195d670 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d705 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x195d6d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x195d66f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e2fb 0x56e2dd 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56e2fa context.withCancel+0x3a context/context.go:277 # 0x56e2dc context.WithCancelCause+0x1c context/context.go:269 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x25fd28b 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25fd28a github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0xea github.com/mattermost/mattermost/server/v8/channels/app/post.go:1196 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x428505 0xbd7991 0xbd7934 0xc9d313 0xc9d330 0x25db8d3 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0xbd7990 github.com/google/uuid.NewRandomFromReader+0x30 github.com/google/uuid@v1.6.0/version4.go:48 # 0xbd7933 github.com/google/uuid.NewRandom+0x53 github.com/google/uuid@v1.6.0/version4.go:41 # 0xc9d312 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc9d32f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25db8d2 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x152 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:69 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a07f85 0x1a07f67 0x1a07f66 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a07f84 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a07f66 github.com/mattermost/squirrel.SelectBuilder.From+0xa6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07f65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x196871c 0x187358e 0x2197fa2 0x25f7d09 0x25fd33c 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196871b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xb3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:796 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f7d08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25fd33b github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x19b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1222 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1433600] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a0423c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0423b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:261 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1376256] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x8078a5 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8078a4 database/sql.(*DB).execDC+0x4c4 database/sql/sql.go:1719 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227f549 0x27019b2 0x2700c90 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2700c8f github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5ef github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:211 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 1982464] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x8b1bf4 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc3b0 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b1bf3 github.com/mattermost/go-i18n/i18n/language.Parse+0x533 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc3af github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x2af github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:276 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1841463 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x5305e6 0x183e486 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183e485 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x55a01f 0x28ec8ed 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x28ec8ec github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 48] @ 0x48dd05 0x428505 0x297d41a 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x297d419 crypto/internal/fips140/ecdsa.Sign[...]+0x179 crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a1bf7 0x19dea6f 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a1bf6 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x19dea6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:428 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 540672] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x1967eba 0x187358e 0x2197fa2 0x25f7d09 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f7d08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 384] @ 0x48dd05 0x428505 0x2979d97 0x297985d 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x297985c crypto/internal/fips140/ecdsa.newDRBG[...]+0x33c crypto/internal/fips140/ecdsa/hmacdrbg.go:89 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191a35f 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191a35e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:77 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x271725b 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271725a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb7a github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xb53293 0xb56ec9 0xb58225 0xb59c93 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb53292 encoding/gob.decStringSlice+0x312 encoding/gob/dec_helpers.go:378 # 0xb56ec8 encoding/gob.(*Decoder).decodeArrayHelper+0x88 encoding/gob/decode.go:540 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x19f1e15 0x19f1dd0 0x19f71a5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 240] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1967eba 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x191e6af 0x191e51b 0x1867292 0x218a2b6 0x21187a4 0x24f69d7 0x2621a65 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191e6ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191e51a 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 # 0x1867291 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5262 # 0x218a2b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4314 # 0x21187a3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x3c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x24f69d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x216 github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2621a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:740 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe6c3d 0xbe6a9e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2127a87 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe6c3c github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:126 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127a86 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x27ca49c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x27ca49b github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x19b github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:80 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x183a9e5 0x183a9d4 0x183a953 0x1a0861e 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a9e4 github.com/mattermost/squirrel.newPart+0xa4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x183a9d3 github.com/mattermost/squirrel.newWhenPart+0x93 github.com/mattermost/squirrel@v0.5.0/case.go:52 # 0x183a952 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a0861d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x75d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 10752] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551a96 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551a95 encoding/json.encodeByteSlice+0x155 encoding/json/encode.go:835 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x276067a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2760679 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:810 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0xb907c5 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb907c4 github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x4a4 github.com/mattermost/mattermost/server/public/shared/markdown/list.go:216 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0d309 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x276d085 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x276d084 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1871 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x428505 0xc61d3e 0xc61d32 0xc61f0f 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d3d github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xdd github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc61d31 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xd1 github.com/mattermost/mattermost/server/public/model/post_list.go:92 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a03c79 0x1a03c53 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03c78 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a03c52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:233 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x184a88c 0x184babf 0x19deec6 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184a88b github.com/mattermost/squirrel.(*updateData).ToSql+0x3cb github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08429 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x568 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:571 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8e5e6 0xb8e56a 0xb8e4b6 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e5e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock-range1+0x445 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:64 # 0xb8e569 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock.Backward[...].func1+0x3c9 slices/iter.go:29 # 0xb8e4b5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x315 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:63 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x261b67d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x225c146 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c145 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x45 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:26 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9c67 0x28ae0fb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2599 # 0x28ae0fa github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x65a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a2d625 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a2d624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1763 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18d0f85 0x18d0f26 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d0f84 github.com/mattermost/squirrel.SelectBuilder.From+0x1a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18d0f25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1167 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2115055 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2115054 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:306 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 229376] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19477a7 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x19477a6 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x18e21af 0x18e2127 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e21ae github.com/mattermost/squirrel.SelectBuilder.From+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e2126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2448 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x4b016d 0x4e971d 0x4e9677 0x572b38 0x572ad8 0x572ad9 0x13387ea 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4b016c syscall.Getwd+0xac syscall/syscall_linux.go:388 # 0x4e971c os.ignoringEINTR2[...]+0x13c os/file_posix.go:266 # 0x4e9676 os.Getwd+0x96 os/getwd.go:56 # 0x572b37 path/filepath.unixAbs+0x37 path/filepath/path.go:169 # 0x572ad7 path/filepath.abs+0x17 path/filepath/path_unix.go:29 # 0x572ad8 path/filepath.Abs+0x18 path/filepath/path.go:162 # 0x13387e9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x309 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:67 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x19baa85 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19baa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:283 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18e9d5d 0x18e9d3e 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e9d5c github.com/mattermost/squirrel.SelectBuilder.Join+0x1fc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e9d3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3065 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0xc9e78e 0xc06ae8 0x2766c74 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xc9e78d github.com/mattermost/mattermost/server/public/model.Etag+0x18d github.com/mattermost/mattermost/server/public/model/utils.go:737 # 0xc06ae7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x2766c73 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x513 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x493087 0x196df5a 0x196dd8b 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196df59 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0xa59 github.com/mattermost/mattermost/server/public/model/post_list.go:129 # 0x196dd8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x88a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1316 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247850a 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x48dd2c 0x475974 0x475486 0x299b06c 0x299be65 0x299ba09 0x299b3fa 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x299b06b crypto/internal/fips140/hkdf.Expand[...]+0x1ab crypto/internal/fips140/hkdf/hkdf.go:43 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b3f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1536] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 24] @ 0x48dd2c 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x190354f 0x19034c6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x190354e github.com/mattermost/squirrel.SelectBuilder.From+0x8ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19034c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x845 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x651cfb 0x657d86 0x659a65 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x651cfa crypto/x509.OID.toASN1OID+0x3a crypto/x509/oid.go:359 # 0x657d85 crypto/x509.processExtensions+0x1565 crypto/x509/parser.go:810 # 0x659a64 crypto/x509.parseCertificate+0x1324 crypto/x509/parser.go:1054 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1942f9d 0x1942e6b 0x186f455 0x21933ee 0x20defc3 0x20da88e 0x20e3c44 0x20e3045 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1942f9c github.com/mattermost/squirrel.InsertBuilder.Columns+0x33c github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1942e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da88d github.com/mattermost/mattermost/server/v8/channels/jobs.(*DailyScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:78 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5c13 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5c12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:145 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc5bb2e 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x428505 0x2573973 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2573972 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x5832 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:464 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28bb5e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28bb5e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2501 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2477ce7 0x2477ce8 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477ce6 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x106 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x2477ce7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x579dac 0x579cd7 0x579cad 0x5775d2 0x577118 0x578b18 0x1220045 0x121c566 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x579dab os/exec.dedupEnvCase+0x4b os/exec/exec.go:1262 # 0x579cd6 os/exec.dedupEnv+0x156 os/exec/exec.go:1252 # 0x579cac os/exec.(*Cmd).environ+0x12c os/exec/exec.go:1231 # 0x5775d1 os/exec.(*Cmd).Start+0x471 os/exec/exec.go:728 # 0x577117 os/exec.(*Cmd).Run+0x17 os/exec/exec.go:629 # 0x578b17 os/exec.(*Cmd).Output+0xb7 os/exec/exec.go:1026 # 0x1220044 code.sajari.com/docconv/v2.Tidy+0x2a4 code.sajari.com/docconv/v2@v2.0.0-pre.4/tidy.go:24 # 0x121c565 code.sajari.com/docconv/v2.ConvertHTML+0x65 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:25 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x5a3bd9 0x5a3b5d 0x5cade5 0x5caddf 0x5cac1f 0x658968 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5a3bd8 math/big.nat.make+0x98 math/big/nat.go:67 # 0x5a3b5c math/big.nat.setBytes+0x1c math/big/nat.go:1023 # 0x5cade4 math/big.(*Int).SetBytes+0x104 math/big/int.go:519 # 0x5cadde vendor/golang.org/x/crypto/cryptobyte.(*String).readASN1BigInt+0xfe vendor/golang.org/x/crypto/cryptobyte/asn1.go:330 # 0x5cac1e vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1Integer+0x3fe vendor/golang.org/x/crypto/cryptobyte/asn1.go:290 # 0x658967 crypto/x509.parseCertificate+0x227 crypto/x509/parser.go:926 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0xc97212 0xc97213 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97211 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97212 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x4930f3 0x7394ac 0x7391c5 0x758a08 0x75894e 0x756c4d 0x7561f8 0x498001 # 0x7394ab net/http.(*http2Framer).startWriteDataPadded+0x24b net/http/h2_bundle.go:2309 # 0x7391c4 net/http.(*http2Framer).WriteDataPadded+0x24 net/http/h2_bundle.go:2273 # 0x758a07 net/http.(*http2Framer).WriteData+0x747 net/http/h2_bundle.go:2260 # 0x75894d net/http.(*http2clientStream).writeRequestBody+0x68d net/http/h2_bundle.go:9225 # 0x756c4c net/http.(*http2clientStream).writeRequest+0xa0c net/http/h2_bundle.go:8833 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x493087 0x652aaa 0x658e0d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x652aa9 crypto/x509.parseName+0x269 crypto/x509/parser.go:174 # 0x658e0c crypto/x509.parseCertificate+0x6cc crypto/x509/parser.go:983 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dce4e 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dce4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:283 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5a2f 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5a2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:133 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a0ede7 0x1a0ed8d 0x1a0ed8b 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a0ede6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x86 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0ed8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0ed8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1043 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 48] @ 0x48dd05 0x428505 0x19eaa45 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eaa44 github.com/mattermost/squirrel.InsertBuilder.Values+0x2e4 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x54d9be 0x54d413 0xca16e5 0x2204e27 0x2204837 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54d9bd encoding/json.newEncodeState+0x1d encoding/json/encode.go:316 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0xca16e4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:248 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x21f9e0b 0x21d4da2 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 80] @ 0x48dd05 0x428505 0x2520458 0x27dacbf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2520457 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0x117 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1987 # 0x27dacbe github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x5be github.com/mattermost/mattermost/server/v8/channels/api4/file.go:807 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2833045 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2833044 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x428505 0x1a28525 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a28524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1372 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x191fc36 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fc35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x428505 0x2200334 0x21fc4c5 0x21fadd7 0x4a3a6a 0x498001 # 0x2200333 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).logSocketErr+0x353 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:1058 # 0x21fc4c4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:615 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x190381e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190381d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x5305e6 0x1847d39 0x199a811 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1847d38 github.com/mattermost/squirrel.SelectBuilder.Limit+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x199a810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:148 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19580c6 0x1958095 0x1958030 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19580c5 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1958094 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x195802f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:147 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0xb8aa4b 0xb8d1e8 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8aa4a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x30a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d1e7 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1e7 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:588 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184ce6c 0x184cd9b 0x184ce90 0x19457c7 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19457c6 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x53e529 0x53e52f 0xb8daef 0xb89cc5 0x26225e5 0xb8e16a 0xb8eab1 0xb8e0e5 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53e528 unicode/utf8.AppendRune+0x88 unicode/utf8/utf8.go:413 # 0x53e52e strings.(*Builder).WriteRune+0x8e strings/builder.go:106 # 0xb8daee github.com/mattermost/mattermost/server/public/shared/markdown.Unescape+0x2ce github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:675 # 0xb89cc4 github.com/mattermost/mattermost/server/public/shared/markdown.(*Autolink).Destination+0x44 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:95 # 0x26225e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages.func1+0x2e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:792 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8eab0 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x1d0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:102 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x249b452 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x249b451 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0xb1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4800512] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x4cf2a5 0x1306e45 0x246c130 0x246b1f8 0x246b565 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cf2a4 io.ReadAll+0x44 io/io.go:712 # 0x1306e44 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x444 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:35 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x246b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x44 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:55 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56e54d 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e54c context.AfterFunc+0x2c context/context.go:326 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x54d4e5 0x25955d2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x25955d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0x500659 0x1cd096a 0x1cd096b 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x500658 encoding/base64.(*Encoding).EncodeToString+0x138 encoding/base64/base64.go:209 # 0x1cd0969 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:101 # 0x1cd096a github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 768] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2788285 0x278820e 0x2789496 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2788284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x278820d github.com/mattermost/mattermost/server/v8/channels/api4.validateSidebarCategory+0x4d github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:260 # 0x2789495 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x595 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183a4a5 0x183a6bc 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a4a4 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0xc4 github.com/mattermost/squirrel@v0.5.0/case.go:38 # 0x183a6bb github.com/mattermost/squirrel.(*caseData).ToSql+0x13b github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x12612af 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x12612ae github.com/lib/pq.(*Config).fromEnv+0x2e github.com/lib/pq@v1.12.3/connector.go:668 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x198986f 0x198979a 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x198986e github.com/mattermost/squirrel.InsertBuilder.Columns+0x20e github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1989799 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x139 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x195d72f 0x195d6d5 0x195d670 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x195d72e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x14e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x195d6d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x195d66f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0xbe3ab8 0xbe3a6a 0xbe3b8b 0xbe367e 0xbe366f 0xbe366e 0x21fb065 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe3ab7 bufio.NewReaderSize+0x117 bufio/bufio.go:57 # 0xbe3a69 bufio.NewReader+0xc9 bufio/bufio.go:63 # 0xbe3b8a github.com/vmihailenco/msgpack/v5.(*Decoder).ResetReader+0x1ea github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:123 # 0xbe367d github.com/vmihailenco/msgpack/v5.(*Decoder).ResetDict+0x3d github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:98 # 0xbe366e github.com/vmihailenco/msgpack/v5.(*Decoder).Reset+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:93 # 0xbe366d github.com/vmihailenco/msgpack/v5.NewDecoder+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:86 # 0x21fb064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x264 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:482 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x2595ef2 0x2591945 0x2594292 0x2594edf 0x498001 # 0x2595ef1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x131 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:526 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1280] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18de945 0x18de8e0 0x185cb35 0x217e19d 0x249e103 0x276caa5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18de944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18de8df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2119 # 0x185cb34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2520 # 0x217e19c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2131 # 0x249e102 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2476 # 0x276caa4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1848 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1989913 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1989912 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x2b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:99 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 11288576] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6ba6ca 0x6ba6ea 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6ba6c9 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1689 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6ba6e9 crypto/tls.(*clientHelloMsg).marshalMsg+0x16a9 crypto/tls/handshake_messages.go:182 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x1295d28 0x1295cdd 0x12ec2f5 0x25f2eec 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x25f2ea5 0x21d4da2 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1295d27 net/rpc.(*Client).Call+0xe7 net/rpc/client.go:321 # 0x1295cdc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageHasBeenPosted+0x9c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:349 # 0x12ec2f4 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageHasBeenPosted+0x54 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:108 # 0x25f2eeb github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func5.1+0x2b github.com/mattermost/mattermost/server/v8/channels/app/post.go:410 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x25f2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func5+0x44 github.com/mattermost/mattermost/server/v8/channels/app/post.go:409 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x258e3f3 0x258b5d4 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x258e3f2 github.com/mattermost/mattermost/server/v8/channels/app.getDirectMessageNotificationEmailSubject+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:275 # 0x258b5d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:59 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 80] @ 0x48dd05 0x428505 0x62e028 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x62e027 net.dialUDP+0x2e7 net/udpsock.go:306 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x7740b6 0x779aba 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7740b5 net/http.newBufioReader+0x35 net/http/server.go:858 # 0x779ab9 net/http.(*conn).serve+0x2b9 net/http/server.go:1981 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x257a592 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x257a591 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:863 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dff65 0x19e0345 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dff64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:516 # 0x19e0344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:534 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a02a17 0x1a029f1 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56e54d 0x6a492c 0x790fae 0x790fa9 0x498001 # 0x56e54c context.AfterFunc+0x2c context/context.go:326 # 0x6a492b crypto/tls.(*Conn).handshakeContext+0x1ab crypto/tls/conn.go:1538 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1904953 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904952 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x732 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:527 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb8cde5 0xb8d15d 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8cde4 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0x384 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:550 # 0xb8d15c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x15c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19032bd 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19032bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:427 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a22cb6 0x1a22c46 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a22cb5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x215 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a22c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:928 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x21f2231 0x281c149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f2230 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:278 # 0x281c148 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:151 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x24a8c53 0x24a8c3b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24a8c52 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x4b2 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x24a8c3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x49a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3559 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1331cd3 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1331cd2 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2244608] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 393216] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4587520] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 368640] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24353 0x1b2b005 0x2513546 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24352 github.com/boxes-ltd/imaging.Resize+0x272 github.com/boxes-ltd/imaging@v1.7.5/resize.go:103 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 2826240] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24353 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24352 github.com/boxes-ltd/imaging.Resize+0x272 github.com/boxes-ltd/imaging@v1.7.5/resize.go:103 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [2: 5652480] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd0c 0x492ae9 0x1b23c74 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23c73 github.com/boxes-ltd/imaging.precomputeWeights+0xb3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:21 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2146304] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a29505 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x193960f 0x193956e 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x193960e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x4ce github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x193956d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x42d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1495 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1962925 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1962924 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1b24 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2269184] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x184c93c 0x1a0c669 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184c93b github.com/mattermost/squirrel.UpdateBuilder.Where+0xbb github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0c668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:747 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199ac58 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ac57 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x657 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x470c9f 0x4af985 0x4b5257 0x4b5261 0x4edaf2 0x4edad1 0x4edada 0x4edace 0x4ed72c 0x6255f8 0x613a9a 0x61463d 0x60d687 0x60da2f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b5256 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4b5260 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4edaf1 syscall.Stat+0x51 syscall/syscall_linux_amd64.go:61 # 0x4edad0 os.statNolog.func1+0x30 os/stat_unix.go:32 # 0x4edad9 os.ignoringEINTR+0x39 os/file_posix.go:256 # 0x4edacd os.statNolog+0x2d os/stat_unix.go:31 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x6255f7 net.stat+0x17 net/parse.go:84 # 0x613a99 net.readHosts+0xf9 net/hosts.go:59 # 0x61463c net.lookupStaticHost+0xbc net/hosts.go:132 # 0x60d686 net.goLookupIPFiles+0x26 net/dnsclient_unix.go:590 # 0x60da2e net.(*Resolver).goLookupIPCNAMEOrder+0xae net/dnsclient_unix.go:612 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x276f0c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276f0c4 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2033 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x652a50 0x658c7d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x652a4f crypto/x509.parseName+0x20f crypto/x509/parser.go:170 # 0x658c7c crypto/x509.parseCertificate+0x53c crypto/x509/parser.go:963 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c61bc 0x18d0f05 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c61bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18d0f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x1a087be 0x1a08773 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a087bd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8fd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x282d705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x282d704 github.com/mattermost/mattermost/server/v8/channels/api4.getPostInfo+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1666 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196840d 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x196840c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:789 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a07f65 0x1a07f43 0x1a07f28 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a07f64 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a07f42 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a07f27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:555 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80b825 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x53e529 0x53e52f 0xb8daef 0xb89cc5 0x26225e5 0xb8e16a 0xb8eab1 0xb8e0e5 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53e528 unicode/utf8.AppendRune+0x88 unicode/utf8/utf8.go:413 # 0x53e52e strings.(*Builder).WriteRune+0x8e strings/builder.go:106 # 0xb8daee github.com/mattermost/mattermost/server/public/shared/markdown.Unescape+0x2ce github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:675 # 0xb89cc4 github.com/mattermost/mattermost/server/public/shared/markdown.(*Autolink).Destination+0x44 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:95 # 0x26225e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages.func1+0x2e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:792 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8eab0 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x1d0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:102 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd05 0x492ae9 0x1376ff5 0x4a240c 0x1376a3a 0x1376a13 0x137d9e4 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1376ff4 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0x1f4 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:150 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x1376a39 sync.(*Once).Do+0x79 sync/once.go:69 # 0x1376a12 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:136 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 24576] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a39c 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:927 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc84930 0xc848f0 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd6aa 0x28bd66c 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8492f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb2f github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc848ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xaef github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd6a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x289 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd66b github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2673 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a06a0b 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x54c52a 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c529 encoding/json.(*decodeState).arrayInterface+0xa9 encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd0c 0x493087 0x18f6585 0x18f625a 0x185ce75 0x217e4f9 0x249e6d6 0x276d687 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18f6584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18f6259 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersByIds+0x259 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3911 # 0x185ce74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersByIds+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2562 # 0x217e4f8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersByIds+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2163 # 0x249e6d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersByIds+0x95 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2502 # 0x276d686 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersByIds+0x306 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1907 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x475708 0x1261e3b 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e3a github.com/lib/pq.(*Config).fromDSN+0x75a github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x18e42dc 0x185d747 0x217ee6d 0x2114266 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18e42db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2642 # 0x185d746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2688 # 0x217ee6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2259 # 0x2114265 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2766a1e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2766a1d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2bd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1372 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x2625354 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2625353 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 24576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x18e8852 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x18e8851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x991 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2987 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x1a0cf85 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0cf84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:789 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e33d4 0x18e3321 0x18599a7 0x217ab2d 0x21152c6 0x2581397 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e33d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e3320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2530 # 0x18599a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1821 # 0x217ab2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1587 # 0x21152c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:332 # 0x2581396 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] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19c9f30 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c9f2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:130 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a24a6c 0x1a24a11 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a24a6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a24a10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1063 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x557466 0x556e3d 0x5469d4 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0x88c3d0 0x88c4b1 0x88bc7c 0x8b9f91 0x8b9f6b 0x8fa385 0x8f9cda 0x8fc695 0x8faba6 0xc9d1f5 0xc9d178 0x249b4f0 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x88c3cf text/template.(*state).walk+0x22f text/template/exec.go:287 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8b9f90 text/template.(*Template).Execute+0x70 text/template/exec.go:207 # 0x8b9f6a 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d1f4 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x154 github.com/mattermost/mattermost/server/public/model/utils.go:294 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x249b4ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4752f7 0x69532b 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x69532a crypto/tls.(*weakCertCache).newCert+0x10a crypto/tls/cache.go:32 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a4085 0x6a4086 0x7944e7 0x57b842 0x4ceb03 0x7885db 0x7884df 0x7987bc 0x729a4a 0x4ceb03 0x4cf8f3 0x90a3dc 0x9167ad 0x9165d1 0x916926 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a4084 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:588 # 0x6a4085 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1393 # 0x7944e6 net/http.(*persistConn).Read+0x46 net/http/transport.go:2174 # 0x57b841 bufio.(*Reader).Read+0xe1 bufio/bufio.go:231 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x7885da net/http.(*body).readLocked+0x3a net/http/transfer.go:845 # 0x7884de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x7987bb net/http.(*bodyEOFSignal).Read+0x13b net/http/transport.go:3075 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf8f2 io.(*multiReader).Read+0x92 io/multi.go:26 # 0x90a3db golang.org/x/text/transform.(*Reader).Read+0x3db golang.org/x/text@v0.37.0/transform/transform.go:199 # 0x9167ac golang.org/x/net/html.readAtLeastOneByte+0x6c golang.org/x/net@v0.54.0/html/token.go:299 # 0x9165d0 golang.org/x/net/html.(*Tokenizer).readByte+0x250 golang.org/x/net@v0.54.0/html/token.go:273 # 0x916925 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.54.0/html/token.go:337 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26390f0 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26390ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:19 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x28ec8ed 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x28ec8ec github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19580ef 0x1958095 0x1958030 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19580ee github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x14e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1958094 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x195802f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:147 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c6297 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c6296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:170 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x546a79 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dd1f7 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e9d89 0x18e9d3e 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e9d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x228 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e9d3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3065 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18e231f 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e231e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x183f3a9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3a8 github.com/mattermost/squirrel.Eq.toSQL+0xec8 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x191a065 0x191a053 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191a064 github.com/mattermost/squirrel.StatementBuilderType.Select+0x204 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191a052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x4246eb 0x13980f3 0x270f109 0x270edf5 0x27db399 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13980f2 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x192 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:40 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x27db398 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xc98 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:832 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x18411a5 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18411a4 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d7f25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d7f24 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0xd04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:588 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18ced4f 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ced4e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0xee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:984 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x2575a65 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x2575a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x7924 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:644 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x475974 0x475486 0x2270099 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2270098 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0xd8 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1097 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19394bf 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19394be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1493 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d119b 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d119a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x3ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1174 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x184a88c 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184a88b github.com/mattermost/squirrel.(*updateData).ToSql+0x3cb github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x27d74ad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x27d74ac github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x28c github.com/mattermost/mattermost/server/v8/channels/api4/file.go:531 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1920fe5 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1920fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 768] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1957e8e 0x1957e18 0x1877afa 0x219cf06 0x261663e 0x261d628 0x261dcc7 0x25f8b28 0x25fd33c 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1957e8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1957e17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPost+0x397 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:132 # 0x1877af9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9519 # 0x219cf05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPost+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7622 # 0x261663d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:141 # 0x261d627 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xaa7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:250 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x25f8b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xfe7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:929 # 0x25fd33b github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x19b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1222 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bae6b 0x6bacfd 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bae6a vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1e2a vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bacfc crypto/tls.(*clientHelloMsg).marshalMsg+0x1cbc crypto/tls/handshake_messages.go:225 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a0359e 0x1a0351a 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0359d github.com/mattermost/squirrel.SelectBuilder.From+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a02b09 0x1a02abe 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a02b08 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a02a17 0x1a029f1 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x428505 0x633c37 0x62b335 0x627607 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x633c36 net.ipToSockaddr+0x1f6 net/ipsock_posix.go:222 # 0x62b334 net.(*TCPAddr).sockaddr+0x34 net/tcpsock_posix.go:40 # 0x627606 net.(*netFD).dial+0x386 net/sock_posix.go:121 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a1bf7 0x19dea6f 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a1bf6 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x19dea6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:428 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0xb57892 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0xb57891 encoding/gob.(*Decoder).decodeMap+0x411 encoding/gob/decode.go:608 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb576a8 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb576a7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x184bfac 0x194534d 0x194531e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x194534c github.com/mattermost/squirrel.StatementBuilderType.Update+0x10c github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x194531d 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 24576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xca23cb 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xca23ca github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x25203d2 0x27d8e25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x25203d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0x91 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1980 # 0x27d8e24 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x524 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:670 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x19db74c 0x19db72b 0x1988c9b 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19db74b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.newSqlxTxWrapper+0x4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:388 # 0x19db72a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Begin+0x2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:174 # 0x1988c9a 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 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x1846885 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1939b85 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1939b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xa44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1545 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 20480] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x258cab4 0x257f730 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x258cab3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 576] @ 0x48dd05 0x428505 0x1960325 0x19629bf 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1960324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:83 # 0x19629be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1bbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:258 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e44fc 0x185c107 0x217d5ad 0x2113f86 0x249f269 0x2761f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e44fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2663 # 0x185c106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2367 # 0x217d5ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2003 # 0x2113f85 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 # 0x249f268 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2575 # 0x2761f1a github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:998 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x18e5c78 0x18e5b6e 0x18e5c8c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x18e5c77 github.com/lann/builder.Append+0xa17 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5b6d github.com/mattermost/squirrel.UpdateBuilder.Set+0x90d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5c8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xa2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2772 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1972577 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1972576 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1688 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f465 0x282512c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f464 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:77 # 0x282512b github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xf0b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:908 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0xca1cc8 0xca1c02 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c474a 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1cc7 github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:215 # 0xca1c01 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:319 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c4749 github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x329 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:141 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 8] @ 0x48dd05 0x428505 0x21f1e89 0x21f1f6e 0x24a3ac5 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f1e88 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x28 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:227 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x24a3ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3023 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1024] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5376] @ 0x48dd0c 0x4246eb 0x262f50e 0x262f045 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x262f50d github.com/mattermost/mattermost/server/v8/channels/app.validateConfigEntry+0x6d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:197 # 0x262f044 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0xfa4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:155 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bc676 0x6bc506 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bc675 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x255 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6bc505 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xe5 crypto/tls/handshake_messages.go:351 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbee325 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115311 0x2581397 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbee324 github.com/vmihailenco/msgpack/v5.encodeMapValue+0x1c4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:25 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115310 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x130 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:338 # 0x2581396 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: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de990 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de98f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:419 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 48] @ 0x48dd05 0x428505 0x726ea5 0x7263fd 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x726ea4 net/http.setRequestCancel+0x1c4 net/http/client.go:384 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bfb78 0x6bfa75 0x5ccbc4 0x5cd01c 0x6bf9b4 0x6bf993 0x5ccbc4 0x5cd01c 0x6b924a 0x6b910f 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bfb77 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x197 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bfa74 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x94 crypto/tls/handshake_messages.go:112 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bf9b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bf992 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b9249 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x209 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b910e crypto/tls.(*clientHelloMsg).marshalMsg+0xce crypto/tls/handshake_messages.go:109 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x727050 0x7263fd 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72704f net/http.setRequestCancel+0x36f net/http/client.go:406 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x492ae9 0x542c16 0xb8b7f9 0xb8baad 0xb8d20a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0xb8b7f8 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).referenceDefinition+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:339 # 0xb8baac github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x24c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:387 # 0xb8d209 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x209 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 9216] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 36864] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 245760] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 161024] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 229376] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 73728] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 80640] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 55296] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 18432] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0d135 0x1a0d0b7 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0d134 github.com/mattermost/squirrel.SelectBuilder.From+0x214 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd0c 0x493087 0xb8bd50 0xb8d20a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8bd4f github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x4ef github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:420 # 0xb8d209 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x209 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x492ae9 0x542c16 0xb8b7f9 0xb8baad 0xb8d20a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0xb8b7f8 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).referenceDefinition+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:339 # 0xb8baac github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x24c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:387 # 0xb8d209 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x209 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6912] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 18944] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4096] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 27648] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 32768] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 65536] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 49152] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5376] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 18432] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb8bcf3 0xb8d20a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8bcf2 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x492 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:420 # 0xb8d209 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x209 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x492ae9 0x542c16 0xb8b7f9 0xb8baad 0xb8d20a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0xb8b7f8 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).referenceDefinition+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:339 # 0xb8baac github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x24c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:387 # 0xb8d209 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x209 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6784] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4096] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 34560] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 32768] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 16128] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0xb91aff 0xb91bd3 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91afe github.com/mattermost/mattermost/server/public/shared/markdown.trimBytesFromRanges+0x79e github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:139 # 0xb91bd2 github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0x872 github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:63 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 98304] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32768] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 37888] @ 0x48dd2c 0x4930f3 0xb91516 0xb9141f 0xb90f1a 0xb872b9 0xb87c30 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91515 strings.(*Builder).WriteString+0x1b5 strings/builder.go:114 # 0xb9141e github.com/mattermost/mattermost/server/public/shared/markdown.parseReferenceDefinition+0xbe github.com/mattermost/mattermost/server/public/shared/markdown/reference_definition.go:31 # 0xb90f19 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Close+0x119 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:47 # 0xb872b8 github.com/mattermost/mattermost/server/public/shared/markdown.closeBlocks+0x98 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:42 # 0xb87c2f github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x7ef github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:123 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0xb87a59 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87a58 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x618 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:98 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x25d4689 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x25d4688 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1109 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0xb57775 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb57774 encoding/gob.(*Decoder).decodeMap+0x2f4 encoding/gob/decode.go:604 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e0f6 0x48e0dd 0x520e51 0xb5759d 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb5759c encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 376832] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x5cfa0b 0x5cf9db 0x5cf904 0x5ccbc4 0x5cd01c 0x5ca685 0x5cf6cf 0x5cf638 0x5ccbc4 0x5cd01c 0x5ca685 0x5cf517 0x5d5a3e 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5cfa0a vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x2aa vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x5cf9da vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x27a vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x5cf903 crypto/ecdsa.addASN1IntBytes.func1+0x1a3 crypto/ecdsa/ecdsa.go:487 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5ca684 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x1a4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5cf6ce crypto/ecdsa.addASN1IntBytes+0x6e crypto/ecdsa/ecdsa.go:483 # 0x5cf637 crypto/ecdsa.encodeSignature.func1+0x57 crypto/ecdsa/ecdsa.go:468 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5ca684 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x1a4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5cf516 crypto/ecdsa.encodeSignature+0x96 crypto/ecdsa/ecdsa.go:466 # 0x5d5a3d crypto/ecdsa.signFIPS[...]+0x13d crypto/ecdsa/ecdsa.go:423 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x493087 0xc919a8 0xc9194b 0xc9187b 0x255e00a 0x2588ef9 0x25835cc 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc919a7 github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys-range1+0x147 github.com/mattermost/mattermost/server/public/model/user.go:624 # 0xc9194a github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys.SplitSeq.splitSeq.func1+0xea strings/iter.go:54 # 0xc9187a github.com/mattermost/mattermost/server/public/model.(*User).GetMentionKeys+0x1a github.com/mattermost/mattermost/server/public/model/user.go:617 # 0x255e009 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x1a9 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:57 # 0x2588ef8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1557 # 0x25835cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x92b github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1083 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1974b69 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1974b68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1836 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19de407 0x191e6af 0x191e51b 0x1867292 0x218a2b6 0x21187a4 0x24f69d7 0x2621a65 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x191e6ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191e51a 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 # 0x1867291 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5262 # 0x218a2b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4314 # 0x21187a3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x3c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x24f69d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x216 github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2621a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:740 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0d309 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1963677 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1963676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:315 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1a0ab31 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0ab30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x1b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:688 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19deec6 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a1bf7 0x19de5b4 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a1bf6 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x19de5b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:405 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 106496] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 106496] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 262144] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc64567 0x2826808 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc64566 github.com/mattermost/mattermost/server/public/model.(*PostSearchResults).EncodeJSON+0x86 github.com/mattermost/mattermost/server/public/model/post_search_results.go:34 # 0x2826807 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0xea7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1015 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x4930f3 0xb88f93 0xb87b76 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88f92 github.com/mattermost/mattermost/server/public/shared/markdown.(*FencedCode).AddLine+0x192 github.com/mattermost/mattermost/server/public/shared/markdown/fenced_code.go:71 # 0xb87b75 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x735 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:105 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16384] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13056] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1979319 0x1979298 0x1980dd0 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1979318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1979297 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).search+0xef7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2284 # 0x1980dcf 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:2852 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19caafc 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19caafb 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 384] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 163840] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28a7866 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28a7865 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a2ba9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a2ba8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:373 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x196a185 0x196a12a 0x196a138 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x196a184 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x164 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x196a129 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x196a137 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:921 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0xb8aa4b 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8aa4a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x30a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0x26231a5 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0x26231a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:894 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x128725c 0x12ebcf2 0x25e903c 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x128725b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x7b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:462 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25e903b github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x91b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xb8d2c6 0xb8d37b 0xb8d27b 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d2c5 container/list.New+0x65 container/list/list.go:62 # 0xb8d37a github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb8d27a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 65536] @ 0x48dd2c 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 1703936] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x1313d27 0x1313cf2 0x1313e24 0x1313e2b 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1313d26 bufio.NewReaderSize+0x86 bufio/bufio.go:56 # 0x1313cf1 bufio.NewReader+0x51 bufio/bufio.go:63 # 0x1313e23 image.asReader+0x183 image/format.go:55 # 0x1313e2a image.Decode+0x18a image/format.go:88 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x184bbd1 0x184bc90 0x18e61ae 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184bbd0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x184bc8f github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x18e61ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x281b90b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x281b90a github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x1ea github.com/mattermost/mattermost/server/v8/channels/api4/post.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3694592] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19de5e5 0x19846cd 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19de5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:406 # 0x19846cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0xcec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3142 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x428505 0x7bf196 0x7bec52 0xc9e930 0x25f05a5 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf195 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:597 # 0x7bec51 regexp.(*Regexp).ReplaceAllString+0xd1 regexp/regexp.go:557 # 0xc9e92f github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:757 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x128c1e9 0x128c1d1 0x12ec124 0x25f2f9a 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x25f09b7 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x128c1e8 net/rpc.(*Client).Call+0xe8 net/rpc/client.go:321 # 0x128c1d0 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageWillBePosted+0xd0 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:898 # 0x12ec123 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageWillBePosted+0x63 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:94 # 0x25f2f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func4+0x79 github.com/mattermost/mattermost/server/v8/channels/app/post.go:325 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x25f09b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x13d6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:324 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3014656] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a08495 0x1a0844a 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a08494 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5d4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191b54d 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191b54c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:146 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x25efbc2 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x25efbc1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x5e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:235 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296ec45 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296ec44 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x344 crypto/internal/fips140/bigmod/nat.go:1054 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18461d4 0x18442ae 0x1844428 0x1844e7b 0x1844d18 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1844e7a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x19037fa 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19037f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 8192] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18eb44f 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18eb44e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x34e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3171 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0eff0 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0efef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x28f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1049 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x725a96 0x725a81 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x725a95 net/http.cloneURL+0x75 net/http/clone.go:45 # 0x725a80 net/http.(*Client).send+0x60 net/http/client.go:177 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x184afae 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x428505 0xbd7991 0xbd7934 0xc9d313 0xc9d330 0x25916d6 0x2594292 0x2594edf 0x498001 # 0xbd7990 github.com/google/uuid.NewRandomFromReader+0x30 github.com/google/uuid@v1.6.0/version4.go:48 # 0xbd7933 github.com/google/uuid.NewRandom+0x53 github.com/google/uuid@v1.6.0/version4.go:41 # 0xc9d312 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc9d32f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25916d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1975 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:168 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196753a 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1967539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1319 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:710 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x80a34a 0x80b5eb 0x19df0ce 0x19dea8e 0x19deef4 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x80a349 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x80b5ea database/sql.(*Tx).ExecContext+0x4a database/sql/sql.go:2512 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184ce6c 0x184cd9b 0x184ce90 0x18e61d7 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x18e61d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21f2185 0x22065e7 0x21d4da2 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21f2184 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x22065e6 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:660 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19dc7cb 0x19dc6a4 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19dc7ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErrWithResult+0x1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:558 # 0x19dc6a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0xa3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 352] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0x28003da 0x28003c9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28003d9 github.com/mattermost/mattermost/server/public/model.MapToJSON+0x399 github.com/mattermost/mattermost/server/public/model/utils.go:496 # 0x28003c8 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x388 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:50 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x25dc4b5 0x809dde 0x25dc1c5 0x12e158a 0x51716c 0x516019 0xb75014 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x25dc4b4 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dc1c4 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnExec+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:133 # 0x12e1589 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnExec+0x49 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x428505 0xc9da99 0xc9dac3 0x28518e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9da98 encoding/json.NewDecoder+0x38 encoding/json/stream.go:34 # 0xc9dac2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x62 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28518e5 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:90 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xb5759d 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb5759c encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x19038ad 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19038ac github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc2c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x196413a 0x19640df 0x19640ed 0x1963950 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1964139 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x3b9 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19640de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x35e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19640ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x36c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:371 # 0x196394f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2b4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:333 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a2d625 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2d624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1763 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1a06e8f 0x1309f10 0x498001 # 0x1a06e8e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x26e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2833045 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2833044 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f251 0x281f87c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f250 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xd0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x281f87b github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xcfb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:431 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x21f2231 0x21f9e0b 0x21d4da2 0x498001 # 0x21f2230 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:278 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x6072fb 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x6072fa net.(*sysDialer).dialParallel.func1+0x7a net/dial.go:676 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x19f1e45 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f1e44 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x104 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19c9f75 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c9f74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessions+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:130 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x184bfac 0x194534d 0x194531e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x194534c github.com/mattermost/squirrel.StatementBuilderType.Update+0x10c github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x194531d 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x281753a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2817539 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:273 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184ab0e 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184ab0d github.com/mattermost/squirrel.(*updateData).ToSql+0x64d github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x428505 0x125f9a7 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125f9a6 github.com/lib/pq.newConfig+0x86 github.com/lib/pq@v1.12.3/connector.go:545 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x7977c8 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x7977c7 net/http.(*persistConn).roundTrip+0x627 net/http/transport.go:2881 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 1056] @ 0x48dd05 0x492ae9 0x1846885 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18e13e7 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e13e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2352 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x7911a6 0x790332 0x790175 0x498001 # 0x7911a5 net/http.(*Transport).dialConn+0x105 net/http/transport.go:1773 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x4cdcd8 0x4cdcd9 0x1cc83ca 0x1cc521b 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x4cdcd7 path.(*lazybuf).string+0x6b7 path/path.go:50 # 0x4cdcd8 path.Clean+0x6b8 path/path.go:137 # 0x1cc83c9 github.com/gorilla/mux.cleanPath+0x49 github.com/gorilla/mux@v1.8.1/mux.go:471 # 0x1cc521a github.com/gorilla/mux.(*Router).ServeHTTP+0x7a github.com/gorilla/mux@v1.8.1/mux.go:182 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x4752f7 0x69532b 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x69532a crypto/tls.(*weakCertCache).newCert+0x10a crypto/tls/cache.go:32 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1267dbb 0x1267d38 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1267dba strings.NewReplacer+0x19a strings/replace.go:36 # 0x1267d37 github.com/lib/pq.convertURL+0x117 github.com/lib/pq@v1.12.3/connector.go:1126 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x52d66a 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x258c5ae 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x52d669 fmt.errorf+0xc9 fmt/errors.go:42 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x258c5ad github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x15ad github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:137 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x195d885 0x195d7fc 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x195d884 github.com/mattermost/squirrel.SelectBuilder.From+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x195d7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:54 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19caa6d 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19caa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1955291 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1955290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x250 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:212 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd2c 0x475974 0x475486 0x4ce247 0x122368b 0x122366f 0x1222afa 0x1222754 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4ce246 io.WriteString+0x66 io/io.go:318 # 0x122368a gopkg.in/mail%2ev2.(*messageWriter).writeString+0x4a gopkg.in/mail.v2@v2.3.1/writeto.go:168 # 0x122366e gopkg.in/mail%2ev2.(*messageWriter).writeHeader+0x2e gopkg.in/mail.v2@v2.3.1/writeto.go:173 # 0x1222af9 gopkg.in/mail%2ev2.(*messageWriter).openMultipart+0x199 gopkg.in/mail.v2@v2.3.1/writeto.go:89 # 0x1222753 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x193 gopkg.in/mail.v2@v2.3.1/writeto.go:35 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0x53f1a7 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x53f1a6 strings.(*Replacer).build+0x366 strings/replace.go:88 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a1e165 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:572 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x192106d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x192106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x18411a5 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18411a4 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 768] @ 0x48dd05 0x493087 0x26213ee 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26213ed github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:696 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb905eb 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb905ea github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x2ca github.com/mattermost/mattermost/server/public/shared/markdown/list.go:207 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x27d74ad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x27d74ac github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x28c github.com/mattermost/mattermost/server/v8/channels/api4/file.go:531 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0xbd95bf 0xbdf393 0x28eb6ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd95be github.com/gorilla/websocket.newConn+0x11e github.com/gorilla/websocket@v1.5.3/conn.go:306 # 0xbdf392 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x28eb6eb github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xab github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6ba94e 0x6ba7e0 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6ba94d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x190d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6ba7df crypto/tls.(*clientHelloMsg).marshalMsg+0x179f crypto/tls/handshake_messages.go:195 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x428505 0x802dbd 0x802367 0x804430 0x498001 # 0x802dbc database/sql.(*DB).removeDepLocked+0xdc database/sql/sql.go:789 # 0x802366 database/sql.(*driverConn).Close+0x106 database/sql/sql.go:672 # 0x80442f database/sql.(*DB).connectionCleaner+0x18f database/sql/sql.go:1121 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x298a291 0x298a7b7 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x298a290 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x298a7b6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 1408] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x730d0c 0x730ca1 0x730694 0x730127 0x2738d91 0x27d8727 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730d0b net/textproto.MIMEHeader.Set+0xacb net/textproto/header.go:22 # 0x730ca0 net/http.Header.Set+0xa60 net/http/header.go:40 # 0x730693 net/http.serveContent+0x453 net/http/fs.go:396 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d8726 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x1506 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:627 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x191e6af 0x191e51b 0x1867292 0x218a2b6 0x21187a4 0x24f69d7 0x2621a65 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191e6ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191e51a 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 # 0x1867291 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5262 # 0x218a2b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4314 # 0x21187a3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x3c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x24f69d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x216 github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2621a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:740 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x428505 0x70a371 0x97de4f 0x97d576 0x1330d17 0x1330d01 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x70a370 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1330d16 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x1330d00 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x220a009 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x220a008 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xbe8 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128697 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128696 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x976 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x2223170 0x262e6da 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x222316f github.com/reflog/dateconstraints.NewConstraint+0x38f github.com/reflog/dateconstraints@v0.2.1/constraints.go:52 # 0x262e6d9 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x639 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:68 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212b56a 0x249b6a5 0x249b090 0x2478173 0x28adf3d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249b6a4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x28adf3c github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1368 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5704f3 0xccbe25 0xccbdf9 0x24ee1dd 0x24ee1de 0xccbda2 0x276dd8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0xccbe24 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0xccbdf8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x24ee1dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x24ee1dd github.com/mattermost/mattermost/server/v8/channels/app.RequestContextWithMaster+0x1d github.com/mattermost/mattermost/server/v8/channels/app/context.go:15 # 0xccbda1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).With+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:195 # 0x276dd8c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1935 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 10493952] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 160] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 3456] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 1564672] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1792] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x27d958f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x27d958e github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xc8e github.com/mattermost/mattermost/server/v8/channels/api4/file.go:700 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x25ee0a9 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x25ee0a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0xa8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:42 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1720320] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 163840] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a4085 0x6a4086 0x7944e7 0x57b842 0x4ceb03 0x7885db 0x7884df 0x7987bc 0x729a4a 0x4ceb03 0x4cf8f3 0x90a3dc 0x9167ad 0x9165d1 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a4084 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:588 # 0x6a4085 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1393 # 0x7944e6 net/http.(*persistConn).Read+0x46 net/http/transport.go:2174 # 0x57b841 bufio.(*Reader).Read+0xe1 bufio/bufio.go:231 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x7885da net/http.(*body).readLocked+0x3a net/http/transfer.go:845 # 0x7884de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x7987bb net/http.(*bodyEOFSignal).Read+0x13b net/http/transport.go:3075 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf8f2 io.(*multiReader).Read+0x92 io/multi.go:26 # 0x90a3db golang.org/x/text/transform.(*Reader).Read+0x3db golang.org/x/text@v0.37.0/transform/transform.go:199 # 0x9167ac golang.org/x/net/html.readAtLeastOneByte+0x6c golang.org/x/net@v0.54.0/html/token.go:299 # 0x9165d0 golang.org/x/net/html.(*Tokenizer).readByte+0x250 golang.org/x/net@v0.54.0/html/token.go:273 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1048576] @ 0x48dd33 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1a0ae46 0x1a0ad75 0x1a0ad63 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0ae45 github.com/lann/builder.Append+0x4c5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0ad74 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3f4 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0ad62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x3e2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:691 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1939cae 0x1939c00 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1939cad github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xb6d github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1939bff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xabf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1551 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 65536] @ 0x48dd33 0x492ae9 0x9163fe 0x916926 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916925 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.54.0/html/token.go:337 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x196a2ee 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x190448a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904489 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x269 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:502 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x261b67d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2688] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x191a065 0x191a053 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191a064 github.com/mattermost/squirrel.StatementBuilderType.Select+0x204 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191a052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0d245 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1a0d244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:802 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5f1f 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5f1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:155 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f1e3f 0x19f1e20 0x19f71a5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f1e3e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xfe github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x7bf451 0x7bef4b 0x19df367 0x19a2ade 0x199e9ee 0x187d032 0x21a30eb 0x2120972 0x263960a 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf450 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:608 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19df366 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:470 # 0x19a2add github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).saveReactionAndUpdatePost+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:365 # 0x199e9ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x1ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:53 # 0x187d031 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10989 # 0x21a30ea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8742 # 0x2120971 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 # 0x2639609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x569 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:78 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x493087 0xb8e5e6 0xb8e56a 0xb8e4b6 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e5e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock-range1+0x445 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:64 # 0xb8e569 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock.Backward[...].func1+0x3c9 slices/iter.go:29 # 0xb8e4b5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x315 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:63 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x80a34a 0x80b7b1 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x80a349 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x80b7b0 database/sql.(*Tx).QueryContext+0x50 database/sql/sql.go:2530 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [2: 128] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x492ae9 0x1336065 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1336064 image/png.(*encoder).writeImage+0x464 image/png/writer.go:353 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 98304] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 163840] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 1212416] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e5ae5 0x18e59de 0x18e5af9 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5ae4 github.com/lann/builder.Append+0x884 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e59dd github.com/mattermost/squirrel.UpdateBuilder.Set+0x77d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5af8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x898 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2771 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2056192] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212b56a 0x2479d5d 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x2479d5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x9c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c6297 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c6296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:170 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19eb40f 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19eb40e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:94 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e5845 0x18e5752 0x18e5751 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5844 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5751 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4f1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5750 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x4f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2769 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fb2d 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x2605fbf 0x282c9d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fb2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x2605fbe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x1de github.com/mattermost/mattermost/server/v8/channels/app/post.go:2272 # 0x282c9cf github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x4af github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1575 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x282c6b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x282c6b6 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1549 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3072] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x1846034 0x19396d1 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19396d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1499 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1969ca5 0x1969b91 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1969ca4 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x20c4 github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x1969b90 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1fb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:910 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28244d8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28244d7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x2b7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de990 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de98f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:419 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x276d085 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276d084 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1871 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x1a0c42c 0x1a0c383 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c42b github.com/mattermost/squirrel.UpdateBuilder.Set+0x5ab github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0c382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:746 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x6bee2e 0x6becef 0x6becf4 0x5ccbc4 0x5cd01c 0x6bec74 0x6bec53 0x5ccbc4 0x5cd01c 0x6ba94e 0x6ba7e0 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6bee2d vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18d vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6becee vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x4e vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6becf3 crypto/tls.(*clientHelloMsg).marshalMsg.func8.1+0x53 crypto/tls/handshake_messages.go:198 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bec73 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bec52 crypto/tls.(*clientHelloMsg).marshalMsg.func8+0x12 crypto/tls/handshake_messages.go:196 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6ba94d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x190d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6ba7df crypto/tls.(*clientHelloMsg).marshalMsg+0x179f crypto/tls/handshake_messages.go:195 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184abb9 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184abb8 github.com/mattermost/squirrel.(*updateData).ToSql+0x6f8 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x428505 0x27266ff 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x27266fe github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1ade github.com/mattermost/mattermost/server/v8/channels/web/params.go:276 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8e5e6 0xb8e56a 0xb8e4b6 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e5e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock-range1+0x445 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:64 # 0xb8e569 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock.Backward[...].func1+0x3c9 slices/iter.go:29 # 0xb8e4b5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x315 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:63 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x196a2ee 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x475974 0x475486 0x4ce247 0x122368b 0x122366f 0x122402b 0x12226d7 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4ce246 io.WriteString+0x66 io/io.go:318 # 0x122368a gopkg.in/mail%2ev2.(*messageWriter).writeString+0x4a gopkg.in/mail.v2@v2.3.1/writeto.go:168 # 0x122366e gopkg.in/mail%2ev2.(*messageWriter).writeHeader+0x2e gopkg.in/mail.v2@v2.3.1/writeto.go:173 # 0x122402a gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x10a gopkg.in/mail.v2@v2.3.1/writeto.go:252 # 0x12226d6 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x116 gopkg.in/mail.v2@v2.3.1/writeto.go:28 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x54d4e5 0x1cd08ca 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x1cd08c9 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:83 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979daf 0x2979d33 0x297343f 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x2979d32 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:58 # 0x297343e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:170 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x19f7de5 0x19f7d86 0x19f7d94 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x19f7de4 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19f7d85 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19f7d93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1171 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x428505 0x1a08ed7 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08ed6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:606 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1966e7d 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1966e7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0xc5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:680 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd0c 0x492ae9 0x7bb33d 0x7bd165 0x7bd54f 0x7be04c 0x7be040 0x1164e3e 0x116664e 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7bb33c regexp.onePassCopy+0x3c regexp/onepass.go:226 # 0x7bd164 regexp.compileOnePass+0x1a4 regexp/onepass.go:499 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1164e3d github.com/JalfResi/justext.paragraphObjectModel+0x7d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/paragraphObjectModel.go:70 # 0x116664d github.com/JalfResi/justext.(*Reader).ReadAll+0x8d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:56 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 256] @ 0x48dd2c 0x4752f7 0x5305e6 0x183e486 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183e485 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x196754f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196754e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:715 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26390f0 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26390ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:19 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x18e5958 0x18e5867 0x18e5866 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5957 github.com/lann/builder.Append+0x6f7 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5866 github.com/mattermost/squirrel.UpdateBuilder.Set+0x606 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5865 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2770 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0d135 0x1a0d0b7 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0d134 github.com/mattermost/squirrel.SelectBuilder.From+0x214 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 2688] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x255e065 0x2588ef9 0x25835cc 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255e064 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x204 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x2588ef8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1557 # 0x25835cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x92b github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1083 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184bc6c 0x184bb9b 0x184bc90 0x18e61ae 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184bc6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184bb9a github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x184bc8f github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x18e61ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x2593a68 0x259ad0b 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x2593a67 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPushNotificationMessage+0x147 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:273 # 0x259ad0a github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0xa8a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:881 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x48d725 0x18468ff 0x1968205 0x19681d1 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1968204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x624 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19681d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x5f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:781 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x199a811 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x199a810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:148 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a0cff2 0x1a0cf98 0x1a0cf8e 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0cff1 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xd1 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0cf97 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0cf8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:790 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1a0abf1 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0abf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:689 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x492ae9 0xca1cc8 0xca1c02 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1cc7 github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:215 # 0xca1c01 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:319 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 10752] @ 0x48dd2c 0x4752f7 0x695577 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695576 crypto/tls.(*weakCertCache).newCert+0x356 crypto/tls/cache.go:33 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd05 0x428505 0x61dc4c 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x61dc4b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x1a0d0b6 0x1a0d0a4 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x4c7afa 0x4c67ea 0x4c7471 0x4c7567 0x4c5130 0x13953c5 0x258e730 0x258b706 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x4c7af9 time.readFile+0x1d9 time/zoneinfo_read.go:589 # 0x4c67e9 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4c7470 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4c7566 time.loadLocation+0xa6 time/zoneinfo_read.go:533 # 0x4c512f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x13953c4 github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2c4 github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x258e72f github.com/mattermost/mattermost/server/v8/channels/app.getNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:289 # 0x258b705 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x705 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:68 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a0d0b6 0x1a0d0a4 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [3: 432] @ 0x48dd05 0x428505 0x26bc8fa 0x26bc89f 0x27372f9 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bc8f9 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xb9 github.com/mattermost/mattermost/server/public/model/websocket_message.go:293 # 0x26bc89e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x5e github.com/mattermost/mattermost/server/v8/channels/app/user.go:2801 # 0x27372f8 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x4d8 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e14ea 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e14e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x189 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2351 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bb37a 0x6bb207 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bb379 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2339 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb206 crypto/tls.(*clientHelloMsg).marshalMsg+0x21c6 crypto/tls/handshake_messages.go:257 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 288] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19de5e5 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19de5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:406 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1cf5a33 0x258f446 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x1cf5a32 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).NewEmailTemplateData+0x432 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:868 # 0x258f445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x465 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:371 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a078b6 0x1a0783d 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a078b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x455 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0783c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:519 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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: 416] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x133ee8d 0x137d976 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x133ee8c github.com/yuin/goldmark/text.NewReader+0x2c github.com/yuin/goldmark@v1.8.2/text/reader.go:115 # 0x137d975 github.com/yuin/goldmark.(*markdown).Convert+0x55 github.com/yuin/goldmark@v1.8.2/markdown.go:116 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a2d625 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2d624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1763 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x286dd58 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x286dd57 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x57 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:683 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x25e8e0d 0x25e8d82 0x25e8d6e 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x246b565 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25e8e0c net/textproto.MIMEHeader.Set+0x6ec net/textproto/header.go:22 # 0x25e8d81 net/http.Header.Set+0x661 net/http/header.go:40 # 0x25e8d6d github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x64d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:93 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x246b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x44 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:55 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e1e65 0x185c851 0x217de5d 0x2478e43 0x283c251 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2430 # 0x185c850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2478 # 0x217de5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2099 # 0x2478e42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:212 # 0x283c250 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19394f7 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19394f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x3b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1494 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x8078a5 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8078a4 database/sql.(*DB).execDC+0x4c4 database/sql/sql.go:1719 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x26b730c 0x28a7413 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x26b730b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFilteredUsersStats+0x10b github.com/mattermost/mattermost/server/v8/channels/app/user.go:2283 # 0x28a7412 github.com/mattermost/mattermost/server/v8/channels/api4.getFilteredUsersStats+0x8b2 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:796 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1902fb5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902fb4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:411 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x1bce555 0x1bcf196 0x1be66c5 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bce554 github.com/klauspost/compress/zstd.(*blockEnc).encodeLits+0x174 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:349 # 0x1bcf195 github.com/klauspost/compress/zstd.(*blockEnc).encode+0xd5 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:502 # 0x1be66c4 github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x4a4 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:593 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd2c 0x4930f3 0x1bc2f1b 0x1bc2edc 0x1bc3513 0x1bc2851 0x1bc223e 0x1bcf4c5 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc2f1a github.com/klauspost/compress/huff0.(*bitWriter).flush32+0x1ba github.com/klauspost/compress@v1.18.6/huff0/bitwriter.go:76 # 0x1bc2edb github.com/klauspost/compress/huff0.(*Scratch).compress1xDo+0x17b github.com/klauspost/compress@v1.18.6/huff0/compress.go:257 # 0x1bc3512 github.com/klauspost/compress/huff0.(*Scratch).compress4X+0x1f2 github.com/klauspost/compress@v1.18.6/huff0/compress.go:287 # 0x1bc2850 github.com/klauspost/compress/huff0.compress+0x5d0 github.com/klauspost/compress@v1.18.6/huff0/compress.go:150 # 0x1bc223d github.com/klauspost/compress/huff0.Compress4X+0x7d github.com/klauspost/compress@v1.18.6/huff0/compress.go:40 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x1be1108 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x1be1108 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x1bc8e46 0x1bc21f7 0x1bcf4c5 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc8e45 github.com/klauspost/compress/huff0.(*Scratch).prepare+0x105 github.com/klauspost/compress@v1.18.6/huff0/huff0.go:160 # 0x1bc21f6 github.com/klauspost/compress/huff0.Compress4X+0x36 github.com/klauspost/compress@v1.18.6/huff0/compress.go:28 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0x1be1892 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1891 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0xd51 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:159 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 524288] @ 0x48dd33 0x492ae9 0x1bd69cc 0x1bd6a16 0x1be0bc5 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bd69cb github.com/klauspost/compress/zstd.(*fastBase).ensureHist+0xab github.com/klauspost/compress@v1.18.6/zstd/enc_base.go:100 # 0x1bd6a15 github.com/klauspost/compress/zstd.(*fastBase).addBlock+0xf5 github.com/klauspost/compress@v1.18.6/zstd/enc_base.go:64 # 0x1be0bc4 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x84 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:69 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1be3e34 0x26fff8d 0x2701b47 0x27013fe 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be3e33 github.com/klauspost/compress/zstd.(*Encoder).Reset+0x73 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:101 # 0x26fff8c github.com/klauspost/compress/gzhttp/writer/zstdkp.NewWriter+0x8c github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:66 # 0x2701b46 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x86 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:406 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0x1be1108 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 28672] @ 0x48dd2c 0x4930f3 0x1bc300d 0x1bc3061 0x1bc3513 0x1bc2851 0x1bc223e 0x1bcf4c5 0x1be4ee5 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc300c github.com/klauspost/compress/huff0.(*bitWriter).flush32+0x2ac github.com/klauspost/compress@v1.18.6/huff0/bitwriter.go:76 # 0x1bc3060 github.com/klauspost/compress/huff0.(*Scratch).compress1xDo+0x300 github.com/klauspost/compress@v1.18.6/huff0/compress.go:259 # 0x1bc3512 github.com/klauspost/compress/huff0.(*Scratch).compress4X+0x1f2 github.com/klauspost/compress@v1.18.6/huff0/compress.go:287 # 0x1bc2850 github.com/klauspost/compress/huff0.compress+0x5d0 github.com/klauspost/compress@v1.18.6/huff0/compress.go:150 # 0x1bc223d github.com/klauspost/compress/huff0.Compress4X+0x7d github.com/klauspost/compress@v1.18.6/huff0/compress.go:40 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x1be238d 0x1be660d 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be238c github.com/klauspost/compress/zstd.(*fastEncoder).EncodeNoHist+0x96c github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:521 # 0x1be660c github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x3ec github.com/klauspost/compress@v1.18.6/zstd/encoder.go:582 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1be9c77 0x1be9b66 0x1bea7de 0x1bcfdda 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be9c76 github.com/klauspost/compress/zstd.(*fseEncoder).allocCtable+0x176 github.com/klauspost/compress@v1.18.6/zstd/fse_encoder.go:96 # 0x1be9b65 github.com/klauspost/compress/zstd.(*fseEncoder).buildCTable+0x65 github.com/klauspost/compress@v1.18.6/zstd/fse_encoder.go:107 # 0x1bea7dd github.com/klauspost/compress/zstd.(*fseEncoder).normalizeCount+0x21d github.com/klauspost/compress@v1.18.6/zstd/fse_encoder.go:329 # 0x1bcfdd9 github.com/klauspost/compress/zstd.(*blockEnc).encode+0xd19 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:618 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x1be1108 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0x1be1212 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1211 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x6d1 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:243 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x6bc0dd 0x6bbff9 0x6bbfef 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6bc0dc vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x309c vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bbff8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8+0x2fb8 vendor/golang.org/x/crypto/cryptobyte/builder.go:79 # 0x6bbfee crypto/tls.(*clientHelloMsg).marshalMsg+0x2fae crypto/tls/handshake_messages.go:347 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb906ae 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb906ad github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x38d github.com/mattermost/mattermost/server/public/shared/markdown/list.go:214 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd2c 0x4930f3 0x1bd0ca5 0x1bd0d30 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bd0ca4 github.com/klauspost/compress/zstd.(*bitWriter).flush32+0x1be4 github.com/klauspost/compress@v1.18.6/zstd/bitwriter.go:79 # 0x1bd0d2f github.com/klauspost/compress/zstd.(*blockEnc).encode+0x1c6f github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:795 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1be9c77 0x1be9b66 0x1bea7de 0x1bcfdda 0x1be66c5 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be9c76 github.com/klauspost/compress/zstd.(*fseEncoder).allocCtable+0x176 github.com/klauspost/compress@v1.18.6/zstd/fse_encoder.go:96 # 0x1be9b65 github.com/klauspost/compress/zstd.(*fseEncoder).buildCTable+0x65 github.com/klauspost/compress@v1.18.6/zstd/fse_encoder.go:107 # 0x1bea7dd github.com/klauspost/compress/zstd.(*fseEncoder).normalizeCount+0x21d github.com/klauspost/compress@v1.18.6/zstd/fse_encoder.go:329 # 0x1bcfdd9 github.com/klauspost/compress/zstd.(*blockEnc).encode+0xd19 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:618 # 0x1be66c4 github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x4a4 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:593 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 384] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 12288] @ 0x48dd2c 0x4930f3 0x1bd092b 0x1bd08c0 0x1be66c5 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bd092a github.com/klauspost/compress/zstd.(*bitWriter).flush32+0x186a github.com/klauspost/compress@v1.18.6/zstd/bitwriter.go:79 # 0x1bd08bf github.com/klauspost/compress/zstd.(*blockEnc).encode+0x17ff github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:761 # 0x1be66c4 github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x4a4 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:593 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 12288] @ 0x48dd2c 0x4930f3 0x1be1f4f 0x1be660d 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1f4e github.com/klauspost/compress/zstd.(*fastEncoder).EncodeNoHist+0x52e github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:475 # 0x1be660c github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x3ec github.com/klauspost/compress@v1.18.6/zstd/encoder.go:582 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x195d9a8 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195d9a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c60ff 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c60fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:161 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19dbd10 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x1b8e506 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:147 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 90112] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 1605632] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x18e8852 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x18e8851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x991 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2987 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x191a0ef 0x191a066 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x191a0ee github.com/mattermost/squirrel.SelectBuilder.From+0x28e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x191a065 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:69 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56fc78 0x605fc5 0x605f98 0x60575b 0x130c9bf 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56fc77 context.WithDeadlineCause+0x137 context/context.go:643 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x130c9be github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x35e github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:164 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53831f 0x5378db 0x125afef 0x125af61 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53831e fmt.newScanState+0x3e fmt/scan.go:384 # 0x5378da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x125afee fmt.Sscanf+0x3ee fmt/scan.go:114 # 0x125af60 github.com/lib/pq.(*conn).processParameterStatus+0x360 github.com/lib/pq@v1.12.3/conn.go:1563 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x662aaa 0x662997 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x662aa9 crypto/x509.newPolicyGraphNode+0x2189 crypto/x509/verify.go:1054 # 0x662996 crypto/x509.policiesValid+0x2076 crypto/x509/verify.go:1275 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 49152] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21191b9 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21191b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:56 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x258cab4 0x257f730 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x258cab3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x1939b85 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1939b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xa44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1545 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x18e231f 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e231e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc977d7 0xc977d8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc977d6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x756 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc977d7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x757 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a2935b 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1a2935a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x557466 0x556e3d 0x5469d4 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x18d0f25 0x18d0ecd 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d0f24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d0ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x2625248 0x2623195 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x2625247 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x27 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1076 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0x17d9f45 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27d8ee5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17d9f44 os.Open+0x64 os/file.go:390 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27d8ee4 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x25ee9d0 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x25ee9cf github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x8f github.com/mattermost/mattermost/server/v8/channels/app/post.go:100 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x24793e7 0x27890bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x24793e6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToCategory+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:243 # 0x27890bc github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x1bc github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:323 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1974a65 0x1974a36 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1974a64 github.com/mattermost/squirrel.StatementBuilderType.Select+0x4a4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1974a35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1834 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e2fb 0x56e2dd 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e2fa context.withCancel+0x3a context/context.go:277 # 0x56e2dc context.WithCancelCause+0x1c context/context.go:269 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x7873b1 0x7873f4 0x76eae5 0x796331 0x79515d 0x498001 # 0x7873b0 io.LimitReader+0x530 io/io.go:461 # 0x7873f3 net/http.readTransfer+0x573 net/http/transfer.go:573 # 0x76eae4 net/http.ReadResponse+0x3e4 net/http/response.go:199 # 0x796330 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2518 # 0x79515c net/http.(*persistConn).readLoop+0x2dc net/http/transport.go:2345 0: 0 [1: 320] @ 0x48dd05 0x428505 0x21fd925 0x21fd914 0x21fd894 0x21fdb4c 0x21fe952 0x2206a3d 0x2204f3a 0x2204837 0x498001 # 0x21fd924 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xc4 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0x21fd913 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0xb3 github.com/mattermost/mattermost/server/public/shared/request/context.go:126 # 0x21fd893 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsMFAAuthenticated+0x33 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:813 # 0x21fdb4b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x2b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2204f39 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x6d9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:746 # 0x2204836 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:791 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf1604 0xbf1605 0xbedde5 0xbeeb75 0xbee9dc 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf1603 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf1604 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xbedde4 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x184 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:206 # 0xbeeb74 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xbee9db github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184ad06 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0xc3a097 0xc58bf5 0xc58b16 0x1961216 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc3a096 github.com/mattermost/mattermost/server/public/model.(*Post).GenerateActionIds+0x36 github.com/mattermost/mattermost/server/public/model/integration_action.go:891 # 0xc58bf4 github.com/mattermost/mattermost/server/public/model.(*Post).PreCommit+0xb4 github.com/mattermost/mattermost/server/public/model/post.go:662 # 0xc58b15 github.com/mattermost/mattermost/server/public/model.(*Post).PreSave+0x95 github.com/mattermost/mattermost/server/public/model/post.go:646 # 0x1961215 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x415 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:171 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 10880] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a08245 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x18e6165 0x18e60b2 0x18e5fd9 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x18e6164 github.com/lann/builder.Append+0xf04 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e60b1 github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xe51 github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x18e5fd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2775 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x191fcac 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fcab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x255e065 0x2606e85 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255e064 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x204 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x2606e84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2399 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a078b6 0x1a0783d 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a078b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x455 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0783c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:519 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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: 256] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1939715 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1939714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x5d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1504 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x17ef069 0x17ef057 0x26ade2b 0x26bed13 0x26bec05 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef068 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:5186 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26bed12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1f2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bec04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2999 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x193969c 0x19396cd 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x193969b github.com/mattermost/squirrel.SelectBuilder.PlaceholderFormat+0x55b github.com/mattermost/squirrel@v0.5.0/select.go:177 # 0x19396cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x58c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1499 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x546a79 0x26d22dc 0x26c460f 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x26d22db github.com/mattermost/mattermost/server/v8/channels/app.getTypedArg[...]+0xbb github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:593 # 0x26c460e github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x1ee github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:135 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979daf 0x29796a9 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x29796a8 crypto/internal/fips140/ecdsa.newDRBG[...]+0x188 crypto/internal/fips140/ecdsa/hmacdrbg.go:71 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x54295f 0x8fc1d4 0x8fc16b 0x27169c5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc1d3 strings.Split+0xd3 strings/strings.go:361 # 0x8fc16a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x5d0c25 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5d0c24 crypto/ecdsa.Sign+0x64 crypto/ecdsa/ecdsa_legacy.go:75 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a080fe 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a080fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x23d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:559 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 832] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x257a8c5 0x257a80c 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x257a8c4 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0xc784 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x257a80b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc6cb github.com/mattermost/mattermost/server/v8/channels/app/notification.go:873 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3456] @ 0x48dd2c 0x4930f3 0x54d4e5 0x257a592 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x257a591 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:863 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xc924f9 0xc92473 0x26ade3d 0x257a4a9 0x257a22b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc924f8 github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0x98 github.com/mattermost/mattermost/server/public/model/user.go:739 # 0xc92472 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:746 # 0x26ade3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1331 # 0x257a4a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0xc368 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x257a22a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0ea github.com/mattermost/mattermost/server/v8/channels/app/notification.go:844 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0x7bf451 0x7bef4b 0x19dbe07 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf450 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:608 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 224] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x197268b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197268a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x14a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1689 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184ad06 0x184babf 0x19deec6 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x18e53b0 0x18e5381 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e53af github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e5380 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2761 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x18cee70 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cee6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x20f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:982 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19644e5 0x1964476 0x1963950 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19644e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x764 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1964475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:378 # 0x196394f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2b4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:333 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x428505 0x69ab05 0x6b6fa5 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x69ab04 crypto/tls.supportedSignatureAlgorithms+0x24 crypto/tls/common.go:1753 # 0x6b6fa4 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x2e4 crypto/tls/handshake_client_tls13.go:656 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a0c57d 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c57c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x6fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:749 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1974c52 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1974c51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x691 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1838 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x18d7055 0x18d702a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18d7054 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d7029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x28aff05 0x28af9d3 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28aff04 github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x6a4 github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x28af9d2 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x172 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1537 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02c11 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 12288] @ 0x48dd0c 0x493087 0x7aa99b 0x7aa9e0 0x7a8f19 0x7a9e0f 0x7a9e0f 0x7a8acb 0x7bd537 0x7beaf0 0x7beae4 0x2622ec5 0x262342d 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7a8f18 regexp/syntax.(*compiler).compile+0x2b8 regexp/syntax/compile.go:110 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7beaef regexp.Compile+0x2f regexp/regexp.go:131 # 0x7beae3 regexp.MatchString+0x23 regexp/regexp.go:531 # 0x2622ec4 github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:857 # 0x262342c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x32c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:924 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0xc840b7 0xc840b8 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd6aa 0x28bd66c 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc840b6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x2b6 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc840b7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x2b7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:498 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd6a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x289 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd66b github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2673 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x7f75e9 0x7f7423 0x12f0d2e 0x51716c 0x516019 0xb75014 0x498001 # 0x7f75e8 net/http.Header.Clone+0x248 net/http/header.go:114 # 0x7f7422 net/http/httptest.(*ResponseRecorder).WriteHeader+0x82 net/http/httptest/recorder.go:176 # 0x12f0d2d github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1056] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x76be50 0x1306c3a 0x1306c0f 0x246c130 0x246b1f8 0x246b565 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76be4f net/http.NewRequestWithContext+0x26f net/http/request.go:912 # 0x1306c39 net/http.NewRequest+0x239 net/http/request.go:863 # 0x1306c0e github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x20e github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:24 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x246b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x44 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:55 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3497984] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x5305e6 0x184ab46 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x28adf3d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x28adf3c github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1368 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1944d12 0x1944c0f 0x1944bf6 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1944d11 github.com/lann/builder.Append+0x711 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1944c0e github.com/mattermost/squirrel.UpdateBuilder.Set+0x60e github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944bf5 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 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a03ee6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03ee5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6784] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x18e5cf5 0x18e5e19 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5cf4 github.com/mattermost/squirrel.Expr+0xa94 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x18e5e18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xbb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2773 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe6c1e 0xbe6a9e 0xbe489a 0xbe7669 0xbe678a 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2115285 0x2581397 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe6c1d github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x11d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:122 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe7668 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x1c8 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:273 # 0xbe6789 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2115284 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:327 # 0x2581396 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: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 6144] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x2485233 0x2485222 0x2754528 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x2485232 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ReadFile+0x52 github.com/mattermost/mattermost/server/v8/channels/app/file.go:127 # 0x2485221 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBrandImage+0x41 github.com/mattermost/mattermost/server/v8/channels/app/brand.go:83 # 0x2754527 github.com/mattermost/mattermost/server/v8/channels/api4.getBrandImage+0x47 github.com/mattermost/mattermost/server/v8/channels/api4/brand.go:23 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x54295f 0x8fc228 0x8fc1de 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc227 strings.Split+0x127 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a25cf4 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 147456] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x18e9e47 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e9e46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3066 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x19f7fa5 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f7fa4 github.com/mattermost/squirrel.SelectBuilder.Join+0x284 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x125c732 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c731 github.com/lib/pq.parsePortalRowDescribe+0xb1 github.com/lib/pq@v1.12.3/conn.go:1791 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x183b0cc 0x183b938 0x19540f3 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x183b0cb github.com/mattermost/squirrel.(*deleteData).ToSql+0x36b github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x19540f2 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 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd05 0x428505 0x99f8e5 0x9a3333 0x9a26aa 0x57b8f7 0x4ce38e 0xb546d1 0xb546a2 0xb5d093 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a3332 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x212 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x9a26a9 github.com/hashicorp/yamux.(*Stream).Read+0x569 github.com/hashicorp/yamux@v0.1.2/stream.go:132 # 0x57b8f6 bufio.(*Reader).Read+0x196 bufio/bufio.go:245 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0xb546d0 io.ReadFull+0x50 io/io.go:354 # 0xb546a1 encoding/gob.decodeUintReader+0x21 encoding/gob/decode.go:116 # 0xb5d092 encoding/gob.(*Decoder).recvMessage+0x32 encoding/gob/decoder.go:84 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6b97dc 0x6b96a5 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6b97db vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x79b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b96a4 crypto/tls.(*clientHelloMsg).marshalMsg+0x664 crypto/tls/handshake_messages.go:137 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 2097152] @ 0x48dd33 0x492ae9 0x9163fe 0x916926 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916925 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.54.0/html/token.go:337 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0xc9e7f4 0xc9e75e 0xc06ae8 0x2766c74 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9e7f3 strings.(*Builder).WriteString+0x1f3 strings/builder.go:114 # 0xc9e75d github.com/mattermost/mattermost/server/public/model.Etag+0x15d github.com/mattermost/mattermost/server/public/model/utils.go:737 # 0xc06ae7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x2766c73 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x513 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6bc72d 0x6bc4f7 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bc72c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x30c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc4f6 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd6 crypto/tls/handshake_messages.go:366 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x183b814 0x19540f3 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x183b813 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x19540f2 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 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 19072] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x183b0cc 0x183b938 0x19540f3 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x183b0cb github.com/mattermost/squirrel.(*deleteData).ToSql+0x36b github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x19540f2 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 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbf0f3b 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f7265 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19448f5 0x19447ff 0x19447ed 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19448f4 github.com/lann/builder.Append+0x2f4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19447fe github.com/mattermost/squirrel.UpdateBuilder.Set+0x1fe github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19447ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:154 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d1368 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x587 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1180 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x1247966 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1247965 github.com/lib/pq/scram.(*Client).clientProof+0x265 github.com/lib/pq@v1.12.3/scram/scram.go:244 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e23d8 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e23d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x1a0cf85 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0cf84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:789 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18413d1 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x125c767 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c766 github.com/lib/pq.parsePortalRowDescribe+0xe6 github.com/lib/pq@v1.12.3/conn.go:1793 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0xc924f9 0xc92473 0x26ade3d 0x26a95c5 0x26a954d 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc924f8 github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0x98 github.com/mattermost/mattermost/server/public/model/user.go:739 # 0xc92472 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:746 # 0x26ade3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1331 # 0x26a95c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x224 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26a954c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1ac github.com/mattermost/mattermost/server/v8/channels/app/user.go:868 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18d7055 0x18d702a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18d7054 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d7029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211666e 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211666d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x28d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:440 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x2518dd5 0x260649d 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2518dd4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreviewForInfos+0xf4 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1279 # 0x260649c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2313 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc9711a 0xc9711b 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9627 0x28a9cee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97119 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9711a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9626 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2543 # 0x28a9ced github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x204d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1110 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x262e669 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x262e668 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x5c8 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:67 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a070c7 0x1a07046 0x1a07044 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a070c6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a07045 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a07043 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:428 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x1398327 0x270f109 0x270edf5 0x281ea9b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1398326 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x3c6 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:43 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x281ea9a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x151a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:356 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19f7fc9 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f7fc8 github.com/mattermost/squirrel.SelectBuilder.Join+0x2a8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 10752] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19ca070 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ca06f 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4930f3 0xc9e7f4 0xc9e75e 0xc06ae8 0x2766c74 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9e7f3 strings.(*Builder).WriteString+0x1f3 strings/builder.go:114 # 0xc9e75d github.com/mattermost/mattermost/server/public/model.Etag+0x15d github.com/mattermost/mattermost/server/public/model/utils.go:737 # 0xc06ae7 github.com/mattermost/mattermost/server/public/model.(*ChannelList).Etag+0x107 github.com/mattermost/mattermost/server/public/model/channel_list.go:25 # 0x2766c73 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x513 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18e21f8 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x18e21f7 github.com/mattermost/squirrel.SelectBuilder.Join+0x1f7 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1a114b4 0x188dbdb 0x21b680b 0x2664dff 0x2664317 0xc7b03a 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1a114b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTokenStore.Cleanup+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/tokens_store.go:97 # 0x188dbda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTokenStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15763 # 0x21b680a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTokenStore).Cleanup+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12434 # 0x2664dfe github.com/mattermost/mattermost/server/v8/channels/app.doTokenCleanup+0x7e github.com/mattermost/mattermost/server/v8/channels/app/server.go:1367 # 0x2664316 github.com/mattermost/mattermost/server/v8/channels/app.runTokenCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1288 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196fd07 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1841463 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19f7fc9 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f7fc8 github.com/mattermost/squirrel.SelectBuilder.Join+0x2a8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x196fb6a 0x196faea 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fb69 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x4e9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fae9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x126a35c 0x126a368 0x126a395 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x126a35b internal/strconv.AppendBool+0x9b internal/strconv/atob.go:32 # 0x126a367 strconv.AppendBool+0xa7 strconv/number.go:35 # 0x126a394 github.com/lib/pq.encode+0xd4 github.com/lib/pq@v1.12.3/encode.go:46 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a292c5 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a292c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1437 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x12477a2 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x12477a1 github.com/lib/pq/scram.(*Client).clientProof+0xa1 github.com/lib/pq@v1.12.3/scram/scram.go:234 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x184bfac 0x19e24b7 0x19e2491 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x19e24b6 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x19e2490 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:137 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6cf885 0x6cf7dc 0x6d0e38 0x6b7671 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6cf884 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6cf7db crypto/tls.(*finishedMsg).marshal+0x9b crypto/tls/handshake_messages.go:1700 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b7670 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x190 crypto/tls/handshake_client_tls13.go:706 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x190381e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190381d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1b8e405 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x1943368 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x19033eb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19033ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1a06a2c 0x1309f10 0x498001 # 0x1a06a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x2204269 0x220428e 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x2204268 time.After+0xe8 time/sleep.go:203 # 0x220428d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).ProcessAsync.func1+0x10d github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:520 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c60ff 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c60fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:161 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0x73b5a5 0x758217 0x757545 0x7569ac 0x7561f8 0x498001 # 0x73b5a4 net/http.(*http2Framer).WriteHeaders+0x3e4 net/http/h2_bundle.go:2737 # 0x758216 net/http.(*http2ClientConn).writeHeaders+0x136 net/http/h2_bundle.go:9078 # 0x757544 net/http.(*http2clientStream).encodeAndWriteHeaders+0x3a4 net/http/h2_bundle.go:8910 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x28174d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28174cf github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x1cf github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:269 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191fb94 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fb93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x293 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0xb88109 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88108 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0xcc8 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:84 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 16] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1989765 0x198971e 0x198971d 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1989764 github.com/mattermost/squirrel.InsertBuilder.Into+0x104 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x198971d github.com/mattermost/squirrel.StatementBuilderType.Insert+0xbd github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x198971c 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 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd0c 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5fd859 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5fd858 internal/singleflight.(*Group).DoChan+0x258 internal/singleflight/singleflight.go:86 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x19e2813 0x19e2776 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2812 github.com/mattermost/squirrel.UpdateBuilder.Set+0x432 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:145 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1152] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a06a53 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x28bb7ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28bb7ab github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x32b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2522 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e0dc6 0x19e0cd3 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21f2185 0x22065e7 0x21d4da2 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21f2184 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x22065e6 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:660 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbef4a2 0xbef48c 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f44f8 0x21f40cb 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f44f7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x97 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:432 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x2839018 0x2838fc0 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2839017 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x357 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x2838fbf github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x2ff github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:459 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3072] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x805d78 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x805d77 database/sql.(*DB).addDepLocked+0xab7 database/sql/sql.go:756 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a0d0d3 0x1a0d0b8 0x1a0d0b7 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0d0d2 github.com/mattermost/squirrel.newPart+0x1b2 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a0d0b7 github.com/mattermost/squirrel.SelectBuilder.From+0x197 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2f28 0x4a2565 0x77484e 0x779073 0x779e95 0x498001 # 0x4a2f27 sync.(*poolChain).pushHead+0xe7 sync/poolqueue.go:243 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x779072 net/http.(*response).finishRequest+0x52 net/http/server.go:1672 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x281c025 0x281bfe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x281c024 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0x904 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x281bfe4 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x8c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:148 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18e5bb9 0x18e5c8c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5bb8 github.com/mattermost/squirrel.UpdateBuilder.Set+0x958 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5c8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xa2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2772 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x707448 0x705af4 0x7018cf 0x702825 0x70384d 0x97eab4 0x97eaaa 0x1336933 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x707447 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x705af3 compress/flate.(*huffmanBitWriter).writeBlock+0x2d3 compress/flate/huffman_bit_writer.go:466 # 0x7018ce compress/flate.(*compressor).writeBlock+0x8e compress/flate/deflate.go:173 # 0x702824 compress/flate.(*compressor).deflate+0x5e4 compress/flate/deflate.go:411 # 0x70384c compress/flate.(*compressor).close+0x6c compress/flate/deflate.go:637 # 0x97eab3 compress/flate.(*Writer).Close+0x73 compress/flate/deflate.go:729 # 0x97eaa9 compress/zlib.(*Writer).Close+0x69 compress/zlib/writer.go:184 # 0x1336932 image/png.(*encoder).writeImage+0xd32 image/png/writer.go:543 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 28672] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 466944] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299b2b5 0x299bfa6 0x299d075 0x6b5f85 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299d074 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x6b5f84 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x104 crypto/tls/handshake_client_tls13.go:487 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a04a25 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04a24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x18e20df 0x18e2085 0x18e2084 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e20de github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xde github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18e2084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18e2083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2437 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x1a02a17 0x1a029f1 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a29270 0x1a291bd 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a2926f github.com/mattermost/squirrel.SelectBuilder.From+0x16f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1944d12 0x1944c0f 0x1944bf6 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1944d11 github.com/lann/builder.Append+0x711 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1944c0e github.com/mattermost/squirrel.UpdateBuilder.Set+0x60e github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944bf5 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 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 16859136] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40361984] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64569344] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4358144] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2768896] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 688128] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 335872] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1114112] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1114112] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 442368] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352256] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 131072] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x44e77e 0x44e79e 0x44e6cc 0x44e57a 0x44e3d2 0x45e045 0x4603b0 0x46248f 0x4963b5 # 0x48dd2b runtime.mallocgc+0xcb runtime/malloc.go:1143 # 0x492ae8 runtime.makeslice+0x48 runtime/slice.go:117 # 0x44e77d runtime.makeProfStack+0x9d runtime/proc.go:1068 # 0x44e79d runtime.saveg+0xbd runtime/mprof.go:1687 # 0x44e6cb runtime.doRecordGoroutineProfile.func1+0x4b runtime/mprof.go:1566 # 0x44e579 runtime.doRecordGoroutineProfile+0xb9 runtime/mprof.go:1566 # 0x44e3d1 runtime.tryRecordGoroutineProfile+0xb1 runtime/mprof.go:1507 # 0x45e044 runtime.execute+0x44 runtime/proc.go:3338 # 0x4603af runtime.schedule+0x22f runtime/proc.go:4230 # 0x46248e runtime.exitsyscallNoP+0x22e runtime/proc.go:5115 # 0x4963b4 runtime.mcall+0x54 runtime/asm_amd64.s:496 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 876544] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x702ec6 0x70310e 0x70e52d 0x70e4ee 0x20cbc0e 0x20c7c25 0x498001 # 0x702ec5 compress/flate.newHuffmanBitWriter+0x45 compress/flate/huffman_bit_writer.go:97 # 0x70310d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:572 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414dee 0x414d70 0x417d91 0x20cdd2b 0x20cdc0d 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdd2a runtime/pprof.(*profileBuilder).stringIndex+0xf4a runtime/pprof/proto.go:138 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414e11 0x414d70 0x417d91 0x20cd7d0 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd7cf runtime/pprof.(*profileBuilder).emitLocation+0x9ef runtime/pprof/proto.go:625 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414dee 0x414d70 0x417d91 0x20cd7d0 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd7cf runtime/pprof.(*profileBuilder).emitLocation+0x9ef runtime/pprof/proto.go:625 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 876544] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 131072] @ 0x48dd33 0x492ae9 0x7031a9 0x70e52d 0x70e4ee 0x20cbc0e 0x20c4c4c 0x20c828d 0x20c7e70 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7031a8 compress/flate.(*compressor).init+0x328 compress/flate/deflate.go:585 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c4c4b runtime/pprof.printCountCycleProfile+0x38b runtime/pprof/pprof.go:486 # 0x20c828c runtime/pprof.writeProfileInternal+0x38c runtime/pprof/pprof.go:1002 # 0x20c7e6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:976 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x703217 0x703252 0x70e52d 0x70e4ee 0x20c8688 0x20c8d97 0x20c55e5 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703216 compress/flate.newDeflateFast+0x396 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20c8d96 runtime/pprof.(*profileBuilder).pbSample+0xb6 runtime/pprof/proto.go:168 # 0x20c55e4 runtime/pprof.printCountProfile+0x924 runtime/pprof/pprof.go:554 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x493087 0x18eb8c5 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18f6254 0x18f61f0 0x185ce75 0x217e4f9 0x249e6d6 0x276d687 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18f6253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18f61ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3907 # 0x185ce74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersByIds+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2562 # 0x217e4f8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersByIds+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2163 # 0x249e6d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersByIds+0x95 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2502 # 0x276d686 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersByIds+0x306 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1907 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x28aa076 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x28aa075 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x23d5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb8a9c7 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8a9c6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x286 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x281f565 0x281f4d9 0x281f4bb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x281f564 net/textproto.MIMEHeader.Set+0x9e4 net/textproto/header.go:22 # 0x281f4d8 net/http.Header.Set+0x958 net/http/header.go:40 # 0x281f4ba github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x93a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:425 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x1b201db 0x4680f5 0x4586b0 0x458687 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1b201da github.com/bep/imagemeta.init.1+0x5a github.com/bep/imagemeta@v0.12.0/metadecoder_iptc.go:342 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7b1fb7 0x7b1f0d 0x7aef85 0x7bd4f0 0x7bd4eb 0x7be04c 0x7be040 0x1cd913f 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7b1fb6 regexp/syntax.(*parser).newRegexp+0x116 regexp/syntax/parse.go:147 # 0x7b1f0c regexp/syntax.(*parser).parseClass+0x6c regexp/syntax/parse.go:1829 # 0x7aef84 regexp/syntax.parse+0xa24 regexp/syntax/parse.go:974 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1cd913e github.com/gorilla/css/scanner.init.0+0x11e github.com/gorilla/css@v1.0.1/scanner/scanner.go:185 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [1: 320] @ 0x48dd2c 0x492ae9 0x7bb768 0x7bb6fc 0x7bd16a 0x7bd54f 0x7be04c 0x7be040 0x1cd7d19 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7bb767 regexp.newQueue+0xa7 regexp/onepass.go:142 # 0x7bb6fb regexp.makeOnePass+0x3b regexp/onepass.go:300 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1cd7d18 github.com/microcosm-cc/bluemonday/css.init+0x698 github.com/microcosm-cc/bluemonday@v1.0.27/css/handlers.go:315 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a226c5 0x1a22667 0x1891835 0x21baed6 0x26a8314 0x26a867c 0x28aa12a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a226c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a22666 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannelByAdmin+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:912 # 0x1891834 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannelByAdmin+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16824 # 0x21baed5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannelByAdmin+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13296 # 0x26a8313 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelByAdmin+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:712 # 0x26a867b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPageByAdmin+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:753 # 0x28aa129 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x2489 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1072 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x194333f 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x194a72e 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x194a72d 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a03cfe 0x1a03c7a 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a03cfd github.com/mattermost/squirrel.SelectBuilder.From+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03c79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x194a73b 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x194a73a 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x70c9cb 0x70c979 0x70caa1 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x55a668 0x55a265 0x559f35 0x220bfb3 0x25adb94 0x262420b 0x26234f4 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70c9ca bufio.NewReaderSize+0x16a bufio/bufio.go:57 # 0x70c978 bufio.NewReader+0x118 bufio/bufio.go:63 # 0x70caa0 compress/gzip.(*Reader).Reset+0x240 compress/gzip/gunzip.go:111 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x220bfb2 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x25adb93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:165 # 0x262420a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1016 # 0x26234f3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x3f3 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:930 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x492ae9 0x1846885 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x18e42dc 0x185d747 0x217ee6d 0x2114266 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18e42db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2642 # 0x185d746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2688 # 0x217ee6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2259 # 0x2114265 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a0d309 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28ca089 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28ca088 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x188 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3668 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x415da5 0xb8e35e 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e35d github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1bd github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:54 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28046fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28046fd github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19554cb 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19554ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x48a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 2880] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a25e39 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x299a19d 0x2999f3e 0x68713b 0x6e1298 0x6b5eff 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299a19c crypto/internal/fips140/mlkem.kemDecaps+0x21c crypto/internal/fips140/mlkem/mlkem768.go:486 # 0x2999f3d crypto/internal/fips140/mlkem.(*DecapsulationKey768).Decapsulate+0x7d crypto/internal/fips140/mlkem/mlkem768.go:469 # 0x68713a crypto/mlkem.(*DecapsulationKey768).Decapsulate+0x1a crypto/mlkem/mlkem.go:79 # 0x6e1297 crypto/tls.(*hybridKeyExchange).clientSharedSecret+0x177 crypto/tls/key_schedule.go:262 # 0x6b5efe crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x7e crypto/tls/handshake_client_tls13.go:478 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 240] @ 0x48dd2c 0x4930f3 0x561992 0x5504d3 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x561991 encoding/json.appendString[...]+0x171 encoding/json/encode.go:1008 # 0x5504d2 encoding/json.stringEncoder+0x412 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x28aba86 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28aba85 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1c5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1151 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03a0d 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03a0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x1a0412b 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a0412a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x5aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:251 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x196fe19 0x196fda6 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196fe18 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x798 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196fda5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1427 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x184c92b 0x1944e77 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184c92a github.com/mattermost/squirrel.UpdateBuilder.Where+0xaa github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1944e76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x18e42dc 0x185d747 0x217ee6d 0x2114266 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e42db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2642 # 0x185d746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2688 # 0x217ee6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2259 # 0x2114265 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x261a0e5 0x25ff4b6 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261a0e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessiblePost+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_helpers.go:218 # 0x25ff4b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1435 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0xb83c8f 0xb83ac5 0x498001 # 0xb83c8e github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xce github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:176 # 0xb83ac4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:156 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 32768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a05030 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0502f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xc6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:329 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fb2d 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fb2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a2d585 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a2d584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1754 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x71aabf 0x75975c 0x757630 0x71f726 0x71fe2e 0x71f4f2 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x71aabe vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x3be vendor/golang.org/x/net/http2/hpack/encode.go:77 # 0x75975b net/http.(*http2ClientConn).writeHeader+0x13b net/http/h2_bundle.go:9359 # 0x75762f net/http.(*http2clientStream).encodeAndWriteHeaders.func1+0x2f net/http/h2_bundle.go:8900 # 0x71f725 net/http/internal/httpcommon.EncodeHeaders.func3+0x65 net/http/internal/httpcommon/httpcommon.go:405 # 0x71fe2d net/http/internal/httpcommon.EncodeHeaders.func1+0x62d net/http/internal/httpcommon/httpcommon.go:364 # 0x71f4f1 net/http/internal/httpcommon.EncodeHeaders+0x6f1 net/http/internal/httpcommon/httpcommon.go:397 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x198986f 0x198979a 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x198986e github.com/mattermost/squirrel.InsertBuilder.Columns+0x20e github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1989799 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x139 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e1a8f 0x185c9bd 0x217e003 0x249def3 0x2601cd0 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1a8e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2373 # 0x185c9bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2499 # 0x217e002 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2115 # 0x249def2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2456 # 0x2601ccf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1818 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x428505 0xb8fd6d 0xb8776c 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8fd6c github.com/mattermost/mattermost/server/public/shared/markdown.(*List).Continuation+0x8c github.com/mattermost/mattermost/server/public/shared/markdown/list.go:92 # 0xb8776b github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x32b github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a0554d 0x1a0549d 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a0554c github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x118c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a0549c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x10dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:357 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x2579a1b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x2579a1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xb8da github.com/mattermost/mattermost/server/v8/channels/app/notification.go:765 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x19eb119 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x19eb118 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x198 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:82 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56fc78 0x605fc5 0x605f98 0x60575b 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56fc77 context.WithDeadlineCause+0x137 context/context.go:643 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e1e65 0x185c851 0x217de5d 0x2478e43 0x283c251 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2430 # 0x185c850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2478 # 0x217de5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2099 # 0x2478e42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:212 # 0x283c250 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184816c 0x184809b 0x1848190 0x18e556e 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e556d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x30d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2765 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25e903c 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25e903b github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x91b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x1847d39 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1847d38 github.com/mattermost/squirrel.SelectBuilder.Limit+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de990 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de98f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:419 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1a08c3c 0x1a08e44 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08c3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0xd7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:37 # 0x1a08e43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xf83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:615 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x255df5f 0x2588ef9 0x25835cc 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255df5e github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0xfe github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:54 # 0x2588ef8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1557 # 0x25835cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x92b github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1083 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1a2c385 0x1a3591e 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a2c384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1675 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x48dd05 0x428505 0x7f7ab4 0x1308010 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x246b565 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7f7ab3 net/http/httptest.(*ResponseRecorder).Result+0x313 net/http/httptest/recorder.go:210 # 0x130800f github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xef github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:59 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x246b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x44 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:55 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x2575a65 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x2575a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x7924 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:644 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2578131 0x2577ada 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2578130 github.com/mattermost/mattermost/server/v8/channels/app.usePostedAckHook+0x9ff0 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:92 # 0x2577ad9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x9999 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:724 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x4930f3 0x54d4e5 0x257a592 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x257a591 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:863 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1841b2e 0x1841335 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1841b2d github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x5ed github.com/mattermost/squirrel@v0.5.0/insert.go:143 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a1bf7 0x19de5b4 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a1bf6 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x19de5b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:405 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 48] @ 0x48dd05 0x428505 0x195d818 0x195d7fd 0x195d7fc 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d817 github.com/mattermost/squirrel.newPart+0x237 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x195d7fc github.com/mattermost/squirrel.SelectBuilder.From+0x21c github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x195d7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:54 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1c1517c 0x26ff7bb 0x4a2651 0x26ff90a 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c1517b github.com/klauspost/compress/gzip.NewWriterLevel+0xbb github.com/klauspost/compress@v1.18.6/gzip/gzip.go:72 # 0x26ff7ba github.com/klauspost/compress/gzhttp/writer/gzkp.init.0.addLevelPool.func1+0x1a github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:41 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x26ff909 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:61 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x1846885 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x12477c4 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x12477c3 github.com/lib/pq/scram.(*Client).clientProof+0xc3 github.com/lib/pq@v1.12.3/scram/scram.go:235 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x428505 0x4b0745 0x4b1897 0x612ef6 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4b0744 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:669 # 0x4b1896 syscall.Getpeername+0x76 syscall/syscall_unix.go:309 # 0x612ef5 net.(*netFD).connect+0x6b5 net/fd_unix.go:139 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a03c3b 0x1a03be1 0x1a03bd7 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a03c3a github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xba github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a03be0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a03bd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:232 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x725a96 0x725a81 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x725a95 net/http.cloneURL+0x75 net/http/clone.go:45 # 0x725a80 net/http.(*Client).send+0x60 net/http/client.go:177 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19210ea 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1343488] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 180224] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 57344] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 1384448] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x196e608 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e607 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x4a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1998125 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998124 github.com/mattermost/squirrel.SelectBuilder.From+0x124 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x190457c 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190457b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27d756a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d7569 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x349 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:544 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x18e37bc 0x185bebd 0x217d31d 0x249f124 0x2761fdc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e37bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetFileCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2557 # 0x185bebc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetFileCount+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2325 # 0x217d31c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetFileCount+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1971 # 0x249f123 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelFileCount+0x63 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2566 # 0x2761fdb github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x33b github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1012 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd05 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x19049f3 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19049f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x7d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:528 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a0d0b6 0x1a0d0a4 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f598 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417314 0x662b2c 0x662997 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x662b2b crypto/x509.newPolicyGraphNode+0x220b crypto/x509/verify.go:1058 # 0x662996 crypto/x509.policiesValid+0x2076 crypto/x509/verify.go:1275 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 448] @ 0x48dd05 0x428505 0x257701c 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x257701b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x8edb github.com/mattermost/mattermost/server/v8/channels/app/notification.go:673 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x54dd73 0x54db31 0x55a790 0xca243b 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xca243a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xba github.com/mattermost/mattermost/server/public/model/websocket_message.go:387 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1848145 0x184809b 0x1848190 0x18e62fc 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1848144 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e62fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x109b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2777 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x21f9d85 0x21d4da2 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e392 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x192280e 0x192280f 0x186815b 0x218b3f7 0x2118fc8 0x258127d 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x192280d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x192280e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:374 # 0x186815a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5499 # 0x218b3f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4505 # 0x2118fc7 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 # 0x258127c 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: 270336] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 352256] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 188416] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 9289728] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 270336] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [2: 688128] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [4: 25559040] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x693f6a 0x693f47 0x6b71d1 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x693f69 bytes.NewBuffer+0x49 bytes/buffer.go:490 # 0x693f46 crypto/tls.signedMessage+0x26 crypto/tls/auth.go:114 # 0x6b71d0 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x510 crypto/tls/handshake_client_tls13.go:668 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26236f6 0x2623485 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26236f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x75 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:948 # 0x2623484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x384 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:925 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 204800] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7b6adb 0x7b6667 0x7b6667 0x7b6667 0x7bd52d 0x7be04c 0x7be040 0xa736f3 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7b6ada regexp/syntax.(*Regexp).Simplify+0x89a regexp/syntax/simplify.go:98 # 0x7b6666 regexp/syntax.(*Regexp).Simplify+0x426 regexp/syntax/simplify.go:23 # 0x7b6666 regexp/syntax.(*Regexp).Simplify+0x426 regexp/syntax/simplify.go:23 # 0x7b6666 regexp/syntax.(*Regexp).Simplify+0x426 regexp/syntax/simplify.go:23 # 0x7bd52c regexp.compile+0x6c regexp/regexp.go:175 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xa736f2 google.golang.org/protobuf/internal/encoding/json.init+0x92 google.golang.org/protobuf@v1.36.11/internal/encoding/json/decode.go:155 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [1: 4096] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x122fc53 0x4680f5 0x4586b0 0x458687 0x498001 # 0x122fc52 github.com/google/jsonschema-go/jsonschema.init.1+0x812 github.com/google/jsonschema-go@v0.4.3/jsonschema/schema.go:640 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [1: 204800] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 204800] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x552305 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x552304 encoding/json.arrayEncoder.encode+0x104 encoding/json/encode.go:888 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x28af96d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x28af96c github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1529 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26ae252 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26ae251 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x31 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1375 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x428505 0x28af927 0x28af8d8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28af926 encoding/json.NewDecoder+0xc6 encoding/json/stream.go:34 # 0x28af8d7 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x77 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1529 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3145728] @ 0x48dd33 0x492ae9 0x9163fe 0x916926 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916925 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.54.0/html/token.go:337 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x493087 0x196e2b0 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e2af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184ab0e 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184ab0d github.com/mattermost/squirrel.(*updateData).ToSql+0x64d github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x7270e6 0x7263fd 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7270e5 net/http.setRequestCancel+0x405 net/http/client.go:419 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x546e9e 0x546a79 0x13071c5 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x13071c4 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x7c4 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:49 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc40413 0xc4040a 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc40412 os.Open+0x132 os/file.go:390 # 0xc40409 github.com/mattermost/mattermost/server/public/model.FindManifest+0x129 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x271b2b2 0x28ebc33 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x271b2b1 github.com/mattermost/mattermost/server/v8/channels/web.GetOriginClient+0x51 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:476 # 0x28ebc32 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5f2 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e86a5 0x18e85a0 0x18e858e 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e86a4 github.com/lann/builder.Append+0x7e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e859f github.com/mattermost/squirrel.UpdateBuilder.Set+0x6df github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e858d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x6cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2977 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x18e6165 0x18e60b2 0x18e5fd9 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x18e6164 github.com/lann/builder.Append+0xf04 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e60b1 github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xe51 github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x18e5fd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2775 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e39bc 0x185c527 0x217da4d 0x2113dc6 0x249efe9 0x2761eaf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e39bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2577 # 0x185c526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2430 # 0x217da4c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2051 # 0x2113dc5 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 # 0x249efe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2557 # 0x2761eae github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:992 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 14336] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x5ca685 0x5cf6cf 0x5cf61f 0x5ccbc4 0x5cd01c 0x5ca685 0x5cf517 0x5d5a3e 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x5ca684 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x1a4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5cf6ce crypto/ecdsa.addASN1IntBytes+0x6e crypto/ecdsa/ecdsa.go:483 # 0x5cf61e crypto/ecdsa.encodeSignature.func1+0x3e crypto/ecdsa/ecdsa.go:467 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5ca684 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x1a4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5cf516 crypto/ecdsa.encodeSignature+0x96 crypto/ecdsa/ecdsa.go:466 # 0x5d5a3d crypto/ecdsa.signFIPS[...]+0x13d crypto/ecdsa/ecdsa.go:423 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x18e5ba5 0x18e5c8c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5ba4 github.com/mattermost/squirrel.UpdateBuilder.Set+0x944 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5c8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xa2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2772 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x183c73b 0x183c633 0x1955a9f 0x187252e 0x2196c94 0x21cc864 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183c73a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183c632 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x1955a9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x25e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:236 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21cc863 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:247 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x195b08f 0x18786ba 0x219dcba 0x2627aa7 0x2639652 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195b08e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x2ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:29 # 0x18786b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9729 # 0x219dcb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7782 # 0x2627aa6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2639651 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:90 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x54dd73 0x54db31 0x54d47e 0xc9bed8 0x7fbc75 0x7fc34f 0x7fcea5 0x7fd37f 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9bed7 github.com/mattermost/mattermost/server/public/model.StringMap.Value+0x137 github.com/mattermost/mattermost/server/public/model/utils.go:168 # 0x7fbc74 database/sql/driver.callValuerValue+0x114 database/sql/driver/types.go:238 # 0x7fc34e database/sql/driver.defaultConverter.ConvertValue+0x6ae database/sql/driver/types.go:248 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x27031b8 0x2702fa4 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x27031b7 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:645 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x183b814 0x1955aa5 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x183b813 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x1955aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18e23d8 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e23d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 176] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf1604 0xbf1605 0xbedde5 0xbeeb75 0xbee9dc 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf1603 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf1604 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xbedde4 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x184 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:206 # 0xbeeb74 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xbee9db github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x1846885 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x56ee7b 0x56e319 0x56e2dd 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x56ee7a context.(*cancelCtx).propagateCancel+0x7a context/context.go:478 # 0x56e318 context.withCancel+0x58 context/context.go:278 # 0x56e2dc context.WithCancelCause+0x1c context/context.go:269 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d7f25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d7f24 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0xd04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:588 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd05 0x492ae9 0x7c1cf8 0x8fee48 0x8fe4c5 0x262e99d 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7c1cf7 regexp.(*Regexp).FindStringSubmatch+0xb7 regexp/regexp.go:1024 # 0x8fee47 github.com/Masterminds/semver/v3.parseConstraint+0x47 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:281 # 0x8fe4c4 github.com/Masterminds/semver/v3.NewConstraint+0x2c4 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:69 # 0x262e99c github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8fc github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 704] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x54dd73 0x54db31 0x54d47e 0xc9bed8 0x7fbc75 0x7fc34f 0x7fcea5 0x7fd37f 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9bed7 github.com/mattermost/mattermost/server/public/model.StringMap.Value+0x137 github.com/mattermost/mattermost/server/public/model/utils.go:168 # 0x7fbc74 database/sql/driver.callValuerValue+0x114 database/sql/driver/types.go:238 # 0x7fc34e database/sql/driver.defaultConverter.ConvertValue+0x6ae database/sql/driver/types.go:248 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x25e8e0d 0x25e8d82 0x25e8d6e 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25e8e0c net/textproto.MIMEHeader.Set+0x6ec net/textproto/header.go:22 # 0x25e8d81 net/http.Header.Set+0x661 net/http/header.go:40 # 0x25e8d6d github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x64d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:93 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28a9846 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28a9845 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x1ba5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x195d9a8 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195d9a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 384] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x22067f0 0x220694e 0x2205131 0x2204837 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x22067ef 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:759 # 0x220694d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6d maps/iter.go:28 # 0x2205130 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8d0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [2: 48] @ 0x48dd05 0x428505 0x19f81d7 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f81d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1180 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a02eed 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2833045 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2833044 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f251 0x27d9393 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f250 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xd0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x27d9392 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa92 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:694 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x270f345 0x27db1a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x27db1a4 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:826 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 960] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x19e34a9 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x19e34a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x2e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:186 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbef4a2 0xbef48c 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21f140c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21f140b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9eb github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x183b814 0x19540f3 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x183b813 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x19540f2 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 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1955ace 0x187252e 0x2196c94 0x21cc864 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1955acd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21cc863 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:247 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2626a29 0x283130c 0x281b595 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2626a28 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x283130b github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:39 # 0x281b594 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x234 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:83 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x183a5dd 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x183a5dc github.com/mattermost/squirrel.(*caseData).ToSql+0x5c github.com/mattermost/squirrel@v0.5.0/case.go:72 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ca9d7 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ca9d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 384] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0xc9e7f4 0xc9e75e 0xc62ec5 0x2824bcd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9e7f3 strings.(*Builder).WriteString+0x1f3 strings/builder.go:114 # 0xc9e75d github.com/mattermost/mattermost/server/public/model.Etag+0x15d github.com/mattermost/mattermost/server/public/model/utils.go:737 # 0xc62ec4 github.com/mattermost/mattermost/server/public/model.(*PostList).Etag+0x1c4 github.com/mattermost/mattermost/server/public/model/post_list.go:194 # 0x2824bcc github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x9ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:891 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a07165 0x1a07106 0x1309f10 0x498001 # 0x1a07164 github.com/mattermost/squirrel.SelectBuilder.From+0x144 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07105 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:430 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a2ba9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a2ba8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:373 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x5e5872 0x5e5993 0x5e5090 0x61da4c 0x61b973 0x604c05 0x6058a5 0x78e8f4 0x7918e7 0x790332 0x790175 0x498001 # 0x5e5871 net/netip.parseIPv4Fields+0x2f1 net/netip/netip.go:184 # 0x5e5992 net/netip.parseIPv4+0x32 net/netip/netip.go:197 # 0x5e508f net/netip.ParseAddr+0x4f net/netip/netip.go:118 # 0x61da4b net.(*Resolver).lookupIPAddr+0x8b net/lookup.go:310 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e8f3 net/http.(*Transport).dial+0xb3 net/http/transport.go:1320 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x12594d6 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x12594d5 github.com/lib/pq.(*conn).auth+0xf15 github.com/lib/pq@v1.12.3/conn.go:1410 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28a7866 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28a7865 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211666e 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211666d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x28d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:440 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ef07 0x5529a4 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ef06 encoding/json.addrMarshalerEncoder+0x166 encoding/json/encode.go:506 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 3456] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551a96 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551a95 encoding/json.encodeByteSlice+0x155 encoding/json/encode.go:835 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x196aa3a 0x196aa35 0x18739c2 0x2198485 0x211fa6c 0x25fe0f8 0x281dcf6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x196aa39 github.com/mattermost/squirrel.SelectBuilder.MustSql+0x399 github.com/mattermost/squirrel@v0.5.0/select.go:229 # 0x196aa34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:956 # 0x18739c1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8512 # 0x2198484 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x84 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6823 # 0x211fa6b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x1cb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:85 # 0x25fe0f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0xb7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1316 # 0x281dcf5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x775 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:313 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3200] @ 0x48dd2c 0x4930f3 0x54d4e5 0x257a592 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x257a591 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:863 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x2579a1b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x2579a1a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xb8da github.com/mattermost/mattermost/server/v8/channels/app/notification.go:765 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 8] @ 0x48dd05 0x428505 0x21145c6 0x249b6c9 0x249b090 0x27d8a65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21145c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:243 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d8a64 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x196e656 0x196e5e0 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e655 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x4f5 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196e5df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x47f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1340 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9d953 0x28bcf10 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9d952 github.com/mattermost/mattermost/server/public/model.MapFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x28bcf0f github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2621 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a034db 0x1a03481 0x1a03477 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a034da github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xba github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a03480 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a03476 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:193 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x199f3e6 0x199f38e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199f3e5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3e5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199f38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x196a73a 0x196a6e0 0x196a6de 0x18739c2 0x2198485 0x211fa6c 0x25fe0f8 0x281dcf6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196a739 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x99 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x196a6df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x196a6dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:952 # 0x18739c1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8512 # 0x2198484 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x84 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6823 # 0x211fa6b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x1cb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:85 # 0x25fe0f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0xb7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1316 # 0x281dcf5 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x775 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:313 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a08165 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:560 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1344] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x27db399 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x27db398 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xc98 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:832 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x125c74e 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125c74d github.com/lib/pq.parsePortalRowDescribe+0xcd github.com/lib/pq@v1.12.3/conn.go:1792 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x22027da 0x22028c8 0x21f8f3e 0x28ebdf1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x22027d9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).CheckConn+0x5d9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:415 # 0x22028c7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).CheckWebConn+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:284 # 0x21f8f3d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).PopulateWebConnConfig+0x17d github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:182 # 0x28ebdf0 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b0 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x2601b69 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x2601b68 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1804 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x55a01f 0x28ec8ed 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x28ec8ec github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x199f3e6 0x199f38e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199f3e5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3e5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199f38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18d71e7 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x18d71e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x2a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1602 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x77484e 0x779073 0x779e95 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x779072 net/http.(*response).finishRequest+0x52 net/http/server.go:1672 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a06e69 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0xbd97c5 0xbd9508 0xbdf393 0x28eb6ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd97c4 bufio.NewReaderSize+0x324 bufio/bufio.go:56 # 0xbd9507 github.com/gorilla/websocket.newConn+0x67 github.com/gorilla/websocket@v1.5.3/conn.go:294 # 0xbdf392 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x28eb6eb github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xab github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x805e25 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x805e24 database/sql.(*DB).addDepLocked+0xb64 database/sql/sql.go:759 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a29505 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d7f25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d7f24 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0xd04 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:588 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18425a5 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x18425a4 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x428505 0x18ce8ee 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce8ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:963 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2f28 0x4a2565 0x77484e 0x77935b 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2f27 sync.(*poolChain).pushHead+0xe7 sync/poolqueue.go:243 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x77935a net/http.(*conn).finalFlush+0x7a net/http/server.go:1748 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1248] @ 0x48dd05 0x428505 0x196e069 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e068 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0xb68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1284 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26d0f5e 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26d0f5d github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7d github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:795 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847b0b 0x1a1ef9e 0x1a1ef35 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a1ef9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xfd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a1ef34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:652 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2702f42 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2702f41 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5a1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:656 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x62b225 0x6277fb 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x62b224 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x6277fa net.(*netFD).dial+0x57a net/sock_posix.go:141 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x428505 0x6e0158 0x6e01bb 0x6e0a05 0x58645a 0x6e062b 0x6aca42 0x6ad1e5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6e0157 crypto/ecdh.(*PublicKey).Bytes+0x57 crypto/ecdh/ecdh.go:71 # 0x6e01ba crypto/tls.(*ecdhKeyExchange).keyShares+0xba crypto/tls/key_schedule.go:125 # 0x6e0a04 crypto/tls.(*hybridKeyExchange).keyShares.func1+0x44 crypto/tls/key_schedule.go:175 # 0x586459 crypto/fips140.WithoutEnforcement+0x99 crypto/fips140/enforcement.go:23 # 0x6e062a crypto/tls.(*hybridKeyExchange).keyShares+0xaa crypto/tls/key_schedule.go:174 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184aae5 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184aae4 github.com/mattermost/squirrel.(*updateData).ToSql+0x624 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0x52d66a 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x8faba6 0x2480b1d 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x52d669 fmt.errorf+0xc9 fmt/errors.go:42 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0x2480b1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x3c github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 10880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a04f08 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04f07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:330 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a04734 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a04733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846fbc 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dce4e 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dce4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:283 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x184bfac 0x194534d 0x194531e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x194534c github.com/mattermost/squirrel.StatementBuilderType.Update+0x10c github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x194531d 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 20480] @ 0x48dd2c 0x492ae9 0x1bc8e46 0x1bc21f7 0x1bcf4c5 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc8e45 github.com/klauspost/compress/huff0.(*Scratch).prepare+0x105 github.com/klauspost/compress@v1.18.6/huff0/huff0.go:160 # 0x1bc21f6 github.com/klauspost/compress/huff0.Compress4X+0x36 github.com/klauspost/compress@v1.18.6/huff0/compress.go:28 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0x1be205f 0x1be660d 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be205e github.com/klauspost/compress/zstd.(*fastEncoder).EncodeNoHist+0x63e github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:483 # 0x1be660c github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x3ec github.com/klauspost/compress@v1.18.6/zstd/encoder.go:582 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846b2b 0x19f1d8e 0x19f71a5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08752 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x891 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:582 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x428505 0x25913b0 0x2594292 0x2594edf 0x498001 # 0x25913af github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x164f github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:155 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x258cab4 0x257f730 0x21d4da2 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x258cab3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x6f23c5 0x6f2397 0x6f233b 0x113b125 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6f23c4 bufio.NewReaderSize+0xa4 bufio/bufio.go:57 # 0x6f2396 bufio.NewReader+0x76 bufio/bufio.go:63 # 0x6f233a net/textproto.NewConn+0x1a net/textproto/textproto.go:70 # 0x113b124 net/smtp.(*Client).StartTLS+0x164 net/smtp/smtp.go:163 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 160] @ 0x48dd05 0x428505 0x6a24f3 0x6a222f 0x6b64fb 0x6b40f6 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a24f2 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x132 crypto/tls/conn.go:1167 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b64fa crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x5a crypto/tls/handshake_client_tls13.go:525 # 0x6b40f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x755 crypto/tls/handshake_client_tls13.go:133 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f71ff 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f71fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2824890 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x282488f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x66f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:854 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 320] @ 0x48dd05 0x493087 0x26213ee 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26213ed github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:696 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4ebc 0x13a5628 0x19ddc8c 0x19ddc44 0x18def2e 0x18dee81 0x185aa3d 0x217bd69 0x249e252 0x276d0b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4ebb github.com/jmoiron/sqlx.scanAll+0x85b github.com/jmoiron/sqlx@v1.4.0/sqlx.go:978 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18def2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18dee80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2129 # 0x185aa3c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2052 # 0x217bd68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1763 # 0x249e251 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2485 # 0x276d0b3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x1b3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1876 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x551377 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x551376 encoding/json.mapEncoder.encode+0x496 encoding/json/encode.go:803 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212be0a 0x2518fe2 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212be09 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.FileInfo+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:523 # 0x2518fe1 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x41 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x492ae9 0x2979ece 0x29796a9 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x29796a8 crypto/internal/fips140/ecdsa.newDRBG[...]+0x188 crypto/internal/fips140/ecdsa/hmacdrbg.go:71 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x27d5d7d 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x27d5d7c github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/file.go:442 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 196608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x551e97 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x551e96 encoding/json.sliceEncoder.encode+0x356 encoding/json/encode.go:845 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28eb85d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28eb85c github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x21c github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xb8855b 0xb9074f 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2762cf0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8855a github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x9a github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:151 # 0xb9074e github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x42e github.com/mattermost/mattermost/server/public/shared/markdown/list.go:215 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2762cef github.com/mattermost/mattermost/server/v8/channels/api4.getPinnedPosts+0x2cf github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1098 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2621052 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2621051 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0xc91 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:673 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x196e4dc 0x196e3eb 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196e4db github.com/mattermost/squirrel.StatementBuilderType.Select+0x37b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196e3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dd1f7 0x18eaede 0x1857b5a 0x217883a 0x2470530 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x18eaedd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.AnalyticsCountAll+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3153 # 0x1857b59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).AnalyticsCountAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1347 # 0x2178839 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).AnalyticsCountAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1205 # 0x247052f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getStandardAnalytics.func1+0x6f github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:78 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2824d65 0x2824cd6 0x2824c99 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2824d64 net/textproto.MIMEHeader.Set+0xb44 net/textproto/header.go:22 # 0x2824cd5 net/http.Header.Set+0xab5 net/http/header.go:40 # 0x2824c98 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa78 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:902 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a291a5 0x1a29146 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a291a4 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a29145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x12534f8 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x12534f7 github.com/lib/pq.(*conn).simpleQuery+0x3d7 github.com/lib/pq@v1.12.3/conn.go:664 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18e2272 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e2271 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a085c9 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a085c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x708 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x1a0c42c 0x1a0c383 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c42b github.com/mattermost/squirrel.UpdateBuilder.Set+0x5ab github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0c382 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x502 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:746 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x1a0d0b6 0x1a0d0a4 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0x286dded 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x286ddec github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xec github.com/mattermost/mattermost/server/v8/channels/api4/system.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x5d0365 0x5d448c 0x5d59bb 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5d0364 crypto/ecdsa.pointFromAffine+0x1c4 crypto/ecdsa/ecdsa.go:615 # 0x5d448b crypto/ecdsa.privateKeyToFIPS[...]+0x4b crypto/ecdsa/ecdsa.go:575 # 0x5d59ba crypto/ecdsa.signFIPS[...]+0xba crypto/ecdsa/ecdsa.go:412 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5857280] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4753be 0x4753b2 0x475708 0xb86a28 0xb86652 0xb8cb3d 0xb8d15d 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb86a27 github.com/mattermost/mattermost/server/public/shared/markdown.trimTrailingCharactersFromLink+0x167 github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:246 # 0xb86651 github.com/mattermost/mattermost/server/public/shared/markdown.parseURLAutolink+0x251 github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:104 # 0xb8cb3c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0xdc github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:509 # 0xb8d15c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x15c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x19ea9d7 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea9d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x276 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x196df5a 0x196dd8b 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196df59 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0xa59 github.com/mattermost/mattermost/server/public/model/post_list.go:129 # 0x196dd8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x88a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1316 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 192] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xbe9d7e 0xbe9bd6 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xbe9d7d github.com/vmihailenco/msgpack/v5.growSliceValue+0xbd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xbe9bd5 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x455 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:112 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28045da 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28045d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2127b25 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127b24 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x428505 0xb90d8d 0xb8776c 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb90d8c github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).Continuation+0x6c github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:28 # 0xb8776b github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x32b github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18d1d05 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1d04 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd0c 0x493087 0xb8aa4b 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8aa4a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x30a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x493087 0xb8a54b 0xb8d1b9 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8a54a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseEscapeCharacter+0x12a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:202 # 0xb8d1b8 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1b8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:575 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x4752f7 0x139ef51 0x139d825 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139ef50 github.com/jmoiron/sqlx.compileNamedQuery+0xd90 github.com/jmoiron/sqlx@v1.4.0/named.go:405 # 0x139d824 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x493087 0xb8aa4b 0xb8d185 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8aa4a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x30a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d184 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x184 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x19f8191 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f8190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x470 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x61dd23 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x61dd22 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:344 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x270f271 0x283627d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f270 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xf0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:73 # 0x283627c github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x4fc github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:215 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x730e65 0x730dd3 0x730d94 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2702f42 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730e64 net/textproto.MIMEHeader.Set+0xc24 net/textproto/header.go:22 # 0x730dd2 net/http.Header.Set+0xb92 net/http/header.go:40 # 0x730d93 net/http.serveContent+0xb53 net/http/fs.go:424 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2702f41 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x5a1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:656 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184816c 0x184809b 0x1848190 0x18e556e 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e556d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x30d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2765 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x24a8c53 0x24a8c3b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24a8c52 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x4b2 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x24a8c3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x49a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3559 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 128] @ 0x48dd05 0x428505 0xb8d5fc 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d5fb github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:640 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0x65e7ed 0x65ee76 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x65e7ec crypto/x509.alreadyInChain+0xcc crypto/x509/verify.go:681 # 0x65ee75 crypto/x509.(*Certificate).buildChains.func1+0x2d5 crypto/x509/verify.go:741 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x2605fbf 0x282c9d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x2605fbe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x1de github.com/mattermost/mattermost/server/v8/channels/app/post.go:2272 # 0x282c9cf github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x4af github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1575 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x500607 0x1cd082a 0x1cd082b 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x500606 encoding/base64.(*Encoding).EncodeToString+0xe6 encoding/base64/base64.go:207 # 0x1cd0829 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xa9 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:101 # 0x1cd082a github.com/golang-jwt/jwt/v5.(*Token).SignedString+0xaa github.com/golang-jwt/jwt/v5@v5.3.1/token.go:76 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e319 0x56e2dd 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e318 context.withCancel+0x58 context/context.go:278 # 0x56e2dc context.WithCancelCause+0x1c context/context.go:269 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x270f271 0x27db1a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f270 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xf0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:73 # 0x27db1a4 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:826 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1024] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x196fd07 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24a25 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24a24 github.com/boxes-ltd/imaging.resizeVertical+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:148 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 4849664] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 278528] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 40960] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 4145152] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 8] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6d05c5 0x6d051c 0x6d0e38 0x6b7374 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6d05c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6d051b crypto/tls.(*certificateVerifyMsg).marshal+0x9b crypto/tls/handshake_messages.go:1857 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b7373 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x6b3 crypto/tls/handshake_client_tls13.go:676 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x1cd7648 0x1cd74e5 0x272ce91 0x272ce6c 0x272b4f5 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1cd7647 github.com/avct/uasurfer.normalise+0xa7 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:243 # 0x1cd74e4 github.com/avct/uasurfer.parse+0x24 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:216 # 0x272ce90 github.com/avct/uasurfer.Parse+0x270 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:204 # 0x272ce6b github.com/mattermost/mattermost/server/v8/channels/web.renderUnsupportedBrowser+0x24b github.com/mattermost/mattermost/server/v8/channels/web/unsupported_browser.go:57 # 0x272b4f4 github.com/mattermost/mattermost/server/v8/channels/web.root+0x174 github.com/mattermost/mattermost/server/v8/channels/web/static.go:67 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18e229f 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e229e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x29e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1912876 0x1864d7b 0x218785d 0x2664e5d 0x26643f7 0xc7b03a 0x498001 # 0x1912875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandWebhookStore.Cleanup+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_webhook_store.go:126 # 0x1864d7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandWebhookStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4639 # 0x218785c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandWebhookStore).Cleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3820 # 0x2664e5c github.com/mattermost/mattermost/server/v8/channels/app.doCommandWebhookCleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1371 # 0x26643f6 github.com/mattermost/mattermost/server/v8/channels/app.runCommandWebhookCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1295 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1a114b4 0x188dbdb 0x21b680b 0x2664dff 0x2664317 0xc7b03a 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1a114b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTokenStore.Cleanup+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/tokens_store.go:97 # 0x188dbda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTokenStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15763 # 0x21b680a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTokenStore).Cleanup+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12434 # 0x2664dfe github.com/mattermost/mattermost/server/v8/channels/app.doTokenCleanup+0x7e github.com/mattermost/mattermost/server/v8/channels/app/server.go:1367 # 0x2664316 github.com/mattermost/mattermost/server/v8/channels/app.runTokenCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1288 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0xb8871d 0xb87d02 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8871c github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).AddChild+0x7c github.com/mattermost/mattermost/server/public/shared/markdown/document.go:20 # 0xb87d01 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x8c1 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fb2d 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fb2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0x24adbe9 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0xb8e5e6 0xb8e56a 0xb8e4b6 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e5e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock-range1+0x445 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:64 # 0xb8e569 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock.Backward[...].func1+0x3c9 slices/iter.go:29 # 0xb8e4b5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x315 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:63 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1246aae 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1246aad github.com/lib/pq/scram.(*Client).step2+0x26d github.com/lib/pq@v1.12.3/scram/scram.go:173 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474b30 0x61dbfa 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x61dbf9 net.(*Resolver).lookupIPAddr+0x239 net/lookup.go:332 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x184b9b4 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x195d8c7 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x2e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 401408] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28a27a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28a27a4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x944 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e60de 0x263137b 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e60dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDbVersion+0x7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:429 # 0x263137a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x61a github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:337 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1164ef0 0x1164edd 0x116664e 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x1164eef github.com/levigross/exp-html.NewTokenizer+0x12f github.com/levigross/exp-html@v0.0.0-20120902181939-8df60c69a8f5/token.go:777 # 0x1164edc github.com/JalfResi/justext.paragraphObjectModel+0x11c github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/paragraphObjectModel.go:86 # 0x116664d github.com/JalfResi/justext.(*Reader).ReadAll+0x8d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:56 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x194796f 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x194796e 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 80] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xbe9d7e 0xbe9bd6 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xbe9d7d github.com/vmihailenco/msgpack/v5.growSliceValue+0xbd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xbe9bd5 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x455 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:112 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1943213 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1943212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x5b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dbe33 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dbe32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:211 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x48dd05 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x19c98bd 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c98bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1943310 0x194324d 0x1942fd2 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x194330f github.com/lann/builder.Append+0x6af github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194324c github.com/mattermost/squirrel.InsertBuilder.Values+0x5ec github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1942fd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x19032da 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19032d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x659 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:427 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53001e 0x5305b0 0x27172f0 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53001d fmt.newPrinter+0x1d fmt/print.go:152 # 0x5305af fmt.Sprintf+0x2f fmt/print.go:238 # 0x27172ef github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xc0f github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1989f1f 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1989f1e 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x196fadc 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fadb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x45b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x18425b4 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [5: 1392640] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 221184] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 13568] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x20cdd2b 0x20cdc0d 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdd2a runtime/pprof.(*profileBuilder).stringIndex+0xf4a runtime/pprof/proto.go:138 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 843776] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x99febb 0x99fbe2 0x99f4c5 0x99f4c6 0x99f6e5 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x99f4c4 github.com/hashicorp/yamux.(*Session).waitForSend+0x144 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x99f4c5 github.com/hashicorp/yamux.(*Session).Ping+0x145 github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x139e805 0x139d825 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x139e804 github.com/jmoiron/sqlx.compileNamedQuery+0x644 github.com/jmoiron/sqlx@v1.4.0/named.go:371 # 0x139d824 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x428505 0x658949 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x658948 crypto/x509.parseCertificate+0x208 crypto/x509/parser.go:925 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1947f77 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1947f76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 256] @ 0x48dd05 0x493087 0x26213ee 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26213ed github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:696 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x428505 0x1966572 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1966571 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:635 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1a1e0f1 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1a1e0f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:572 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x1955437 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x1955436 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:214 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19199f9 0x1865ef2 0x2188c0b 0x2295bd1 0x20db11a 0x20dad8e 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19199f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDesktopTokensStore).DeleteOlderThan+0x1b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/desktop_tokens_store.go:119 # 0x1865ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDesktopTokensStore).DeleteOlderThan+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4926 # 0x2188c0a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDesktopTokensStore).DeleteOlderThan+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4058 # 0x2295bd0 github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens.MakeWorker.func2+0xd0 github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens/worker.go:24 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x28251ec 0x2825174 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28251eb github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0xfcb github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x2825173 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xf53 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:910 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19e0c15 0x19e0be3 0x19e0bf1 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x19e0c14 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x74 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e0be2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e0bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18e53b0 0x18e5381 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e53af github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e5380 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2761 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x12477c4 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x12477c3 github.com/lib/pq/scram.(*Client).clientProof+0xc3 github.com/lib/pq@v1.12.3/scram/scram.go:235 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a294ac 0x1a294e6 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1a294ab github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a294e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x3e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca16e5 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca16e4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:248 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19ea832 0x19ea817 0x19ea816 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea831 github.com/mattermost/squirrel.InsertBuilder.Into+0xd1 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19ea816 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19ea815 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0xc9e7f4 0xc9e75e 0xc62ec5 0x2824cc5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9e7f3 strings.(*Builder).WriteString+0x1f3 strings/builder.go:114 # 0xc9e75d github.com/mattermost/mattermost/server/public/model.Etag+0x15d github.com/mattermost/mattermost/server/public/model/utils.go:737 # 0xc62ec4 github.com/mattermost/mattermost/server/public/model.(*PostList).Etag+0x1c4 github.com/mattermost/mattermost/server/public/model/post_list.go:194 # 0x2824cc4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:902 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a04d7e 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04d7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x9bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:321 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x493087 0x7aa99b 0x7aa9e0 0x7a8f19 0x7a9b12 0x7a9e0f 0x7a8acb 0x7bd537 0x7be04c 0x7be040 0xc6bdfe 0x199e85d 0x187d032 0x21a30eb 0x2120972 0x263960a 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7a8f18 regexp/syntax.(*compiler).compile+0x2b8 regexp/syntax/compile.go:110 # 0x7a9b11 regexp/syntax.(*compiler).compile+0xeb1 regexp/syntax/compile.go:135 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xc6bdfd github.com/mattermost/mattermost/server/public/model.(*Reaction).IsValid+0x5d github.com/mattermost/mattermost/server/public/model/reaction.go:31 # 0x199e85c 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 # 0x187d031 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10989 # 0x21a30ea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8742 # 0x2120971 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 # 0x2639609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x569 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:78 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199f2f5 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f2f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x2f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x730e65 0x730dd3 0x730d94 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730e64 net/textproto.MIMEHeader.Set+0xc24 net/textproto/header.go:22 # 0x730dd2 net/http.Header.Set+0xb92 net/http/header.go:40 # 0x730d93 net/http.serveContent+0xb53 net/http/fs.go:424 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 106496] @ 0x48dd33 0x4930f3 0x1be1892 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1891 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0xd51 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:159 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x1bce555 0x1bcf196 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bce554 github.com/klauspost/compress/zstd.(*blockEnc).encodeLits+0x174 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:349 # 0x1bcf195 github.com/klauspost/compress/zstd.(*blockEnc).encode+0xd5 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:502 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x1bd0ca5 0x1bd0d30 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bd0ca4 github.com/klauspost/compress/zstd.(*bitWriter).flush32+0x1be4 github.com/klauspost/compress@v1.18.6/zstd/bitwriter.go:79 # 0x1bd0d2f github.com/klauspost/compress/zstd.(*blockEnc).encode+0x1c6f github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:795 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x1bc300d 0x1bc3061 0x1bc3513 0x1bc2851 0x1bc223e 0x1bcf4c5 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc300c github.com/klauspost/compress/huff0.(*bitWriter).flush32+0x2ac github.com/klauspost/compress@v1.18.6/huff0/bitwriter.go:76 # 0x1bc3060 github.com/klauspost/compress/huff0.(*Scratch).compress1xDo+0x300 github.com/klauspost/compress@v1.18.6/huff0/compress.go:259 # 0x1bc3512 github.com/klauspost/compress/huff0.(*Scratch).compress4X+0x1f2 github.com/klauspost/compress@v1.18.6/huff0/compress.go:287 # 0x1bc2850 github.com/klauspost/compress/huff0.compress+0x5d0 github.com/klauspost/compress@v1.18.6/huff0/compress.go:150 # 0x1bc223d github.com/klauspost/compress/huff0.Compress4X+0x7d github.com/klauspost/compress@v1.18.6/huff0/compress.go:40 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4096] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x51e9da 0x52062c 0xbe9d9b 0xbe9bd6 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x51e9d9 reflect.Value.Slice+0x99 reflect/value.go:2366 # 0x52062b reflect.AppendSlice+0x14b reflect/value.go:2808 # 0xbe9d9a github.com/vmihailenco/msgpack/v5.growSliceValue+0xda github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xbe9bd5 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x455 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:112 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a04a65 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:305 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x76cb25 0x79a9df 0x774ce7 0x779bd8 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x76cb24 net/http.newTextprotoReader+0x24 net/http/request.go:1039 # 0x79a9de net/http.readRequest+0x3e net/http/request.go:1080 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1974a65 0x1974a36 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1974a64 github.com/mattermost/squirrel.StatementBuilderType.Select+0x4a4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1974a35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1834 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x28abcbb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28abcba github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x3fa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1183 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1974aef 0x1974a66 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1974aee github.com/mattermost/squirrel.SelectBuilder.From+0x52e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1974a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1835 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x199f3e6 0x199f38e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199f3e5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3e5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199f38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 560] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x64c60a 0x64c39a 0x6b2a75 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64c609 crypto/x509.(*CertPool).addCertFunc+0x2a9 crypto/x509/cert_pool.go:210 # 0x64c399 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x6b2a74 crypto/tls.(*Conn).verifyServerCertificate+0xa74 crypto/tls/handshake_client.go:1156 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a02e5d 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04994 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:299 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28cac25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac24 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3742 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199f32a 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f329 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x329 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x195d91e 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d91d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 960] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846025 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2115055 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2115054 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:306 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x6933ba 0x4a2651 0x6a1565 0x6a2dbe 0x73f8fa 0x75171d 0x57cf32 0x758248 0x757545 0x7569ac 0x7561f8 0x498001 # 0x6933b9 crypto/tls.init.func1+0x19 crypto/tls/conn.go:974 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x6a1564 crypto/tls.(*Conn).writeRecordLocked+0x3a4 crypto/tls/conn.go:994 # 0x6a2dbd crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1254 # 0x73f8f9 net/http.http2writeWithByteTimeout+0x59 net/http/h2_bundle.go:3771 # 0x75171c net/http.http2stickyErrWriter.Write+0x3c net/http/h2_bundle.go:7813 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x758247 net/http.(*http2ClientConn).writeHeaders+0x167 net/http/h2_bundle.go:9089 # 0x757544 net/http.(*http2clientStream).encodeAndWriteHeaders+0x3a4 net/http/h2_bundle.go:8910 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196a345 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196a344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:927 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x224844d 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x224844c github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x2cc github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:36 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x1841749 0x1841335 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1841748 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x208 github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x6b3a25 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x6b3a24 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x84 crypto/tls/handshake_client_tls13.go:65 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x6be92e 0x6be7ef 0x6be7f4 0x5ccbc4 0x5cd01c 0x6be774 0x6be753 0x5ccbc4 0x5cd01c 0x6bae6b 0x6bacfd 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6be92d vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18d vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6be7ee vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x4e vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6be7f3 crypto/tls.(*clientHelloMsg).marshalMsg.func10.1+0x53 crypto/tls/handshake_messages.go:228 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6be773 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be752 crypto/tls.(*clientHelloMsg).marshalMsg.func10+0x12 crypto/tls/handshake_messages.go:226 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bae6a vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1e2a vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bacfc crypto/tls.(*clientHelloMsg).marshalMsg+0x1cbc crypto/tls/handshake_messages.go:225 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x73d37e 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73d37d net/http.(*http2Framer).readMetaFrame+0xdd net/http/h2_bundle.go:3165 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x4f937f 0x12468f5 0x12468bd 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f937e bytes.genSplit+0x9e bytes/bytes.go:395 # 0x12468f4 bytes.Split+0xb4 bytes/bytes.go:439 # 0x12468bc github.com/lib/pq/scram.(*Client).step2+0x7c github.com/lib/pq@v1.12.3/scram/scram.go:154 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x192106d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x192106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e23d8 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e23d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x54c92d 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c92c encoding/json.(*decodeState).literalInterface+0xcc encoding/json/decode.go:1148 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18412c5 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18412c4 github.com/mattermost/squirrel.(*insertData).ToSql+0x284 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8448e 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0xb8b02b 0xb8d1aa 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2587fce 0x26071e5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8b02a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x36a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:267 # 0xb8d1a9 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1a9 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x26071e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x524 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2442 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28addb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28addb4 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x314 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1361 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a02d85 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1a02d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x444 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18451d5 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18451d4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x454 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1973779 0x19736f6 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x6f258f 0x113a78a 0x1225405 0x498001 # 0x6f258e net/textproto.NewConn+0x26e net/textproto/textproto.go:69 # 0x113a789 net/smtp.NewClient+0x49 net/smtp/smtp.go:65 # 0x1225404 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced.func1+0x84 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:165 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18e33d4 0x18e3321 0x18599a7 0x217ab2d 0x21152c6 0x2581397 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e33d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e3320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2530 # 0x18599a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1821 # 0x217ab2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1587 # 0x21152c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:332 # 0x2581396 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: 6912] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x191afb9 0x191afa4 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191afb8 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1f8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191afa3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x1e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:122 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x26bd685 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bd684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2883 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19e0dc6 0x19e0cd3 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x26980dc 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x26980db github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x15b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1977 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1990ed0 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990ecf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0xa4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:221 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x18409f9 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x194557b 0x19454c3 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x194557a github.com/mattermost/squirrel.UpdateBuilder.Set+0x33a github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19454c2 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x19e0dc6 0x19e0cd3 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0xb8a9c7 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8a9c6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x286 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0xb8f02e 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f02d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 401408] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 270336] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4930f3 0x69ccb0 0x6a17ed 0x6a1cc6 0x6b8205 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x69ccaf crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:519 # 0x6a17ec crypto/tls.(*Conn).writeRecordLocked+0x62c crypto/tls/conn.go:1031 # 0x6a1cc5 crypto/tls.(*Conn).writeHandshakeRecord+0x145 crypto/tls/conn.go:1066 # 0x6b8204 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xe4 crypto/tls/handshake_client_tls13.go:815 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 8] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x199f465 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18def2e 0x18dee81 0x185aa3d 0x217bd69 0x249e252 0x276d0b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18def2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18dee80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2129 # 0x185aa3c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2052 # 0x217bd68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1763 # 0x249e251 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2485 # 0x276d0b3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x1b3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1876 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0x26231a5 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0x26231a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:894 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61592 0x261f86a 0x281f491 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281f490 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x910 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:418 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 13568] @ 0x48dd2c 0x492ae9 0xc99845 0xc99801 0x11347f5 0x1133c86 0x1133c7e 0x211dda2 0x2127cad 0x2581463 0x498001 # 0xc99844 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc99800 github.com/mattermost/mattermost/server/public/model.UserMap.MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:800 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127cac 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 # 0x2581462 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: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 57344] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 3825664] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x6f3026 0x6febc8 0x6fe8c5 0x6ff926 0x6ff4ec 0x27d37f8 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f3025 net/textproto.readMIMEHeader+0x3e5 net/textproto/reader.go:592 # 0x6febc7 mime/multipart.(*Part).populateHeaders+0x67 mime/multipart/multipart.go:171 # 0x6fe8c4 mime/multipart.newPart+0xa4 mime/multipart/multipart.go:153 # 0x6ff925 mime/multipart.(*Reader).nextPart+0x3a5 mime/multipart/multipart.go:409 # 0x6ff4eb mime/multipart.(*Reader).NextPart+0x2b mime/multipart/multipart.go:372 # 0x27d37f7 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x237 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:238 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x21f9af9 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f9af8 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x9b8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:275 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 917504] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 7110656] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 688128] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2162688] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a03cd4 0x1a03c7a 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a03cd3 github.com/mattermost/squirrel.SelectBuilder.From+0x153 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03c79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:234 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4f64 0x13a5628 0x19ddc8c 0x19ddc44 0x18def2e 0x18dee81 0x185aa3d 0x217bd69 0x249e252 0x276d0b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4f63 github.com/jmoiron/sqlx.scanAll+0x903 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:980 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18def2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18dee80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2129 # 0x185aa3c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2052 # 0x217bd68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1763 # 0x249e251 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2485 # 0x276d0b3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x1b3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1876 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4930f3 0x5360fb 0x536091 0x5305d3 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5360fa fmt.(*buffer).writeString+0x13a fmt/print.go:108 # 0x536090 fmt.(*pp).doPrintf+0xd0 fmt/print.go:1033 # 0x5305d2 fmt.Sprintf+0x52 fmt/print.go:239 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0xc3e90e 0xc3e797 0xc3e611 0x2623348 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0xc3e90d github.com/mattermost/mattermost/server/public/model.IsSVGImageURL+0x2d github.com/mattermost/mattermost/server/public/model/link_metadata.go:118 # 0xc3e796 github.com/mattermost/mattermost/server/public/model.FilterSVGImages+0x96 github.com/mattermost/mattermost/server/public/model/link_metadata.go:102 # 0xc3e610 github.com/mattermost/mattermost/server/public/model.TruncateOpenGraph+0x450 github.com/mattermost/mattermost/server/public/model/link_metadata.go:83 # 0x2623347 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x247 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:916 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x4930f3 0xb62805 0xb626aa 0xb63783 0xb63cd6 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62804 encoding/gob.(*encBuffer).WriteString+0x264 encoding/gob/encode.go:60 # 0xb626a9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63cd5 encoding/gob.(*Encoder).encodeMap+0x4f5 encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 640] @ 0x48dd0c 0x428505 0x125f9a7 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x125f9a6 github.com/lib/pq.newConfig+0x86 github.com/lib/pq@v1.12.3/connector.go:545 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x18c8c38 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c8c37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:479 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x18d1d05 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1d04 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a29270 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a2926f github.com/mattermost/squirrel.SelectBuilder.From+0x16f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 144] @ 0x48dd05 0x428505 0x21fdc34 0x21fdbaa 0x22063a7 0x2204837 0x498001 # 0x21fdc33 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xb3 github.com/mattermost/mattermost/server/public/model/websocket_message.go:293 # 0x21fdba9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:831 # 0x22063a6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1b46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:604 # 0x2204836 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:791 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x664b2d 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x664b2c crypto/x509.checkSignature+0x22c crypto/x509/x509.go:1011 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd05 0x428505 0x26ff93e 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ff93d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:63 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x64284b 0x658ca5 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64284a crypto/x509/pkix.(*Name).FillFromRDNSequence+0x30a crypto/x509/pkix/pkix.go:165 # 0x658ca4 crypto/x509.parseCertificate+0x564 crypto/x509/parser.go:967 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 448] @ 0x48dd05 0x428505 0x19601be 0x1960813 0x1962645 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x1960812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:106 # 0x1962644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1844 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:254 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x46be75 0x99fb53 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x99fb52 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x372 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a02a17 0x1a029f1 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a04597 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04596 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1a0709e 0x1a07046 0x1a07044 0x1309f10 0x498001 # 0x1a0709d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a07045 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a07043 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:428 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x1247b03 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x1247b02 github.com/lib/pq/scram.(*Client).serverSignature+0x122 github.com/lib/pq@v1.12.3/scram/scram.go:256 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a02a93 0x1a02a18 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a02a92 github.com/mattermost/squirrel.SelectBuilder.From+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc9f88b 0xc9f82b 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9f88a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9f82a github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x12612af 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12612ae github.com/lib/pq.(*Config).fromEnv+0x2e github.com/lib/pq@v1.12.3/connector.go:668 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a04f55 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04f54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:331 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a048bd 0x1a04872 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a048bc github.com/mattermost/squirrel.SelectBuilder.Join+0x4fc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a04871 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28caf18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caf17 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3763 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x48dd05 0x48d725 0xca16d2 0x2204e27 0x2204837 0x498001 # 0xca16d1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xb1 github.com/mattermost/mattermost/server/public/model/websocket_message.go:248 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x19e10d1 0x19e109d 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x19e10d0 github.com/mattermost/squirrel.Expr+0x530 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x19e109c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x4fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:57 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28ebd9b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28ebd9a github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x75a github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x113af5e 0x113a94a 0x113aa93 0x122506e 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x113af5d net/smtp.(*Client).ehlo+0x21d net/smtp/smtp.go:142 # 0x113a949 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x113aa92 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x122506d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:184 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846fbc 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28cabae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cabad github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x30d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3732 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a02b09 0x1a02abe 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a02b08 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1847d54 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847d53 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0x75b4a5 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b4a4 net/http.(*http2clientConnReadLoop).handleResponse+0x2c4 net/http/h2_bundle.go:9689 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18412c5 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18412c4 github.com/mattermost/squirrel.(*insertData).ToSql+0x284 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 128] @ 0x48dd05 0x428505 0xb9119a 0xb87bc8 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91199 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:68 # 0xb87bc7 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x787 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x196fb97 0x196faea 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fb96 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x516 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fae9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x18411a5 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18411a4 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 7012352] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x196f9b4 0x196f95a 0x196f950 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x196f9b3 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x333 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x196f959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x196f94f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1419 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a046a8 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a046a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:285 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x19db3b9 0x19badb8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x19db3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Close+0x38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:85 # 0x19badb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x697 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:297 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 19968] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd0c 0x428505 0x1b8e4c5 0x1b8e52c 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e4c4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x164 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e52b github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1cb github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:152 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0xb64785 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0xb64784 encoding/gob.(*Encoder).encodeInterface+0x9a4 encoding/gob/encode.go:426 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a04ee5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04ee4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:319 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a04994 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:299 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dce4e 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dce4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:283 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 1728] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x25db905 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x25db904 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x184 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:71 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a051d5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a051d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xe14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:337 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x607649 0x60761c 0x6072fb 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x607648 context.WithDeadline+0x208 context/context.go:626 # 0x60761b net.(*sysDialer).dialSerial+0x1db net/dial.go:751 # 0x6072fa net.(*sysDialer).dialParallel.func1+0x7a net/dial.go:676 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a046a8 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a046a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:285 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x199b0a5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199b0a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0xaa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a04465 0x1a04441 0x1a04426 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a04464 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a04440 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a04425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:279 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1309e53 0x26bda6d 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1309e52 golang.org/x/sync/errgroup.(*Group).Go+0x52 golang.org/x/sync@v0.20.0/errgroup/errgroup.go:78 # 0x26bda6c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x44c github.com/mattermost/mattermost/server/v8/channels/app/user.go:2916 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1840199 0x18405fa 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1840198 github.com/mattermost/squirrel.Lt.toSql+0x438 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x18405f9 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x516687 0x516019 0x895c46 0x890fd8 0x88f83f 0x88e8ee 0x88e305 0x88c276 0x88c4b1 0x88ddb2 0x88d7b7 0x88c412 0x88c4b1 0x88bc7c 0x8aa545 0x8aa524 0x1397ad0 0x1397932 0x258fafe 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x516686 reflect.Value.call+0x426 reflect/value.go:448 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0x895c45 text/template.safeCall+0x85 text/template/funcs.go:366 # 0x890fd7 text/template.(*state).evalCall+0xa37 text/template/exec.go:870 # 0x88f83e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x88e8ed text/template.(*state).evalCommand+0x1cd text/template/exec.go:563 # 0x88e304 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x88c275 text/template.(*state).walk+0xd5 text/template/exec.go:267 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88ddb1 text/template.(*state).walkRange.func2+0x2b1 text/template/exec.go:395 # 0x88d7b6 text/template.(*state).walkRange+0xc16 text/template/exec.go:419 # 0x88c411 text/template.(*state).walk+0x271 text/template/exec.go:283 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8aa544 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x8aa523 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1397acf github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:69 # 0x1397931 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:56 # 0x258fafd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xb1d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125bedb 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x21f9e0b 0x21d4da2 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125beda github.com/lib/pq.(*conn).readExecuteResponse+0xfa github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 288] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x259b2cb 0x259b03f 0x22a2474 0x20db11a 0x20dad8e 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x259b2ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifyAdminPosts+0xaa github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:91 # 0x259b03e github.com/mattermost/mattermost/server/v8/channels/app.(*App).DoCheckForAdminNotifications+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notify_admin.go:59 # 0x22a2473 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e42dc 0x185d747 0x217ee6d 0x2114266 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e42db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2642 # 0x185d746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2688 # 0x217ee6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2259 # 0x2114265 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x25fe2af 0x25fe26e 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25fe2ae github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x8e github.com/mattermost/mattermost/server/public/model/config.go:5186 # 0x25fe26d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a047e5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a047e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:294 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd25 0x470c9f 0x4af985 0x4b5257 0x4b5261 0x4edaf2 0x4edad1 0x4edada 0x4edace 0x4ed72c 0x4e9fc5 0x17daaaf 0x17d9e30 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b5256 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4b5260 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4edaf1 syscall.Stat+0x51 syscall/syscall_linux_amd64.go:61 # 0x4edad0 os.statNolog.func1+0x30 os/stat_unix.go:32 # 0x4edad9 os.ignoringEINTR+0x39 os/file_posix.go:256 # 0x4edacd os.statNolog+0x2d os/stat_unix.go:31 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x4e9fc4 os.MkdirAll+0x24 os/path.go:21 # 0x17daaae github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x6e github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:156 # 0x17d9e2f github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xef github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x4c7afa 0x4c67ea 0x4c7471 0x4c7567 0x4c5130 0x13953c5 0x258e730 0x258b706 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x4c7af9 time.readFile+0x1d9 time/zoneinfo_read.go:589 # 0x4c67e9 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4c7470 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4c7566 time.loadLocation+0xa6 time/zoneinfo_read.go:533 # 0x4c512f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x13953c4 github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2c4 github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x258e72f github.com/mattermost/mattermost/server/v8/channels/app.getNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:289 # 0x258b705 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x705 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:68 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x493087 0x136fa4d 0x4a240c 0x136f62f 0x136f603 0x137d9ac 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x136fa4c github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x18c github.com/yuin/goldmark@v1.8.2/parser/parser.go:872 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x136f62e sync.(*Once).Do+0x6e sync/once.go:69 # 0x136f602 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.8.2/parser/parser.go:865 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28ca1e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28ca1e4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3677 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c60b0 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c60af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x6ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:160 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbf0f3b 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7c1cf8 0x9026b7 0x902626 0x262e3b1 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7c1cf7 regexp.(*Regexp).FindStringSubmatch+0xb7 regexp/regexp.go:1024 # 0x9026b6 github.com/Masterminds/semver/v3.coerceNewVersion+0x36 github.com/Masterminds/semver/v3@v3.5.0/version.go:253 # 0x902625 github.com/Masterminds/semver/v3.NewVersion+0x3e5 github.com/Masterminds/semver/v3@v3.5.0/version.go:181 # 0x262e3b0 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x310 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:49 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03f5d 0x1a03f15 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03f5c github.com/mattermost/squirrel.SelectBuilder.Join+0x3dc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03f14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:243 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a02e5d 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x516687 0x516019 0x895c46 0x890fd8 0x88f83f 0x88e8ee 0x88e305 0x88c276 0x88c4b1 0x88e18c 0x88c2ce 0x88c4b1 0x88ddb2 0x88d7b7 0x88c412 0x88c4b1 0x88bc7c 0x8aa545 0x8aa524 0x1397ad0 0x272c357 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x516686 reflect.Value.call+0x426 reflect/value.go:448 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0x895c45 text/template.safeCall+0x85 text/template/funcs.go:366 # 0x890fd7 text/template.(*state).evalCall+0xa37 text/template/exec.go:870 # 0x88f83e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x88e8ed text/template.(*state).evalCommand+0x1cd text/template/exec.go:563 # 0x88e304 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x88c275 text/template.(*state).walk+0xd5 text/template/exec.go:267 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88e18b text/template.(*state).walkTemplate+0x2ab text/template/exec.go:514 # 0x88c2cd text/template.(*state).walk+0x12d text/template/exec.go:285 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88ddb1 text/template.(*state).walkRange.func2+0x2b1 text/template/exec.go:395 # 0x88d7b6 text/template.(*state).walkRange+0xc16 text/template/exec.go:419 # 0x88c411 text/template.(*state).walk+0x271 text/template/exec.go:283 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8aa544 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x8aa523 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1397acf github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:69 # 0x272c356 github.com/mattermost/mattermost/server/v8/channels/web.root+0xfd6 github.com/mattermost/mattermost/server/v8/channels/web/static.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x2717a05 0x2717aab 0x27178d6 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2717a04 net/textproto.MIMEHeader.Set+0x1324 net/textproto/header.go:22 # 0x2717aaa net/http.Header.Set+0x13ca net/http/header.go:40 # 0x27178d5 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x11f5 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:244 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x538397 0x5378db 0x125afef 0x125af61 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x538396 fmt.newScanState+0xb6 fmt/scan.go:388 # 0x5378da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x125afee fmt.Sscanf+0x3ee fmt/scan.go:114 # 0x125af60 github.com/lib/pq.(*conn).processParameterStatus+0x360 github.com/lib/pq@v1.12.3/conn.go:1563 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 128] @ 0x48dd05 0x428505 0xb905eb 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb905ea github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x2ca github.com/mattermost/mattermost/server/public/shared/markdown/list.go:207 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x21fde56 0x21fdd4c 0x22063a7 0x2204837 0x498001 # 0x21fde55 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x2d5 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x21fdd4b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x1cb github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:832 # 0x22063a6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1b46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:604 # 0x2204836 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:791 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0xb8aa4b 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x26229c5 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8aa4a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x30a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x26229c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x324 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:826 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x12f0ed0 0x12f0e48 0x51716c 0x516019 0xb75014 0x498001 # 0x12f0ecf maps.Copy[...]+0x14f maps/maps.go:64 # 0x12f0e47 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).SyncHeader+0xc7 github.com/mattermost/mattermost/server/public/plugin/http.go:59 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x1b23c74 0x1b2499a 0x1b24394 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23c73 github.com/boxes-ltd/imaging.precomputeWeights+0xb3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:21 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 57344] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19e24d9 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e24d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:140 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x196fc51 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fc50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1424 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x195da16 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195da15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x435 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1152] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ef07 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ef06 encoding/json.addrMarshalerEncoder+0x166 encoding/json/encode.go:506 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837b12 0x18390d5 0x1839345 0x183aaed 0x183a953 0x1a0861e 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183aaec github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183a952 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a0861d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x75d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x197260f 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197260e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1688 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x4f7878 0xc34ceb 0x2730c5e 0x27303b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x4f7877 bytes.(*Buffer).ReadFrom+0x97 bytes/buffer.go:229 # 0xc34cea github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0x4a github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:193 # 0x2730c5d github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xc5d github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x27303b3 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3b3 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x18411a5 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18411a4 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4752f7 0x695266 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x695265 crypto/tls.(*weakCertCache).newCert+0x45 crypto/tls/cache.go:20 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x2990685 0x2990608 0x29905fd 0x29906fb 0x298a6ed 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2990684 crypto/internal/fips140/bigmod.(*Nat).reset+0x104 crypto/internal/fips140/bigmod/nat.go:96 # 0x2990607 crypto/internal/fips140/bigmod.(*Nat).set+0x87 crypto/internal/fips140/bigmod/nat.go:133 # 0x29905fc crypto/internal/fips140/bigmod.(*Modulus).Nat+0x7c crypto/internal/fips140/bigmod/nat.go:598 # 0x29906fa crypto/internal/fips140/rsa.checkPublicKey+0x17a crypto/internal/fips140/rsa/rsa.go:331 # 0x298a6ec crypto/internal/fips140/rsa.verifyPKCS1v15+0x4c crypto/internal/fips140/rsa/pkcs1v15.go:102 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18e33d4 0x18e3321 0x18599a7 0x217ab2d 0x21152c6 0x2581397 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e33d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e3320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2530 # 0x18599a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1821 # 0x217ab2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1587 # 0x21152c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:332 # 0x2581396 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: 480] @ 0x48dd05 0x493087 0x60e913 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60e912 net.(*Resolver).goLookupIPCNAMEOrder+0xf92 net/dnsclient_unix.go:735 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x26ae252 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26ae251 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x31 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1375 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1847b1c 0x1a25d58 0x1a25cf5 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x196fe19 0x196fda6 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196fe18 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x798 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196fda5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1427 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0xb73346 0x129cbea 0x129cb9f 0x12ed392 0x21fad43 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21facb8 0x21d4da2 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x129cbe9 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x129cb9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1086 # 0x12ed391 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:222 # 0x21fad42 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:427 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21facb7 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:426 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x8b9f65 0x8fa385 0x8f9cda 0x8fc695 0x8faba6 0xc9d1f5 0xc9d178 0x249b4f0 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b9f64 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d1f4 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x154 github.com/mattermost/mattermost/server/public/model/utils.go:294 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x249b4ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5c13 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5c12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:145 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x53efc5 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53efc4 strings.(*Replacer).build+0x184 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 598016] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x199f973 0x187c76e 0x21a26da 0x26393cf 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x199f972 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:114 # 0x187c76d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10842 # 0x21a26d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8630 # 0x26393ce github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x32e github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:41 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x798659 0x7985b1 0x78cd73 0x78b414 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x798658 net.JoinHostPort+0x178 net/ipsock.go:242 # 0x7985b0 net/http.canonicalAddr+0xd0 net/http/transport.go:3038 # 0x78cd72 net/http.(*Transport).connectMethodForRequest+0x52 net/http/transport.go:986 # 0x78b413 net/http.(*Transport).roundTrip+0x9d3 net/http/transport.go:683 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0x6bebae 0x6bea6f 0x6bea74 0x5ccbc4 0x5cd01c 0x6be9f4 0x6be9d3 0x5ccbc4 0x5cd01c 0x6babde 0x6baa70 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bebad vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18d vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bea6e vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x4e vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6bea73 crypto/tls.(*clientHelloMsg).marshalMsg.func9.1+0x53 crypto/tls/handshake_messages.go:213 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6be9f3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be9d2 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6babdd vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b9d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baa6f crypto/tls.(*clientHelloMsg).marshalMsg+0x1a2f crypto/tls/handshake_messages.go:210 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 1408] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x21f2798 0x21f9e0b 0x21d4da2 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x21f2797 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x597 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0x1267f5e 0x1267fef 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x1267f5d github.com/lib/pq.convertURL.func1+0x33d github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267fee github.com/lib/pq.convertURL+0x3ce github.com/lib/pq@v1.12.3/connector.go:1136 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x28a4fd5 0x28a4f4a 0x28a4edd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28a4fd4 net/textproto.MIMEHeader.Set+0x454 net/textproto/header.go:22 # 0x28a4f49 net/http.Header.Set+0x3c9 net/http/header.go:40 # 0x28a4edc github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x35c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:593 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x199f26b 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f26a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x26a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1954591 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1954590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x10b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:99 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4864] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cdcac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cdcab github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x5eb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3918 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5e7f 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cdcac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5e7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:153 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cdcab github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x5eb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3918 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x428505 0xc99d49 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc99d48 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x228 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:849 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x54c419 0x54c748 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x662a76 0x662997 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x662a75 crypto/x509.newPolicyGraphNode+0x2155 crypto/x509/verify.go:1053 # 0x662996 crypto/x509.policiesValid+0x2076 crypto/x509/verify.go:1275 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x25772bd 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25772bc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x917c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:681 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x299ba09 0x6b7731 0x6b76f7 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b7730 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x250 crypto/internal/fips140/tls13/tls13.go:137 # 0x6b76f6 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x216 crypto/tls/handshake_client_tls13.go:713 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x56ee7b 0x56e319 0x56e2dd 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x56ee7a context.(*cancelCtx).propagateCancel+0x7a context/context.go:478 # 0x56e318 context.withCancel+0x58 context/context.go:278 # 0x56e2dc context.WithCancelCause+0x1c context/context.go:269 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 480] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1967eba 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18e1e65 0x185c851 0x217de5d 0x2478e43 0x283c251 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2430 # 0x185c850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2478 # 0x217de5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2099 # 0x2478e42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:212 # 0x283c250 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a22e55 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a22e54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:942 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 10371072] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d671a 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d6719 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xd79 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:493 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x299b987 0x6b7731 0x6b76f7 0x6b4125 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x299b986 crypto/internal/fips140/tls13.deriveSecret[...]+0xa6 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b7730 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x250 crypto/internal/fips140/tls13/tls13.go:137 # 0x6b76f6 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x216 crypto/tls/handshake_client_tls13.go:713 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x1224d98 0x1224d70 0x122599f 0x122599a 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x1224d97 net.(*Dialer).Dial+0x197 net/dial.go:505 # 0x1224d6f github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServerAdvanced+0x16f github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:144 # 0x122599e github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServer+0x3e github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:154 # 0x1225999 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x39 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:269 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x192280e 0x192280f 0x186815b 0x218b3f7 0x2118fc8 0x258127d 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x192280d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x192280e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:374 # 0x186815a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5499 # 0x218b3f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4505 # 0x2118fc7 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 # 0x258127c 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 [2: 884736] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4857856] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227f549 0x27019b2 0x2700c90 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2700c8f github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5ef github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:211 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3219456] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x27d3e2e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27d3e2d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x86d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:324 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a11c 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:919 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 64] @ 0x48dd05 0x493087 0xb8ac17 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8ac16 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4d6 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0x542c16 0x19b8447 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x19b8446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:84 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212c7ea 0x25fe27f 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212c7e9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:539 # 0x25fe27e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x5e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x224846f 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x224846e github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x2ee github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:36 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e39bc 0x185c527 0x217da4d 0x2113dc6 0x249efe9 0x2761eaf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e39bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2577 # 0x185c526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2430 # 0x217da4c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2051 # 0x2113dc5 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 # 0x249efe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2557 # 0x2761eae github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:992 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1920ee5 0x1920e86 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920ee4 github.com/mattermost/squirrel.SelectBuilder.From+0x164 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1920e85 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:225 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28bb5e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28bb5e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2501 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a08495 0x1a0844a 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a08494 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5d4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x5a3bd9 0x5a3b5d 0x5cade5 0x5caddf 0x5cac1f 0x5d0cac 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5a3bd8 math/big.nat.make+0x98 math/big/nat.go:67 # 0x5a3b5c math/big.nat.setBytes+0x1c math/big/nat.go:1023 # 0x5cade4 math/big.(*Int).SetBytes+0x104 math/big/int.go:519 # 0x5cadde vendor/golang.org/x/crypto/cryptobyte.(*String).readASN1BigInt+0xfe vendor/golang.org/x/crypto/cryptobyte/asn1.go:330 # 0x5cac1e vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1Integer+0x3fe vendor/golang.org/x/crypto/cryptobyte/asn1.go:290 # 0x5d0cab crypto/ecdsa.Sign+0xeb crypto/ecdsa/ecdsa_legacy.go:80 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x5305e6 0x183efe9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183efe8 github.com/mattermost/squirrel.Eq.toSQL+0xb08 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6dfa05 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18e5dda 0x18e5cfe 0x18e5e19 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5dd9 github.com/lann/builder.Append+0xb79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5cfd github.com/mattermost/squirrel.UpdateBuilder.Set+0xa9d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5e18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xbb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2773 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x25fd1fa 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x25fd1f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1186 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e5f98 0x18e5e8e 0x18e5fac 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5f97 github.com/lann/builder.Append+0xd37 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5e8d github.com/mattermost/squirrel.UpdateBuilder.Set+0xc2d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5fab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2774 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1970365 0x1970308 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1970364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1970307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1475 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x276ca65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276ca64 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1843 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1056] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1841b2e 0x1841335 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1841b2d github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x5ed github.com/mattermost/squirrel@v0.5.0/insert.go:143 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4752f7 0x260ecb6 0x2602848 0x2823f65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x260ecb5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CleanUpAfterPostDeletion+0x235 github.com/mattermost/mattermost/server/v8/channels/app/post.go:3231 # 0x2602847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePost+0x407 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1916 # 0x2823f64 github.com/mattermost/mattermost/server/v8/channels/api4.deletePost+0xb04 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x28238d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x28238d1 github.com/mattermost/mattermost/server/v8/channels/api4.deletePost+0x471 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:738 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x70d226 0x70cb05 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x55a668 0x55a265 0x559f35 0x220bfb3 0x25adb94 0x262420b 0x26234f4 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x220bfb2 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x25adb93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:165 # 0x262420a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1016 # 0x26234f3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x3f3 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:930 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bb88e 0x6bb720 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a07fef 0x1a07f66 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a07fee github.com/mattermost/squirrel.SelectBuilder.From+0x12e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07f65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 36864] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x492ae9 0x1846885 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a04891 0x1a04872 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04890 github.com/mattermost/squirrel.SelectBuilder.Join+0x4d0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a04871 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x196fe95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fe94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x814 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 832] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x195d548 0x1878ace 0x219e1ba 0x262c45f 0x261d36d 0x261dcc7 0x25f8b28 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x195d547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPostWithContext+0x347 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:37 # 0x1878acd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPostWithContext+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9813 # 0x219e1b9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPostWithContext+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7846 # 0x262c45e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostWithContext+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:25 # 0x261d36c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x7ec github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:243 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x25f8b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xfe7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:929 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x18469e9 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x9009d8 0x8fe811 0x8fe771 0x262ea1f 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9009d7 github.com/Masterminds/semver/v3.constraintLessThanEqual+0x437 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:472 # 0x8fe810 github.com/Masterminds/semver/v3.(*constraint).check+0x150 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:269 # 0x8fe770 github.com/Masterminds/semver/v3.Constraints.Check+0xb0 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:101 # 0x262ea1e github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x97e github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:89 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846465 0x18463bb 0x18464b0 0x19030a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846464 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x19030a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x183b0cc 0x183b938 0x1955aa5 0x187252e 0x2196c94 0x21ca197 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x183b0cb github.com/mattermost/squirrel.(*deleteData).ToSql+0x36b github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x1955aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ca196 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x916 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:110 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5af7 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5af6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x136 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:141 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x195b113 0x18786ba 0x219dcba 0x2627aa7 0x2639652 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x195b112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x18786b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9729 # 0x219dcb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7782 # 0x2627aa6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x2639651 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:90 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x192106d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x192106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a08245 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a07291 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07290 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 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6babde 0x6baa70 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6babdd vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b9d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baa6f crypto/tls.(*clientHelloMsg).marshalMsg+0x1a2f crypto/tls/handshake_messages.go:210 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 147456] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x428505 0x1920dee 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920ded 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:221 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a0bf12 0x1a0beb8 0x1a0beb6 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0bf11 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x91 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0beb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0beb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:741 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1cbe 0x22239e8 0x2223045 0x262e6da 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1cbd regexp.(*Regexp).FindStringSubmatch+0x7d regexp/regexp.go:1020 # 0x22239e7 github.com/reflog/dateconstraints.parseConstraint+0x47 github.com/reflog/dateconstraints@v0.2.1/constraints.go:195 # 0x2223044 github.com/reflog/dateconstraints.NewConstraint+0x264 github.com/reflog/dateconstraints@v0.2.1/constraints.go:42 # 0x262e6d9 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x639 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:68 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 672] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979dfb 0x2979d33 0x297343f 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x2979d32 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:58 # 0x297343e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:170 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18413d1 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x493087 0x642625 0x658ca5 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658ca4 crypto/x509.parseCertificate+0x564 crypto/x509/parser.go:967 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x61dd23 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x61dd22 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:344 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x6579eb 0x659a65 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6579ea crypto/x509.processExtensions+0x11ca crypto/x509/parser.go:868 # 0x659a64 crypto/x509.parseCertificate+0x1324 crypto/x509/parser.go:1054 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5d90 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5d8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x3cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:150 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x19e0dc6 0x19e0cd3 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 24] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f107f 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f107e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:656 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc97212 0xc97213 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97211 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97212 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x4246eb 0x19e2a3a 0x19e29b1 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2a39 github.com/mattermost/squirrel.UpdateBuilder.Set+0x659 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e29b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:147 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a0c117 0x1a0c0ce 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c116 github.com/mattermost/squirrel.UpdateBuilder.Set+0x296 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0c0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:744 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x493087 0x196644f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196644e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:627 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a0b0af 0x1a0b055 0x1a0b053 0x1a0e3e7 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a0b0ae github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x8e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0b054 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0b052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:701 # 0x1a0e3e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:959 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd2c 0x4752f7 0x5305e6 0x183e486 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183e485 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0x7bf025 0x7bf512 0x7bef4b 0x19dbe07 0x18afcf5 0x1856392 0x2176b0b 0x270f704 0x28bdac5 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0x7bf024 regexp.(*Regexp).ReplaceAllStringFunc.func1+0x84 regexp/regexp.go:578 # 0x7bf511 regexp.(*Regexp).replaceAll+0x3f1 regexp/regexp.go:616 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x18afcf4 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 # 0x1856391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:945 # 0x2176b0a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:857 # 0x270f703 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x28bdac4 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x6a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2709 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x18afcf5 0x1856392 0x2176b0b 0x270f704 0x28bdac5 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x18afcf4 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 # 0x1856391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:945 # 0x2176b0a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:857 # 0x270f703 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x28bdac4 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x6a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2709 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a294d5 0x1a294e6 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a294d4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3d4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a294e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x3e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28002b2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28002b1 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x271 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x797770 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x79776f net/http.(*persistConn).roundTrip+0x5cf net/http/transport.go:2872 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x283390a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x2833909 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0xaa9 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:150 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281ed65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281ed64 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:371 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3584] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a0d135 0x1a0d0b7 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0d134 github.com/mattermost/squirrel.SelectBuilder.From+0x214 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a297fa 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x19430c7 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x19430c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x466 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 144] @ 0x48dd05 0x492ae9 0x54295f 0x1259b85 0x1259b65 0x125beee 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x1259b84 strings.Split+0x244 strings/strings.go:361 # 0x1259b64 github.com/lib/pq.(*conn).parseComplete+0x224 github.com/lib/pq@v1.12.3/conn.go:1461 # 0x125beed github.com/lib/pq.(*conn).readExecuteResponse+0x10d github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x428505 0x19e28d1 0x19e289d 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e28d0 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4f0 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e289c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:146 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1947f77 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1947f76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x184afae 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19dbace 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19dbacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x6234f8 0x60c305 0x60f66c 0x498001 # 0x6234f7 net.newDNSError+0x117 net/net.go:703 # 0x60c304 net.(*Resolver).tryOneName+0x844 net/dnsclient_unix.go:342 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [2: 32] @ 0x48dd05 0x428505 0x271763b 0x271760e 0x27175f8 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x271763a net/textproto.MIMEHeader.Set+0xf5a net/textproto/header.go:22 # 0x271760d net/http.Header.Set+0xf2d net/http/header.go:40 # 0x27175f7 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xf17 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:234 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 131072] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x428505 0x19e084d 0x19dc7cb 0x19dc6a4 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19dc7ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErrWithResult+0x1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:558 # 0x19dc6a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0xa3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0xc9f88b 0xc9f82b 0xc98325 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9f88a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9f82a github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18c9056 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18c9055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x755 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:498 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 480] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 192] @ 0x48dd05 0x428505 0x19479a5 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x19479a4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 9728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x552305 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x552304 encoding/json.arrayEncoder.encode+0x104 encoding/json/encode.go:888 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x61bd9e 0x61aae3 0x61bb45 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x61bd9d net.(*Resolver).internetAddrList.func1+0x15d net/ipsock.go:275 # 0x61aae2 net.filterAddrList+0x182 net/ipsock.go:137 # 0x61bb44 net.(*Resolver).internetAddrList+0x684 net/ipsock.go:308 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a291ec 0x1a291bd 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a291eb github.com/mattermost/squirrel.StatementBuilderType.Select+0xeb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 1024] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a02a17 0x1a029f1 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a02eed 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x428505 0x4b0745 0x4b0af7 0x6276b0 0x62717b 0x61c3d8 0x62f787 0x607d4b 0x607688 0x606e19 0x605b65 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x4b0744 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:669 # 0x4b0af6 syscall.Getsockname+0x76 syscall/syscall_linux.go:715 # 0x6276af net.(*netFD).dial+0x42f net/sock_posix.go:139 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x607d4a net.(*sysDialer).dialSingle+0x26a net/dial.go:795 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x18ec091 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec090 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3204 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x18411a5 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18411a4 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 1440] @ 0x48dd05 0x492ae9 0x19609f9 0x1a046ba 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x19609f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:125 # 0x1a046b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261e55 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1261e54 github.com/lib/pq.(*Config).fromDSN+0x774 github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a02b1b 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02b1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x1da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02c11 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a0397d 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0397c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:206 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18c9056 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18c9055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x755 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:498 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a016c5 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a016c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:158 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd2c 0x475974 0x475486 0x299b06c 0x299be65 0x6df86e 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299b06b crypto/internal/fips140/hkdf.Expand[...]+0x1ab crypto/internal/fips140/hkdf/hkdf.go:43 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x195d856 0x195d7fc 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d855 github.com/mattermost/squirrel.SelectBuilder.From+0x275 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x195d7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:54 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x196753a 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1967539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1319 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:710 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ba7fe 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x19ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e5ae5 0x18e59de 0x18e5af9 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5ae4 github.com/lann/builder.Append+0x884 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e59dd github.com/mattermost/squirrel.UpdateBuilder.Set+0x77d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5af8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x898 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2771 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1966667 0x196657b 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1966666 github.com/mattermost/squirrel.StatementBuilderType.Select+0x446 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196657a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x35a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:638 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 352] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a04994 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:299 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 4194304] @ 0x48dd33 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 25165824] @ 0x48dd33 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1847d68 0x19c9948 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847d67 github.com/mattermost/squirrel.SelectBuilder.Limit+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1048576] @ 0x48dd33 0x492ae9 0x9163fe 0x916926 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916925 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.54.0/html/token.go:337 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x9163fe 0x916926 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916925 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.54.0/html/token.go:337 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296ec45 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296ec44 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x344 crypto/internal/fips140/bigmod/nat.go:1054 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 432] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [5: 40] @ 0x48dd05 0x493087 0x19f7725 0x19f74cb 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f7724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:204 # 0x19f74ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1143 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5b85 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:143 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x184afae 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a1ef9e 0x1a1ef35 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a1ef9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xfd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a1ef34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:652 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1958306 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958305 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x18e21af 0x18e2127 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e21ae github.com/mattermost/squirrel.SelectBuilder.From+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e2126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2448 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x199ad05 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ad04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847d54 0x1a1f009 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1847d53 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a1f008 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x196a98f 0x18739c2 0x2198485 0x211fa6c 0x25fe0f8 0x281f1bf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196a98e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x2ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:952 # 0x18739c1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8512 # 0x2198484 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x84 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6823 # 0x211fa6b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x1cb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:85 # 0x25fe0f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0xb7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1316 # 0x281f1be github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x63e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:399 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1a29e8a 0x188e9cb 0x21b789d 0x246ff4e 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a29e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AnalyticsActiveCount+0x489 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1500 # 0x188e9ca github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).AnalyticsActiveCount+0xca github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16023 # 0x21b789c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).AnalyticsActiveCount+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12641 # 0x246ff4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getStandardAnalytics.func6+0x8d github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:125 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a2e05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a2e04 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:406 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a02add 0x1a02abe 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02adc github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x19c github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02eed 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 196608] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 6389760] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2400256] @ 0x48dd33 0x492ae9 0x1319f33 0x132bd65 0x132c45d 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1319f32 image.NewYCbCr+0x172 image/ycbcr.go:190 # 0x132bd64 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x132c45c image/jpeg.(*decoder).processSOS+0x49c image/jpeg/scan.go:150 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 491520] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 557056] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 573440] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 3178496] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6340608] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2383872] @ 0x48dd33 0x492ae9 0x1319f33 0x132bd65 0x132c45d 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1319f32 image.NewYCbCr+0x172 image/ycbcr.go:190 # 0x132bd64 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x132c45c image/jpeg.(*decoder).processSOS+0x49c image/jpeg/scan.go:150 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 6389760] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6365184] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2392064] @ 0x48dd33 0x492ae9 0x1319f33 0x132bd65 0x132c45d 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1319f32 image.NewYCbCr+0x172 image/ycbcr.go:190 # 0x132bd64 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x132c45c image/jpeg.(*decoder).processSOS+0x49c image/jpeg/scan.go:150 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 12288] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [10: 15728640] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 31457280] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 11796480] @ 0x48dd33 0x492ae9 0x1319f33 0x132bd65 0x132c45d 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1319f32 image.NewYCbCr+0x172 image/ycbcr.go:190 # 0x132bd64 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x132c45c image/jpeg.(*decoder).processSOS+0x49c image/jpeg/scan.go:150 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1302528] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 2932736] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5840896] @ 0x48dd33 0x492ae9 0x132cff4 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132cff3 image/jpeg.(*decoder).processSOS+0x1033 image/jpeg/scan.go:156 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2195456] @ 0x48dd33 0x492ae9 0x1319f33 0x132bd65 0x132c45d 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1319f32 image.NewYCbCr+0x172 image/ycbcr.go:190 # 0x132bd64 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x132c45c image/jpeg.(*decoder).processSOS+0x49c image/jpeg/scan.go:150 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 27136] @ 0x48dd0c 0x428505 0x132b9e5 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x132b9e4 image/jpeg.Decode+0x24 image/jpeg/reader.go:772 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc84930 0xc848f0 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8492f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb2f github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc848ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xaef github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 640] @ 0x48dd2c 0x492ae9 0x2979e90 0x297985d 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x297985c crypto/internal/fips140/ecdsa.newDRBG[...]+0x33c crypto/internal/fips140/ecdsa/hmacdrbg.go:89 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a029d1 0x1a0297d 0x1a0297b 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a029d0 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x90 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0297c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0297a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:126 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 18432] @ 0x48dd2c 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 892928] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a25cf4 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd05 0x428505 0x26bd825 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bd824 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x204 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2905 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x25efbc2 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x25efbc1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x5e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:235 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x1a08752 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x891 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:582 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 192] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc63a9a 0xc55811 0x281b9ec 0x281b9a4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc63a99 github.com/mattermost/mattermost/server/public/model.(*PostMetadata).Auditable+0x219 github.com/mattermost/mattermost/server/public/model/post_metadata.go:66 # 0xc55810 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x30 github.com/mattermost/mattermost/server/public/model/post.go:165 # 0x281b9eb github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x2cb github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x281b9a3 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x283 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:108 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a04465 0x1a04441 0x1a04426 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a04464 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a04440 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a04425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:279 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee45 0x183f598 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 753664] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191fcac 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fcab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04994 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04993 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:299 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x4bf371 0x21fb63c 0x21fadd7 0x4a3a6a 0x498001 # 0x4bf370 time.NewTicker+0x30 time/tick.go:43 # 0x21fb63b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:518 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x184bf85 0x19447cf 0x19447a0 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184bf84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x164 github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x19447ce github.com/mattermost/squirrel.StatementBuilderType.Update+0x1ce github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x194479f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x19f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:153 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19031b6 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19031b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x535 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x493087 0x1902fec 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902feb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x36b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:411 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18d1ca5 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1ca4 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x244 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x1a046e9 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a046e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x328 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0xb8ac17 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8ac16 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4d6 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x1252cd9 0x12524d2 0x80a7e9 0x810451 0x80a70a 0x19090be 0x19090c1 0x1861dc7 0x2184127 0x262d2ef 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x1252cd8 github.com/lib/pq.(*conn).simpleExec+0x298 github.com/lib/pq@v1.12.3/conn.go:596 # 0x12524d1 github.com/lib/pq.(*conn).Commit+0x131 github.com/lib/pq@v1.12.3/conn.go:532 # 0x80a7e8 database/sql.(*Tx).Commit.func1+0x28 database/sql/sql.go:2313 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80a709 database/sql.(*Tx).Commit+0xe9 database/sql/sql.go:2312 # 0x19090bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Commit+0x3bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:397 # 0x19090c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarChannelsByPreferences+0x3c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:846 # 0x1861dc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarChannelsByPreferences+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3780 # 0x2184126 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarChannelsByPreferences+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3164 # 0x262d2ee github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x24e github.com/mattermost/mattermost/server/v8/channels/app/preference.go:62 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2880] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1847b1c 0x1947949 0x19478d5 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1947948 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19478d4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x19baa85 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19baa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:283 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc5bb2e 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd2c 0x4752f7 0x6956dd 0x6eb6e2 0x42d5b9 0x498001 # 0x6956dc crypto/tls.(*weakCertCache).newCert.func1+0x3c crypto/tls/cache.go:33 # 0x6eb6e1 runtime.callCleanup[...]+0x21 runtime/mcleanup.go:204 # 0x42d5b8 runtime.runCleanups+0xd8 runtime/mcleanup.go:745 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1331cd3 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1331cd2 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x195522d 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x195522c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:212 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x299b2b5 0x299bfa6 0x299b430 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b42f crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x8f crypto/internal/fips140/tls13/tls13.go:98 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1a08d85 0x1a08e44 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0xec4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:44 # 0x1a08e43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xf83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:615 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19eac4f 0x19eaba5 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19eac4e github.com/lann/builder.Append+0x4ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaba4 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x444 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0x64c3f4 0x6b2a75 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64c3f3 crypto/x509.(*CertPool).AddCert+0x93 crypto/x509/cert_pool.go:184 # 0x6b2a74 crypto/tls.(*Conn).verifyServerCertificate+0xa74 crypto/tls/handshake_client.go:1156 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9728] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 18432] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x2605b95 0x2605425 0x2825ff3 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x2605b94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FilterPostsByChannelPermissions+0x5b4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2240 # 0x2605424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPostsForUser+0x624 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2189 # 0x2825ff2 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x692 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:982 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1979319 0x1979298 0x1980dd0 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1979318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1979297 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).search+0xef7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2284 # 0x1980dcf 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:2852 0: 0 [2: 2097152] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2113536] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1785856] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1785856] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 360448] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 90112] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x27dd09f 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x27dd09e github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0xfe github.com/mattermost/mattermost/server/v8/channels/api4/file.go:956 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1664] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 384] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 880] @ 0x48dd05 0x428505 0x78f5e5 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x78f5e4 net/http.(*Transport).getConn+0x224 net/http/transport.go:1531 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a0d0b6 0x1a0d0a4 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [3: 7053312] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0xc99d65 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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] @ 0x48dd05 0x4246eb 0x196a2ca 0x196a2cb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196a2c9 github.com/mattermost/squirrel.Expr+0x2a9 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x196a2ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1974272] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299b2b5 0x299bfa6 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x1a06b0f 0x1a06a71 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1a06b0e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3ee github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06a70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18413d1 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 45318144] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x12475a5 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12475a4 github.com/lib/pq/scram.(*Client).saltPassword+0xe4 github.com/lib/pq@v1.12.3/scram/scram.go:218 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1967eba 0x187358e 0x2197fa2 0x25f7d09 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f7d08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 3456] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 1248] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a02855 0x188ba7a 0x21b431a 0x26bf25b 0x28cdce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a02854 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).Get+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:114 # 0x188ba79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15261 # 0x21b4319 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12050 # 0x26bf25a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadFollowForUser+0x13a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3027 # 0x28cdce4 github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x624 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3923 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184648c 0x18463bb 0x18464b0 0x18e5545 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184648b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x18e5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2765 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd2c 0x492ae9 0x1336065 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1336064 image/png.(*encoder).writeImage+0x464 image/png/writer.go:353 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 3047424] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x6f8b85 0x27d18f5 0x27d1bc5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f8b84 mime.ParseMediaType+0x84 mime/mediatype.go:151 # 0x27d18f4 github.com/mattermost/mattermost/server/v8/channels/api4.parseMultipartRequestHeader+0x34 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:52 # 0x27d1bc4 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0xc4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:108 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x299ba09 0x6b6085 0x6b6046 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6084 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x204 crypto/internal/fips140/tls13/tls13.go:112 # 0x6b6045 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x1c5 crypto/tls/handshake_client_tls13.go:494 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cdcac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cdcab github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x5eb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3918 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247850a 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xc9d1ad 0xc9d178 0x249b4f0 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9d1ac github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x10c github.com/mattermost/mattermost/server/public/model/utils.go:294 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x249b4ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x19a0488 0x187cd3a 0x21a2d5a 0x2639442 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19a0487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetUniqueCountForPost+0x327 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:157 # 0x187cd39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10926 # 0x21a2d59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8694 # 0x2639441 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:48 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296b118 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296b117 crypto/internal/fips140/bigmod.rr+0x2b7 crypto/internal/fips140/bigmod/nat.go:518 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 720896] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 5685248] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x184bfac 0x1a0bf65 0x1a0bf31 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1a0bf64 github.com/mattermost/squirrel.StatementBuilderType.Update+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1a0bf30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:742 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1a0ab31 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0ab30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x1b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:688 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a0460c 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0460b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x136fc25 0x136fbf9 0x4a240c 0x136f62f 0x136f603 0x137d9ac 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x136fc24 github.com/yuin/goldmark/util.PrioritizedSlice.Sort+0x364 github.com/yuin/goldmark@v1.8.2/util/util.go:884 # 0x136fbf8 github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x338 github.com/yuin/goldmark@v1.8.2/parser/parser.go:880 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x136f62e sync.(*Once).Do+0x6e sync/once.go:69 # 0x136f602 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.8.2/parser/parser.go:865 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 176] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184abb9 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184abb8 github.com/mattermost/squirrel.(*updateData).ToSql+0x6f8 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8ec69 0xc8ed1c 0x26ae59d 0x26af705 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8ec68 github.com/mattermost/mattermost/server/public/model.CopyStringMap+0x268 github.com/mattermost/mattermost/server/public/model/utils.go:489 # 0xc8ed1b github.com/mattermost/mattermost/server/public/model.(*User).DeepCopy+0x31b github.com/mattermost/mattermost/server/public/model/user.go:360 # 0x26ae59c github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x5c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1413 # 0x26af704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1575 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x196a11c 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:919 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x25d4651 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x25d4650 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x90 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1109 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x192106d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x192106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x493087 0x196644f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196644e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:627 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3840] @ 0x48dd0c 0x428505 0x1b8e405 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a02b09 0x1a02abe 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a02b08 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19c97f5 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c97f4 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1958405 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5af7 0x18d0f05 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5af6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x136 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:141 # 0x18d0f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x2664005 0xbdeeb0 0x28eb6ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x2664004 github.com/mattermost/mattermost/server/v8/channels/app.(*App).OriginChecker.func1+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1263 # 0xbdeeaf github.com/gorilla/websocket.(*Upgrader).Upgrade+0x16f github.com/gorilla/websocket@v1.5.3/server.go:152 # 0x28eb6eb github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xab github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 768] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x19cc074 0x1883ae7 0x21aae07 0x21f23d6 0x21f9e0b 0x21d4da2 0x498001 # 0x19cc073 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x428505 0x4e87af 0x4e8c91 0x4e656c 0x4e2d0b 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e87ae os.newFile+0x4e os/file_unix.go:145 # 0x4e8c90 os.openDirNolog+0x110 os/file_unix.go:302 # 0x4e656b os.openDir+0x2b os/file.go:428 # 0x4e2d0a os.ReadDir+0x4a os/dir.go:115 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846fab 0x19035d6 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19035d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1974b69 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1974b68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1836 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a02b09 0x1a02abe 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a02b08 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x428505 0xc9d0e9 0x27dabf0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9d0e8 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x27dabef github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x4ef github.com/mattermost/mattermost/server/v8/channels/api4/file.go:802 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x199f2f5 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f2f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x2f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x2625274 0x2623195 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x2625273 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x53 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1086 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x124f4ff 0x12723a6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f4fe github.com/lib/pq.(*writeBuf).next+0x9e github.com/lib/pq@v1.12.3/buf.go:99 # 0x12723a5 github.com/lib/pq.(*stmt).exec+0x685 github.com/lib/pq@v1.12.3/stmt.go:132 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x18e5f98 0x18e5e8e 0x18e5fac 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x18e5f97 github.com/lann/builder.Append+0xd37 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5e8d github.com/mattermost/squirrel.UpdateBuilder.Set+0xc2d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5fab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2774 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 240] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x261b67d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x26ae8e5 0x26ae873 0x26af705 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ae8e4 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x3a4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:293 # 0x26ae872 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x332 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1433 # 0x26af704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1575 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8d00a 0x28b01c5 0x28b01bb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8d009 github.com/mattermost/mattermost/server/public/model.(*User).Auditable+0x29 github.com/mattermost/mattermost/server/public/model/user.go:125 # 0x28b01c4 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventPriorState+0x964 github.com/mattermost/mattermost/server/public/model/audit_record.go:116 # 0x28b01ba github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x95a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1551 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19e0ff7 0x19e0dfe 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x19e0ff6 github.com/mattermost/squirrel.InsertBuilder.Values+0x456 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a07291 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07290 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 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 16] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x191b3d1 0x191b38c 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x191b3d0 github.com/mattermost/squirrel.SelectBuilder.Join+0x610 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x191b38b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x5cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:145 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125be65 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125be64 github.com/lib/pq.(*conn).readExecuteResponse+0x84 github.com/lib/pq@v1.12.3/conn.go:1735 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a0819f 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0819e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x2de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 40960] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417009 0x20cd110 0x20cc59a 0x20cba07 0x20c7c25 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20cba06 runtime/pprof.(*profileBuilder).build+0x366 runtime/pprof/proto.go:376 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 663552] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20c8688 0x20c8d97 0x20cba45 0x20c7c25 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20c8d96 runtime/pprof.(*profileBuilder).pbSample+0xb6 runtime/pprof/proto.go:168 # 0x20cba44 runtime/pprof.(*profileBuilder).build+0x3a4 runtime/pprof/proto.go:378 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [2: 80723968] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 80723968] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x492ae9 0xaf978d 0xafb3e5 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf978c text/tabwriter.(*Writer).addLine+0x12c text/tabwriter/tabwriter.go:129 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd25 0x48d69b 0x20c683f 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c683e runtime/pprof.writeHeapInternal+0x63e runtime/pprof/pprof.go:711 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6733824] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 20201472] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32284672] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32284672] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x492ae9 0xaf978d 0xafb3e5 0x5304f7 0x20c667d 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf978c text/tabwriter.(*Writer).addLine+0x12c text/tabwriter/tabwriter.go:129 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 10764288] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 16146432] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 51642368] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 77463552] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4300800] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12902400] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 20652032] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x48d69b 0x20c5f14 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5f13 runtime/pprof.printStackRecord+0x2d3 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0xaf978d 0xafb3e5 0x5304f7 0x20c606e 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf978c text/tabwriter.(*Writer).addLine+0x12c text/tabwriter/tabwriter.go:129 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c606d runtime/pprof.printStackRecord+0x42d runtime/pprof/pprof.go:603 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 61956096] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd2c 0x492ae9 0xaf978d 0xafb3e5 0x5304f7 0x20c606e 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf978c text/tabwriter.(*Writer).addLine+0x12c text/tabwriter/tabwriter.go:129 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c606d runtime/pprof.printStackRecord+0x42d runtime/pprof/pprof.go:603 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3432448] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd2c 0x4930f3 0xafb325 0xafb296 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafb324 text/tabwriter.(*Writer).terminateCell+0xb24 text/tabwriter/tabwriter.go:465 # 0xafb295 text/tabwriter.(*Writer).Write+0xa95 text/tabwriter/tabwriter.go:537 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 33030144] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 10297344] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x4930f3 0xafb325 0xafb296 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafb324 text/tabwriter.(*Writer).terminateCell+0xb24 text/tabwriter/tabwriter.go:465 # 0xafb295 text/tabwriter.(*Writer).Write+0xa95 text/tabwriter/tabwriter.go:537 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 33030144] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2736128] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 26411008] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x48d69b 0x20c5ec5 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5ec4 runtime/pprof.printStackRecord+0x284 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8208384] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 5280] @ 0x48dd05 0x428505 0x20c5c9a 0x20c5c8e 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5c8d runtime/pprof.printStackRecord+0x4d runtime/pprof/pprof.go:580 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 672] @ 0x48dd2c 0x4930f3 0xafb325 0xafb296 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafb324 text/tabwriter.(*Writer).terminateCell+0xb24 text/tabwriter/tabwriter.go:465 # 0xafb295 text/tabwriter.(*Writer).Write+0xa95 text/tabwriter/tabwriter.go:537 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2179072] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 39616512] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 21118976] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3473408] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2179072] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c606e 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c606d runtime/pprof.printStackRecord+0x42d runtime/pprof/pprof.go:603 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16891904] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 31678464] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 384] @ 0x48dd2c 0x4930f3 0xafb325 0xafb296 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafb324 text/tabwriter.(*Writer).terminateCell+0xb24 text/tabwriter/tabwriter.go:465 # 0xafb295 text/tabwriter.(*Writer).Write+0xa95 text/tabwriter/tabwriter.go:537 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 208] @ 0x48dd25 0x48d69b 0x20c5f69 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5f68 runtime/pprof.printStackRecord+0x328 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2768896] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13500416] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 5210112] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2195456] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 25337856] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 10797056] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 512] @ 0x48dd05 0x48d725 0x20c5eeb 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5eea runtime/pprof.printStackRecord+0x2aa runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1736704] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4317184] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1384448] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c667d 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c667c runtime/pprof.writeHeapInternal+0x47c runtime/pprof/pprof.go:713 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 688128] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 6897664] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 20250624] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5505024] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4390912] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3506176] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3293184] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2801664] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2228224] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 16195584] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 884736] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704512] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 557056] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352256] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 278528] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 221184] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [111: 10656] @ 0x48dd2c 0x492ae9 0xaf978d 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf978c text/tabwriter.(*Writer).addLine+0x12c text/tabwriter/tabwriter.go:129 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1736704] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12951552] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1376256] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 10346496] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 432] @ 0x48dd05 0x48d725 0x20c5f45 0x20c66b3 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5f44 runtime/pprof.printStackRecord+0x304 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 540672] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3145728] @ 0x48dd33 0x492ae9 0x20c7610 0x20c7585 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c760f runtime/pprof.writeGoroutineStacks+0x2f runtime/pprof/pprof.go:817 # 0x20c7584 runtime/pprof.writeGoroutine+0x24 runtime/pprof/pprof.go:782 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8257536] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1277952] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6586368] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3506176] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4202496] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 262144] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c606e 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c606d runtime/pprof.printStackRecord+0x42d runtime/pprof/pprof.go:603 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2228224] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2654208] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2113536] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 557056] @ 0x48dd33 0x4930f3 0xafaee5 0xafae67 0x5304f7 0x20c6887 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafaee4 text/tabwriter.(*Writer).append+0x6e4 text/tabwriter/tabwriter.go:411 # 0xafae66 text/tabwriter.(*Writer).Write+0x666 text/tabwriter/tabwriter.go:592 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c6886 runtime/pprof.writeHeapInternal+0x686 runtime/pprof/pprof.go:711 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 114688] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [143: 13728] @ 0x48dd2c 0x492ae9 0xaf978d 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf978c text/tabwriter.(*Writer).addLine+0x12c text/tabwriter/tabwriter.go:129 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 442368] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 163840] @ 0x48dd33 0x493087 0xaf96d0 0xafb3e5 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xaf96cf text/tabwriter.(*Writer).addLine+0x6f text/tabwriter/tabwriter.go:119 # 0xafb3e4 text/tabwriter.(*Writer).Write+0xbe4 text/tabwriter/tabwriter.go:540 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 442368] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 344064] @ 0x48dd33 0x4930f3 0xafa96d 0xafa903 0x5304f7 0x20c5fb2 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0xafa96c text/tabwriter.(*Writer).append+0x16c text/tabwriter/tabwriter.go:411 # 0xafa902 text/tabwriter.(*Writer).Write+0x102 text/tabwriter/tabwriter.go:534 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x20c5fb1 runtime/pprof.printStackRecord+0x371 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 786432] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1310720] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20cbc0e 0x20c7c25 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [7: 573440] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414dee 0x414d70 0x417009 0x20cd110 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 57344] @ 0x48dd33 0x493087 0x20cdc8c 0x20cdc0d 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdc8b runtime/pprof.(*profileBuilder).stringIndex+0xeab runtime/pprof/proto.go:137 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x20ce0dc 0x20cdfb5 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20ce0db runtime/pprof.(*profileBuilder).stringIndex+0x12fb runtime/pprof/proto.go:138 # 0x20cdfb4 runtime/pprof.(*profileBuilder).emitLocation+0x11d4 runtime/pprof/proto.go:653 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1572864] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 786432] @ 0x48dd33 0x492ae9 0x4685b9 0x41fad1 0x20c7a5b 0x20f7ceb 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c7a5a runtime/pprof.StartCPUProfile+0x15a runtime/pprof/pprof.go:910 # 0x20f7cea net/http/pprof.Profile+0x2ca net/http/pprof/pprof.go:158 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x20cdd2b 0x20cdc0d 0x20cc59a 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdd2a runtime/pprof.(*profileBuilder).stringIndex+0xf4a runtime/pprof/proto.go:138 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6be774 0x6be753 0x5ccbc4 0x5cd01c 0x6bae6b 0x6bacfd 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6be773 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be752 crypto/tls.(*clientHelloMsg).marshalMsg.func10+0x12 crypto/tls/handshake_messages.go:226 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bae6a vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1e2a vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bacfc crypto/tls.(*clientHelloMsg).marshalMsg+0x1cbc crypto/tls/handshake_messages.go:225 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 712704] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x281ba18 0x281b9a4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x281ba17 github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x2f7 github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x281b9a3 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x283 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:108 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x24f1725 0x24f130d 0x24f0a6b 0x27c9f6e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x24f1724 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileInfosForDraft+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:129 # 0x24f130c github.com/mattermost/mattermost/server/v8/channels/app.(*App).prepareDraftWithFileInfos+0x4c github.com/mattermost/mattermost/server/v8/channels/app/draft.go:114 # 0x24f0a6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpsertDraft+0x38a github.com/mattermost/mattermost/server/v8/channels/app/draft.go:83 # 0x27c9f6d github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x5cd github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:55 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 475136] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 5824512] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x492ae9 0x764312 0x764765 0x77823d 0x777fd5 0x772757 0x57cf32 0x57d1d0 0x778e0d 0x778baa 0x227e7ef 0x2700cbe 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d8727 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x764311 net/http.Header.sortedKeyValues+0x91 net/http/header.go:170 # 0x764764 net/http.Header.writeSubset+0xc4 net/http/header.go:195 # 0x77823c net/http.Header.WriteSubset+0x193c net/http/header.go:187 # 0x777fd4 net/http.(*chunkWriter).writeHeader+0x16d4 net/http/server.go:1533 # 0x772756 net/http.(*chunkWriter).Write+0x36 net/http/server.go:378 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x57d1cf bufio.(*Writer).Write+0xcf bufio/bufio.go:686 # 0x778e0c net/http.(*response).write+0x1cc net/http/server.go:1658 # 0x778ba9 net/http.(*response).Write+0x29 net/http/server.go:1621 # 0x227e7ee github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x4e github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:99 # 0x2700cbd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x61d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:215 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d8726 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x1506 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:627 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184af13 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184af12 github.com/mattermost/squirrel.(*updateData).ToSql+0xa52 github.com/mattermost/squirrel@v0.5.0/update.go:137 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184bc6c 0x184bb9b 0x184bc90 0x18e61ae 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184bc6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184bb9a github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x184bc8f github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x18e61ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a793b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a793a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x296a2cd 0x2990b05 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x2990b04 crypto/internal/fips140/rsa.encrypt+0x124 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0x17d9f45 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27daed9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17d9f44 os.Open+0x64 os/file.go:390 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27daed8 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x7d8 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:816 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x25d0de5 0x25d0db9 0x127ac5e 0x12b98bd 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x25d0de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x25d0db8 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMember+0x18 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:640 # 0x127ac5d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:628 # 0x12b98bc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMember+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4539 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x1926892 0x1926757 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1926891 github.com/mattermost/squirrel.Expr+0x1d91 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x1926756 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:657 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e39bc 0x185c527 0x217da4d 0x2113dc6 0x249efe9 0x2761eaf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e39bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2577 # 0x185c526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2430 # 0x217da4c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2051 # 0x2113dc5 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 # 0x249efe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2557 # 0x2761eae github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:992 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f0c97 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f0c96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:636 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847d54 0x19c9948 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847d53 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 48] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x184c92b 0x19e2729 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184c92a github.com/mattermost/squirrel.UpdateBuilder.Where+0xaa github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x19e2728 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:138 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e1185 0x19e10db 0x19e10da 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1184 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e10da github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x53a github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19e10d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:57 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x2245cf6 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x2245cf5 github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x135 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:152 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x276f0c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276f0c4 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2033 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x19eb119 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x19eb118 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x198 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:82 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x491e4d 0x4a1bb3 0x773c16 0x7790a7 0x779e95 0x498001 # 0x491e4c sync.runtime_notifyListWait+0x4c runtime/sema.go:598 # 0x4a1bb2 sync.(*Cond).Wait+0x72 sync/cond.go:71 # 0x773c15 net/http.(*connReader).abortPendingRead+0x95 net/http/server.go:750 # 0x7790a6 net/http.(*response).finishRequest+0x86 net/http/server.go:1676 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a046e9 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a046e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x328 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x1a046e9 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a046e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x328 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1309e53 0x26bd80b 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1309e52 golang.org/x/sync/errgroup.(*Group).Go+0x52 golang.org/x/sync@v0.20.0/errgroup/errgroup.go:78 # 0x26bd80a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x1ea github.com/mattermost/mattermost/server/v8/channels/app/user.go:2891 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 20480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x561992 0x5504d3 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x561991 encoding/json.appendString[...]+0x171 encoding/json/encode.go:1008 # 0x5504d2 encoding/json.stringEncoder+0x412 encoding/json/encode.go:632 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 192] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a04c7e 0x1a04c33 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a04c7d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8bd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a04c32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18469d0 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a06913 0x1a068cb 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06912 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x6f23c5 0x6f2397 0x6f233b 0x113a78a 0x1225405 0x498001 # 0x6f23c4 bufio.NewReaderSize+0xa4 bufio/bufio.go:57 # 0x6f2396 bufio.NewReader+0x76 bufio/bufio.go:63 # 0x6f233a net/textproto.NewConn+0x1a net/textproto/textproto.go:70 # 0x113a789 net/smtp.NewClient+0x49 net/smtp/smtp.go:65 # 0x1225404 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced.func1+0x84 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:165 0: 0 [2: 704] @ 0x48dd05 0x428505 0xc5cb25 0xc5cb18 0x25f1485 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5cb24 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc5cb17 github.com/mattermost/mattermost/server/public/model.(*Post).ForPlugin+0x17 github.com/mattermost/mattermost/server/public/model/post.go:1124 # 0x25f1484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1ea4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:407 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19e1f8b 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e1f8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0xea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:111 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x428505 0x229654a 0x22964a3 0x20db11a 0x20dad8e 0x498001 # 0x2296549 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x149 github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x22964a2 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0xa2 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24576] @ 0x48dd2c 0x4930f3 0x1bc2f1b 0x1bc2edc 0x1bc3513 0x1bc2851 0x1bc223e 0x1bcf4c5 0x1be4ee5 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc2f1a github.com/klauspost/compress/huff0.(*bitWriter).flush32+0x1ba github.com/klauspost/compress@v1.18.6/huff0/bitwriter.go:76 # 0x1bc2edb github.com/klauspost/compress/huff0.(*Scratch).compress1xDo+0x17b github.com/klauspost/compress@v1.18.6/huff0/compress.go:257 # 0x1bc3512 github.com/klauspost/compress/huff0.(*Scratch).compress4X+0x1f2 github.com/klauspost/compress@v1.18.6/huff0/compress.go:287 # 0x1bc2850 github.com/klauspost/compress/huff0.compress+0x5d0 github.com/klauspost/compress@v1.18.6/huff0/compress.go:150 # 0x1bc223d github.com/klauspost/compress/huff0.Compress4X+0x7d github.com/klauspost/compress@v1.18.6/huff0/compress.go:40 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x1be1108 0x1be4e8b 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 20480] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 14336] @ 0x48dd2c 0x4930f3 0x1be1f4f 0x1be660d 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1f4e github.com/klauspost/compress/zstd.(*fastEncoder).EncodeNoHist+0x52e github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:475 # 0x1be660c github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x3ec github.com/klauspost/compress@v1.18.6/zstd/encoder.go:582 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x8b9f65 0x8fa385 0x8f9cda 0x8fc695 0x258f3bb 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x8b9f64 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x258f3ba github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x3da github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:365 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ca95b 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ca95a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 212992] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2383872] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56fc78 0x60ab1b 0x60aae6 0x60c005 0x60f66c 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56fc77 context.WithDeadlineCause+0x137 context/context.go:643 # 0x60ab1a context.WithDeadline+0x2fa context/context.go:626 # 0x60aae5 net.(*Resolver).exchange+0x2c5 net/dnsclient_unix.go:182 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a0397d 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0397c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:206 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 1920] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53001e 0x5305b0 0x1847d39 0x19c9948 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53001d fmt.newPrinter+0x1d fmt/print.go:152 # 0x5305af fmt.Sprintf+0x2f fmt/print.go:238 # 0x1847d38 github.com/mattermost/squirrel.SelectBuilder.Limit+0x58 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28aba25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28aba24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1149 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1267c4a 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1267c49 github.com/lib/pq.convertURL+0x29 github.com/lib/pq@v1.12.3/connector.go:1116 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199f24e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x17ef069 0x17ef057 0x26ade2b 0x26bdefa 0x26bdecc 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef068 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:5186 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26bdef9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x8d9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bdecb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x8ab github.com/mattermost/mattermost/server/v8/channels/app/user.go:2963 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd05 0x493087 0x19049f3 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19049f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x7d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:528 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725d32 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725d31 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1111 github.com/mattermost/mattermost/server/v8/channels/web/params.go:201 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x1a048bd 0x1a04872 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a048bc github.com/mattermost/squirrel.SelectBuilder.Join+0x4fc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a04871 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x4b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:296 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e1065 0x19e0f9c 0x19e0dfe 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1064 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e0f9b github.com/mattermost/squirrel.InsertBuilder.Values+0x3fb github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a03f5d 0x1a03f15 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03f5c github.com/mattermost/squirrel.SelectBuilder.Join+0x3dc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03f14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:243 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474c05 0x1268297 0x1268226 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1268296 github.com/lib/pq.convertURL.func1+0x676 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1268225 github.com/lib/pq.convertURL+0x605 github.com/lib/pq@v1.12.3/connector.go:1143 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847f14 0x1a1efe5 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1847f13 github.com/mattermost/squirrel.SelectBuilder.Offset+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x1a1efe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 224] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 196608] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x70d226 0x70cb05 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x4ce38e 0x1179d77 0x1179d54 0x25acee5 0x25aca2f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1179d76 io.ReadFull+0x76 io/io.go:354 # 0x1179d53 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.54.0/html/charset/charset.go:110 # 0x25acee4 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:82 # 0x25aca2e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xce github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:56 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fb489 0xbdc7fe 0xbdcbed 0x21fafc5 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fb488 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:454 # 0xbdc7fd github.com/gorilla/websocket.(*Conn).advanceFrame+0xb1d github.com/gorilla/websocket@v1.5.3/conn.go:950 # 0xbdcbec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x21fafc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:464 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x197875e 0x1980dd0 0x498001 # 0x197875d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).search+0x3bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2177 # 0x1980dcf 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:2852 0: 0 [1: 24] @ 0x48dd2c 0x428505 0xb88649 0xb8776c 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88648 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb8776b github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x32b github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc64567 0x2826808 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc64566 github.com/mattermost/mattermost/server/public/model.(*PostSearchResults).EncodeJSON+0x86 github.com/mattermost/mattermost/server/public/model/post_search_results.go:34 # 0x2826807 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0xea7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1015 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x415e26 0xb8e35e 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e35d github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1bd github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:54 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xb89ef4 0xb8d1fc 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2826131 0x282586d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb89ef3 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x1b3 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:165 # 0xb8d1fb github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2826130 github.com/mattermost/mattermost/server/v8/channels/api4.searchPosts+0x7d0 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:996 # 0x282586c github.com/mattermost/mattermost/server/v8/channels/api4.searchPostsInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/post.go:931 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1926a65 0x19269fc 0x186917a 0x2151e78 0x218c75a 0x251a89e 0x27dd209 0x27dcead 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1926a64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19269fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.Search+0x1efb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:670 # 0x1869179 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5778 # 0x2151e77 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchFileInfoStore.Search+0x637 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/file_info_layer.go:220 # 0x218c759 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Search+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4728 # 0x251a89d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchFilesInTeamForUser+0x4dd github.com/mattermost/mattermost/server/v8/channels/app/file.go:1489 # 0x27dd208 github.com/mattermost/mattermost/server/v8/channels/api4.searchFiles+0x268 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:995 # 0x27dceac github.com/mattermost/mattermost/server/v8/channels/api4.searchFilesInTeam+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:947 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1979319 0x1979298 0x1980dd0 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1979318 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1979297 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).search+0xef7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2284 # 0x1980dcf 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:2852 0: 0 [1: 16] @ 0x48dd25 0x428505 0x18e198e 0x185c9bd 0x217e003 0x249def3 0x2601cd0 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e198d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2372 # 0x185c9bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2499 # 0x217e002 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2115 # 0x249def2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2456 # 0x2601ccf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1818 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 196608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4224] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03d89 0x1a03d3c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03d3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x18469e9 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x492ae9 0x4e2ab3 0x4a2651 0x4e3074 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e2ab2 os.init.func1+0x32 os/dir_unix.go:35 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4e3073 os.(*File).readdir+0x193 os/dir_unix.go:65 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 10880] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0x21d1bb3 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665bcf 0x2665bca 0x2664d57 0xc7b03a 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x21d1bb2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x472 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:240 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665bce github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665bc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1453 # 0x2664d56 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1358 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x7bb33d 0x7bd165 0x7bd54f 0x7be04c 0x7be040 0xc6bdfe 0x199e85d 0x187d032 0x21a30eb 0x2120972 0x263960a 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bb33c regexp.onePassCopy+0x3c regexp/onepass.go:226 # 0x7bd164 regexp.compileOnePass+0x1a4 regexp/onepass.go:499 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xc6bdfd github.com/mattermost/mattermost/server/public/model.(*Reaction).IsValid+0x5d github.com/mattermost/mattermost/server/public/model/reaction.go:31 # 0x199e85c 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 # 0x187d031 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10989 # 0x21a30ea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8742 # 0x2120971 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 # 0x2639609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x569 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:78 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x18e1e65 0x185c851 0x217de5d 0x2478e43 0x283c251 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2430 # 0x185c850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2478 # 0x217de5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2099 # 0x2478e42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:212 # 0x283c250 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x18e5730 0x18e563b 0x18e563a 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x18e572f github.com/lann/builder.Append+0x4cf github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e563a github.com/mattermost/squirrel.UpdateBuilder.Set+0x3da github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5639 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x3d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2768 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x657fc9 0x659a65 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x657fc8 crypto/x509.processExtensions+0x17a8 crypto/x509/parser.go:749 # 0x659a64 crypto/x509.parseCertificate+0x1324 crypto/x509/parser.go:1054 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a2ee 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x21f2798 0x21f9e0b 0x21d4da2 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x21f2797 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x597 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:292 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd05 0x493087 0x255fba6 0x255f4e5 0x25880d1 0xb8e16a 0xb8ea42 0xb8e0e5 0xb8e37b 0xb8df85 0x2587fce 0x26071e5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255fba5 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x255f4e4 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x604 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x25880d0 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1424 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8ea41 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x161 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:96 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x26071e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x524 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2442 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0x71d5ab 0x71d579 0x71cd94 0x71c7c5 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x71d5aa bytes.(*Buffer).String+0xea bytes/buffer.go:77 # 0x71d578 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0xb8 vendor/golang.org/x/net/http2/hpack/hpack.go:518 # 0x71cd93 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x333 vendor/golang.org/x/net/http2/hpack/hpack.go:386 # 0x71c7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xe4 vendor/golang.org/x/net/http2/hpack/hpack.go:316 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183e457 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183e456 github.com/mattermost/squirrel.aliasExpr.ToSql+0x96 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a08495 0x1a0844a 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a08494 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5d4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:572 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x28253e8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x28253e7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x11c7 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:918 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184418e 0x18442bd 0x183a417 0x183a6bc 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x183a416 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x183a6bb github.com/mattermost/squirrel.(*caseData).ToSql+0x13b github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18e2249 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2248 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x248 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a044ef 0x1a04466 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a044ee github.com/mattermost/squirrel.SelectBuilder.From+0x12e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a04465 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:280 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cacd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caccf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x42f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3744 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x1268689 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x1268688 github.com/lib/pq.convertURL+0xa68 github.com/lib/pq@v1.12.3/connector.go:1156 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0364b 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a0364a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x22a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x63f19d 0x63f144 0x63f733 0x63f5df 0x262525c 0x2623195 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f19c strings.(*Builder).WriteString+0x35c strings/builder.go:114 # 0x63f143 net/url.resolvePath+0x303 net/url/url.go:1072 # 0x63f732 net/url.(*URL).ResolveReference+0x112 net/url/url.go:1121 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1a078b6 0x1a0783d 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a078b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x455 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0783c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:519 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0x4e75ea 0x4e75e1 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x4e75e9 os.Open+0x49 os/file.go:390 # 0x4e75e0 os.ReadFile+0x40 os/file.go:865 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4224] @ 0x48dd2c 0x4930f3 0x6bde95 0x6bde65 0x6bdd77 0x5ccbc4 0x5cd01c 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6bde94 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bde64 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bdd76 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 864] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18df3d5 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df3d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2160 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x7738e5 0x788754 0x7884df 0x4cedee 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7738e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:698 # 0x788753 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7884de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4ceded io.(*teeReader).Read+0x2d io/io.go:628 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a24a6c 0x1a24a11 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a24a6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a24a10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1063 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28ac145 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28ac144 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1198 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212b56a 0x249e81c 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249e81b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd2c 0x125af57 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125af56 github.com/lib/pq.(*conn).processParameterStatus+0x356 github.com/lib/pq@v1.12.3/conn.go:1562 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 128] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb9056e 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb9056d github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x24d github.com/mattermost/mattermost/server/public/shared/markdown/list.go:203 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18e9d89 0x18e9d3e 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e9d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x228 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e9d3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3065 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19128f9 0x1864d7b 0x218785d 0x2664e5d 0x26643f7 0xc7b03a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19128f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandWebhookStore.Cleanup+0x1f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_webhook_store.go:134 # 0x1864d7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandWebhookStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4639 # 0x218785c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandWebhookStore).Cleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3820 # 0x2664e5c github.com/mattermost/mattermost/server/v8/channels/app.doCommandWebhookCleanup+0x3c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1371 # 0x26643f6 github.com/mattermost/mattermost/server/v8/channels/app.runCommandWebhookCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1295 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 1728] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x18e6332 0x18e6321 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x18e6331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x10d1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x18e6320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2784 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4710400] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2097152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x4cee2a 0x4cf8f3 0x4ceb03 0x4cef4d 0x4ce831 0x4ce52c 0x4ce50b 0x1b2a989 0x1b18897 0x1b18871 0x1b18890 0x1b1aa7a 0x1b2ada5 0x251281a 0x2510c0d 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x4cf8f2 io.(*multiReader).Read+0x92 io/multi.go:26 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cef4c io.discard.ReadFrom+0x6c io/io.go:666 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x1b2a988 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*fwSeeker).Seek+0x68 github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:91 # 0x1b18896 github.com/bep/imagemeta.(*streamReader).skip+0x316 github.com/bep/imagemeta@v0.12.0/io.go:287 # 0x1b18870 github.com/bep/imagemeta.(*imageDecoderPNG).decode.func1+0x2f0 github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:33 # 0x1b1888f github.com/bep/imagemeta.(*imageDecoderPNG).decode+0x30f github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:103 # 0x1b1aa79 github.com/bep/imagemeta.Decode+0x699 github.com/bep/imagemeta@v0.12.0/imagemeta.go:234 # 0x1b2ada4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GetImageOrientation+0x304 github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:154 # 0x2512819 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x899 github.com/mattermost/mattermost/server/v8/channels/app/file.go:918 # 0x2510c0c github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x68c github.com/mattermost/mattermost/server/v8/channels/app/file.go:818 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19669aa 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19669a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x789 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:643 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a075c5 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x1a075c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:509 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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: 320] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x2605e78 0x282c9d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2605e77 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2261 # 0x282c9cf github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x4af github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1575 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e2470 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e246f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2455 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc83f25 0xc83f26 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc83f24 github.com/tinylib/msgp/msgp.ReadStringBytes+0x124 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc83f25 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x125 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:473 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 212992] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 122880] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 7962624] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a03a5d 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1a03a5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x1a03dc8 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a03dc7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x247 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:237 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18cee70 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cee6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x20f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:982 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x195d9a8 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195d9a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f71a5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26390f0 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26390ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:19 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x62b225 0x62774e 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x62b224 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x62774d net.(*netFD).dial+0x4cd net/sock_posix.go:141 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a1ef9e 0x1a1ef35 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a1ef9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xfd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a1ef34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:652 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x18eb44f 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18eb44e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x34e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3171 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846fab 0x19031b6 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19031b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x535 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x492ae9 0x296ae8e 0x296ae7b 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296ae8d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x296ae7a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:482 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x197260f 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197260e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1688 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x78f5ce 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x78f5cd net/http.(*Transport).getConn+0x20d net/http/transport.go:1536 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a0373c 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a0359e 0x1a0351a 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0359d github.com/mattermost/squirrel.SelectBuilder.From+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x19c993e 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc5582c 0x2828d37 0x2828d32 0x2828645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5582b github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x4b github.com/mattermost/mattermost/server/public/model/post.go:168 # 0x2828d36 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventPriorState+0x76 github.com/mattermost/mattermost/server/public/model/audit_record.go:116 # 0x2828d31 github.com/mattermost/mattermost/server/v8/channels/api4.postPatchChecks+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1221 # 0x2828644 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x564 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1174 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837b12 0x18390d5 0x1839345 0x183aaed 0x183a953 0x1a0861e 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183aaec github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183a952 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a0861d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x75d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x199ac36 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ac35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x18e9c1e 0x18e9bc3 0x18e9bd1 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x18e9c1d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xbd github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18e9bc2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x62 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18e9bd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3062 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f44f8 0x21f40cb 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f44f7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x97 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:432 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184a645 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184a644 github.com/mattermost/squirrel.(*updateData).ToSql+0x184 github.com/mattermost/squirrel@v0.5.0/update.go:78 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x192106d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x192106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x493087 0x64c516 0x64c39a 0x6b2a75 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64c515 crypto/x509.(*CertPool).addCertFunc+0x1b5 crypto/x509/cert_pool.go:205 # 0x64c399 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x6b2a74 crypto/tls.(*Conn).verifyServerCertificate+0xa74 crypto/tls/handshake_client.go:1156 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0xc99d65 0x1134f0f 0x1133ed2 0x211e48f 0x212758b 0x1134550 0x21271fe 0x2201e0b 0x2201c05 0x26af72e 0x26af706 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133ed1 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).GetMulti+0xf1 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:81 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212758a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).InvalidateProfilesInChannelCacheByUser.func1+0x1ca github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:87 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x21271fd 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 # 0x2201e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateChannelCacheForUser+0x8a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:253 # 0x2201c04 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateCacheForUser+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:234 # 0x26af72d github.com/mattermost/mattermost/server/v8/channels/app.(*App).InvalidateCacheForUser+0xacd github.com/mattermost/mattermost/server/v8/channels/app/web_hub.go:48 # 0x26af705 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xaa5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1578 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04a25 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04a24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1408] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 122880] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x1a2c356 0x1a2c2e6 0x1a3591e 0x1309f10 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a2c355 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a2c2e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1674 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e9e47 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e9e46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3066 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x1844505 0x184ad06 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x137d6fd 0x137d7f4 0x138fa0e 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x137d6fc github.com/yuin/goldmark.DefaultRenderer+0x3c github.com/yuin/goldmark@v1.8.2/markdown.go:24 # 0x137d7f3 github.com/yuin/goldmark.New+0x33 github.com/yuin/goldmark@v1.8.2/markdown.go:103 # 0x138fa0d github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x16d github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19dbd10 0x195b113 0x18786ba 0x219dcba 0x2627aa7 0x25f1ee6 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x195b112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x18786b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9729 # 0x219dcb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7782 # 0x2627aa6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x25f1ee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2905 github.com/mattermost/mattermost/server/v8/channels/app/post.go:450 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x63f19d 0x63f144 0x63f733 0x63f5df 0x262525c 0x2620b9b 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f19c strings.(*Builder).WriteString+0x35c strings/builder.go:114 # 0x63f143 net/url.resolvePath+0x303 net/url/url.go:1072 # 0x63f732 net/url.(*URL).ResolveReference+0x112 net/url/url.go:1121 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2620b9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x7da github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:656 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257d797 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257d796 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xf656 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:612 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18e33d4 0x18e3321 0x18599a7 0x217ab2d 0x21152c6 0x2581397 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e33d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e3320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2530 # 0x18599a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1821 # 0x217ab2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1587 # 0x21152c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:332 # 0x2581396 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: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x26ade2b 0x26b89ce 0x28ae225 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26b89cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).AutocompleteUsersInChannel+0x20d github.com/mattermost/mattermost/server/v8/channels/app/user.go:2459 # 0x28ae224 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x784 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1403 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x19f7ff8 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f7ff7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x183c73b 0x183c633 0x1953f09 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183c73a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183c632 github.com/mattermost/squirrel.DeleteBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/delete.go:217 # 0x1953f08 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0xa28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:76 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x428505 0x859285 0x855c55 0x85d030 0x25d4ce8 0x127f022 0x128d728 0x51716c 0x516019 0xb75014 0x498001 # 0x859284 github.com/mattermost/logr/v2.NewLogRec+0x84 github.com/mattermost/logr/v2@v2.0.22/logrec.go:39 # 0x855c54 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x85d02f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x25d4ce7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1144 # 0x127f021 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1087 # 0x128d727 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1043 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x1954565 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1954564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x1084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:94 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x726e14 0x726e15 0x7263fd 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x726e13 context.WithDeadline+0x133 context/context.go:626 # 0x726e14 net/http.setRequestCancel+0x134 net/http/client.go:378 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 9856] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18e23fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18e23f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2455 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 80] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc57f47 0xc57f2c 0x1961235 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc57f46 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0xd86 github.com/mattermost/mattermost/server/public/model/utils.go:586 # 0xc57f2b github.com/mattermost/mattermost/server/public/model.(*Post).IsValid+0xd6b github.com/mattermost/mattermost/server/public/model/post.go:565 # 0x1961234 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x434 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:174 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f4c5 0x282512c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f4c4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x344 github.com/mattermost/mattermost/server/v8/channels/web/context.go:79 # 0x282512b github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xf0b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:908 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e60de 0x263137b 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e60dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDbVersion+0x7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:429 # 0x263137a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x61a github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:337 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 768] @ 0x48dd05 0x492ae9 0x4a2f72 0x4a2565 0x77484e 0x779073 0x779e95 0x498001 # 0x4a2f71 sync.(*poolChain).pushHead+0x131 sync/poolqueue.go:245 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x779072 net/http.(*response).finishRequest+0x52 net/http/server.go:1672 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19f7fdb 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f7fda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x2ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4930f3 0x557139 0x557466 0x55a2ec 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x19e0fda 0x19e0dfe 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x19e0fd9 github.com/mattermost/squirrel.InsertBuilder.Values+0x439 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 896] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a03d89 0x1a03d3c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03d3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28a9846 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28a9845 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x1ba5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fb2d 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fb2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x458d18 0x46be75 0x99fb53 0x9a3333 0x99ec9f 0xb83a67 0x498001 # 0x99fb52 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x372 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x9a3332 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x212 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x99ec9e github.com/hashicorp/yamux.(*Session).AcceptStream+0x7e github.com/hashicorp/yamux@v0.1.2/session.go:245 # 0xb83a66 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x26 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:142 0: 0 [7: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x199814f 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x199814e github.com/mattermost/squirrel.SelectBuilder.From+0x14e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02e5d 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x492ae9 0x1846885 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a02c11 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd2c 0x428505 0xb911d4 0xb87bc8 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb911d3 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0xb3 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:70 # 0xb87bc7 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x787 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28ca089 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28ca088 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x188 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3668 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a016c5 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a016c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:158 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a24a6c 0x1a24a11 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a24a6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a24a10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1063 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x661546 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661545 crypto/x509.(*policyGraph).insert+0xc25 crypto/x509/verify.go:1086 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x78f52d 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x78f52c net/http.(*Transport).getConn+0x16c net/http/transport.go:1529 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 37632] @ 0x48dd0c 0x428505 0xc20e45 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0xc20e44 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x44 github.com/mattermost/mattermost/server/public/model/config.go:4171 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276ccd4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276ccd3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x3f3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1860 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a217d6 0x1a21760 0x1891715 0x21bad96 0x26a8114 0x25cfa4a 0x127820a 0x12afe05 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a217d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a2175f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x2ff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:847 # 0x1891714 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16803 # 0x21bad95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13280 # 0x26a8113 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:694 # 0x25cfa49 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUsersInChannel+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:429 # 0x1278209 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUsersInChannel+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:355 # 0x12afe04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUsersInChannel+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x275e230 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x275e22f github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x70f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:634 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x196a446 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x196a445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:929 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x299bb98 0x299ba09 0x6dfb65 0x6dfb3a 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299bb97 crypto/internal/fips140/tls13.ExpandLabel[...]+0xd7 crypto/internal/fips140/tls13/tls13.go:32 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6dfb64 crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x64 crypto/internal/fips140/tls13/tls13.go:155 # 0x6dfb39 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x39 crypto/tls/key_schedule.go:48 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xc9276e 0xc9256a 0x26ade3d 0x26bdefa 0x26bdecc 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9276d github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x30d github.com/mattermost/mattermost/server/public/model/user.go:704 # 0xc92569 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x109 github.com/mattermost/mattermost/server/public/model/user.go:748 # 0x26ade3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1331 # 0x26bdef9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x8d9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bdecb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x8ab github.com/mattermost/mattermost/server/v8/channels/app/user.go:2963 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4752f7 0xc56fed 0x25f9e97 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc56fec github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x6c github.com/mattermost/mattermost/server/public/model/post.go:395 # 0x25f9e96 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1010 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 401408] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 47360] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9627 0x28a9cee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9626 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2543 # 0x28a9ced github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x204d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1110 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x191afb9 0x191afa4 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191afb8 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1f8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191afa3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x1e3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:122 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb8d5fc 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d5fb github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:640 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x1846885 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a249ca 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a249c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1057 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19f0cfb 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f0cfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x47a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:640 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28cac7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3743 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 2816] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x730e65 0x730dd3 0x730d94 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730e64 net/textproto.MIMEHeader.Set+0xc24 net/textproto/header.go:22 # 0x730dd2 net/http.Header.Set+0xb92 net/http/header.go:40 # 0x730d93 net/http.serveContent+0xb53 net/http/fs.go:424 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9240576] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x183a799 0x183a79a 0x183a7b6 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a798 bytes.(*Buffer).String+0x218 bytes/buffer.go:77 # 0x183a799 github.com/mattermost/squirrel.(*sqlizerBuffer).ToSql+0x219 github.com/mattermost/squirrel@v0.5.0/case.go:42 # 0x183a7b5 github.com/mattermost/squirrel.(*caseData).ToSql+0x235 github.com/mattermost/squirrel@v0.5.0/case.go:91 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27d8a65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d8a64 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f71ff 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f71fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1847b1c 0x1a0554d 0x1a0549d 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a0554c github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x118c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a0549c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x10dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:357 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a2ba9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a2ba8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:373 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x48dd05 0x4246eb 0x1a04570 0x1a04571 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a0456f github.com/mattermost/squirrel.Expr+0x1af github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x1a04570 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183a4a5 0x183a6bc 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183a4a4 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0xc4 github.com/mattermost/squirrel@v0.5.0/case.go:38 # 0x183a6bb github.com/mattermost/squirrel.(*caseData).ToSql+0x13b github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x1a016e5 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a016e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:159 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125ac56 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac55 github.com/lib/pq.(*conn).processParameterStatus+0x55 github.com/lib/pq@v1.12.3/conn.go:1568 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a25c3c 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a25c3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02e5d 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a297fa 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x1846885 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a02e5d 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 192] @ 0x48dd05 0x428505 0x26cb5ce 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26cb5cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:328 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a06a53 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1a03536 0x1a0351b 0x1a0351a 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a03535 github.com/mattermost/squirrel.newPart+0x115 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a0351a github.com/mattermost/squirrel.SelectBuilder.From+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183e457 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183e456 github.com/mattermost/squirrel.aliasExpr.ToSql+0x96 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a04afb 0x1a04ae0 0x1a04adf 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04afa github.com/mattermost/squirrel.newPart+0x73a github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a04adf github.com/mattermost/squirrel.CaseBuilder.Else+0x71f github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1a04ade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x88bb0c 0x8b9f91 0x8b9f6b 0x8fa385 0x8f9cda 0x8fc695 0x1cf58a4 0x258f446 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x88bb0b text/template.(*Template).execute+0x12b text/template/exec.go:216 # 0x8b9f90 text/template.(*Template).Execute+0x70 text/template/exec.go:207 # 0x8b9f6a 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x1cf58a3 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).NewEmailTemplateData+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:864 # 0x258f445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x465 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:371 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x7b80be 0x7b80d7 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b80bd regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7b80d6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x21f954a 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f9549 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x409 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:230 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x258cab4 0x257f730 0x21d4da2 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x258cab3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x428505 0x1a03bce 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a03bcd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:230 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3096576] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x1a0554d 0x1a0549d 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a0554c github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x118c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a0549c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x10dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:357 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a041c6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a041c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x645 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:261 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a03ee6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03ee5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x21f9e0b 0x21d4da2 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19035f8 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19035f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x977 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:436 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1957e8e 0x1957e18 0x1877afa 0x219cf06 0x261663e 0x261d628 0x261dcc7 0x25f6925 0x25850c5 0x25807ea 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1957e8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1957e17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPost+0x397 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:132 # 0x1877af9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9519 # 0x219cf05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPost+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7622 # 0x261663d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPost+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:141 # 0x261d627 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xaa7 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:250 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x25f6924 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendEphemeralPost+0x2a4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:714 # 0x25850c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendOutOfChannelMentions+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1211 # 0x25807e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func6+0x69 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:211 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a249ca 0x18915be 0x21bac29 0x2585624 0x2585027 0x25807ea 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a249c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1057 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x2585623 github.com/mattermost/mattermost/server/v8/channels/app.(*App).filterOutOfChannelMentions+0x243 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1246 # 0x2585026 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendOutOfChannelMentions+0x46 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1201 # 0x25807e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func6+0x69 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:211 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7ab985 0x7ab900 0x7af13a 0x7bd4f0 0x7bd4eb 0x7be04c 0x7be040 0xc34958 0xc34d5e 0x2730c5e 0x27303b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7ab984 regexp/syntax.(*parser).newRegexp+0xa4 regexp/syntax/parse.go:147 # 0x7ab8ff regexp/syntax.(*parser).literal+0x1f regexp/syntax/parse.go:369 # 0x7af139 regexp/syntax.parse+0xbd9 regexp/syntax/parse.go:931 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0xc34957 github.com/mattermost/mattermost/server/public/model.escapeControlCharsFromPayload+0x57 github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:164 # 0xc34d5d github.com/mattermost/mattermost/server/public/model.IncomingWebhookRequestFromJSON+0xbd github.com/mattermost/mattermost/server/public/model/incoming_webhook.go:200 # 0x2730c5d github.com/mattermost/mattermost/server/v8/channels/web.decodePayload+0xc5d github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:134 # 0x27303b3 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x3b3 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x196fc65 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fc64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04a25 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04a24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19e1185 0x19e10db 0x19e10da 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1184 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e10da github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x53a github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19e10d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:57 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x224a0ff 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a0fe github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x9e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:84 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x414ff7 0x414d65 0x415e26 0xb8e35e 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e35d github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1bd github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:54 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 528] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x53efc5 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x53efc4 strings.(*Replacer).build+0x184 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 384] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x1b8e450 0x1b8e527 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e44f github.com/klauspost/compress/flate.newHuffmanEncoder+0xef github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:151 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 9472] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x15dd3ff 0x15d3625 0x21d178e 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665bcf 0x2665bca 0x2664d57 0xc7b03a 0x498001 # 0x15dd3fe github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0x3cde github.com/mattermost/mattermost/server/v8/config/client.go:465 # 0x15d3624 github.com/mattermost/mattermost/server/v8/config.GenerateClientConfig+0x44 github.com/mattermost/mattermost/server/v8/config/client.go:17 # 0x21d178d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:221 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665bce github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665bc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1453 # 0x2664d56 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1358 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc2f6d6 0x15dd350 0x15d3625 0x21d178e 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665bcf 0x2665bca 0x2664d57 0xc7b03a 0x498001 # 0xc2f6d5 github.com/mattermost/mattermost/server/public/model.(*FeatureFlags).ToMap+0x215 github.com/mattermost/mattermost/server/public/model/feature_flags.go:257 # 0x15dd34f github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0x3c2f github.com/mattermost/mattermost/server/v8/config/client.go:464 # 0x15d3624 github.com/mattermost/mattermost/server/v8/config.GenerateClientConfig+0x44 github.com/mattermost/mattermost/server/v8/config/client.go:17 # 0x21d178d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:221 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665bce github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665bc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1453 # 0x2664d56 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1358 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x21d5a24 0x2665e92 0x2665e8d 0x2664777 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x21d5a23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x883 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:84 # 0x2665e91 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665e8c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1472 # 0x2664776 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1323 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03ee6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03ee5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0xbf00cf 0xbf00b4 0xbef46e 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf00ce github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x6e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf00b3 github.com/vmihailenco/msgpack/v5.(*Encoder).write2+0x53 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:179 # 0xbef46d github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:187 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x1a25d58 0x1a25cf5 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x196a446 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x196a445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:929 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0381e 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a0381d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x3fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:208 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 3456] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x52d7d1 0x52d808 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x8faba6 0x2480b1d 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x52d7d0 errors.New+0x230 errors/errors.go:65 # 0x52d807 fmt.errorf+0x267 fmt/errors.go:46 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0x2480b1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x3c github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28cafc5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cafc4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3765 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196a2ee 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1944788 0x194472e 0x194470d 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1944787 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x187 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x194472d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x194470c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x10c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:152 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x19ea937 0x19ea890 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19ea936 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1d6 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19ea88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0xc9f798 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc9f797 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x1a04e5f 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04e5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:320 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x20df226 0x20def8e 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x20df225 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer)._createJob+0x45 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:64 # 0x20def8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:38 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1942f9d 0x1942e6b 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1942f9c github.com/mattermost/squirrel.InsertBuilder.Columns+0x33c github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1942e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 160] @ 0x48dd05 0x493087 0x28174d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28174cf github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x1cf github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:269 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x415da5 0xb8e35e 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e35d github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1bd github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:54 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a05054 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a05053 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xc93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:338 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x261b67d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1966ec5 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1966ec4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0xca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:680 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 768] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a02eed 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x428505 0x2957c3a 0x297395e 0x29779c8 0x297799b 0x5d29b6 0x5cfd36 0x693a4c 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2957c39 crypto/internal/fips140/nistec.NewP256Point+0x19 crypto/internal/fips140/nistec/p256_asm.go:49 # 0x297395d crypto/internal/fips140/ecdsa.verifyGeneric[...]+0x5d crypto/internal/fips140/ecdsa/ecdsa.go:458 # 0x29779c7 crypto/internal/fips140/ecdsa.verify[...]+0xc7 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:14 # 0x297799a crypto/internal/fips140/ecdsa.Verify[...]+0x9a crypto/internal/fips140/ecdsa/ecdsa.go:452 # 0x5d29b5 crypto/ecdsa.verifyFIPS[...]+0x135 crypto/ecdsa/ecdsa.go:529 # 0x5cfd35 crypto/ecdsa.VerifyASN1+0x255 crypto/ecdsa/ecdsa.go:510 # 0x693a4b crypto/tls.verifyHandshakeSignature+0x2eb crypto/tls/auth.go:34 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 96] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x1a02a17 0x1a029f1 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18d1af8 0x18d1ac6 0x18d1ad4 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1af7 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x97 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18d1ac5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18d1ad3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1221 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 160] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd2c 0x492ae9 0x500607 0x1cd096a 0x1cd096b 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x500606 encoding/base64.(*Encoding).EncodeToString+0xe6 encoding/base64/base64.go:207 # 0x1cd0969 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:101 # 0x1cd096a github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1939b85 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1939b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0xa44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1545 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1955ace 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1955acd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6b97dc 0x6b96a5 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6b97db vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x79b vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b96a4 crypto/tls.(*clientHelloMsg).marshalMsg+0x664 crypto/tls/handshake_messages.go:137 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48d7c5 0x18e5c4e 0x18e5b6e 0x18e5c8c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5c4d github.com/lann/builder.Append+0x9ed github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5b6d github.com/mattermost/squirrel.UpdateBuilder.Set+0x90d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5c8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xa2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2772 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x130d410 0x130d39e 0x130d37d 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x130d40f net/textproto.MIMEHeader.Set+0xaf net/textproto/header.go:22 # 0x130d39d net/http.Header.Set+0x3d net/http/header.go:40 # 0x130d37c github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0x1c github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:18 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x428505 0x633c37 0x62b335 0x627607 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x633c36 net.ipToSockaddr+0x1f6 net/ipsock_posix.go:222 # 0x62b334 net.(*TCPAddr).sockaddr+0x34 net/tcpsock_posix.go:40 # 0x627606 net.(*netFD).dial+0x386 net/sock_posix.go:121 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [3: 960] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a0f0ea 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0f0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1046 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x196df5a 0x196dd8b 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196df59 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0xa59 github.com/mattermost/mattermost/server/public/model/post_list.go:129 # 0x196dd8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x88a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1316 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x4930f3 0x6b9c6b 0x6b9b28 0x6b9b27 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6b9c6a vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0xc2a vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6b9b27 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0xae7 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6b9b26 crypto/tls.(*clientHelloMsg).marshalMsg+0xae6 crypto/tls/handshake_messages.go:150 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x71bcff 0x71bcab 0x71ce45 0x71c7c5 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x71bcfe vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x9e vendor/golang.org/x/net/http2/hpack/tables.go:58 # 0x71bcaa vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x71ce44 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x3e4 vendor/golang.org/x/net/http2/hpack/hpack.go:393 # 0x71c7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xe4 vendor/golang.org/x/net/http2/hpack/hpack.go:316 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [3: 960] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x6dfa65 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x6dfa64 crypto/tls.(*cipherSuiteTLS13).finishedHash+0x124 crypto/tls/key_schedule.go:41 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 576] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03a0d 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03a0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x2120bfd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2120bfc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196a2ee 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x282c6b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x282c6b6 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1549 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x183aa3d 0x1a0861e 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183aa3c github.com/mattermost/squirrel.CaseBuilder.When+0xfc github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a0861d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x75d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 192] @ 0x48dd2c 0x428505 0x2957c3a 0x2974a0e 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2957c39 crypto/internal/fips140/nistec.NewP256Point+0x19 crypto/internal/fips140/nistec/p256_asm.go:49 # 0x2974a0d crypto/internal/fips140/ecdsa.randomPoint[...]+0x2ed crypto/internal/fips140/ecdsa/ecdsa.go:257 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x18401d1 0x18405fa 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18401d0 github.com/mattermost/squirrel.Lt.toSql+0x470 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x18405f9 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd05 0x428505 0x78c98d 0x78b2f9 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x78c98c net/http.(*Transport).prepareTransportCancel+0x2c net/http/transport.go:930 # 0x78b2f8 net/http.(*Transport).roundTrip+0x8b8 net/http/transport.go:665 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e42dc 0x185d747 0x217ee6d 0x2114266 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e42db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2642 # 0x185d746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2688 # 0x217ee6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2259 # 0x2114265 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x196a446 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x196a445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:929 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a1e165 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:572 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3072] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x18e21af 0x18e2127 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e21ae github.com/mattermost/squirrel.SelectBuilder.From+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e2126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2448 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x26ff93e 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ff93d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:63 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x1942f9d 0x1942e6b 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1942f9c github.com/mattermost/squirrel.InsertBuilder.Columns+0x33c github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1942e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847f4f 0x19f0b72 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847f4e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x19f0b71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:625 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bf754 0x6bf733 0x5ccbc4 0x5cd01c 0x6b942a 0x6b92ef 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bf753 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6bf732 crypto/tls.(*clientHelloMsg).marshalMsg.func2+0x12 crypto/tls/handshake_messages.go:122 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b9429 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x3e9 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b92ee crypto/tls.(*clientHelloMsg).marshalMsg+0x2ae crypto/tls/handshake_messages.go:121 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0d309 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x184afae 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x191f9ee 0x191f993 0x191f98b 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x191f9ed github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xed github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x191f992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x191f98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:142 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x2594c6b 0x498001 # 0x2594c6a github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start+0x32a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:424 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f1def 0x19f1dd0 0x19f71a5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f1dee github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xae github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x428505 0x271b7d6 0x27181bb 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271b7d5 github.com/mattermost/mattermost/server/v8/channels/web.(*Handler).checkCSRFToken+0x3d5 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:511 # 0x27181ba github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1ada github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0373c 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x18e55d9 0x18e557f 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e55d8 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x378 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18e557e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x31e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2766 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x18e39bc 0x185c527 0x217da4d 0x2113dc6 0x249efe9 0x2761eaf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e39bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2577 # 0x185c526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2430 # 0x217da4c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2051 # 0x2113dc5 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 # 0x249efe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2557 # 0x2761eae github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:992 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x41d5a8 0x7952f2 0x498001 # 0x7952f1 net/http.(*persistConn).readLoop+0x471 net/http/transport.go:2409 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a08565 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x196de6b 0x196dd3f 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 896] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x415e26 0xb8e35e 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e35d github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1bd github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:54 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x72f377 0x72f339 0x732882 0x7335b8 0x25e9765 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x72f376 path/filepath.Join+0xd6 path/filepath/path.go:131 # 0x72f338 net/http.Dir.Open+0x98 net/http/fs.go:90 # 0x732881 net/http.serveFile+0xc1 net/http/fs.go:690 # 0x7335b7 net/http.ServeFile+0xf7 net/http/fs.go:825 # 0x25e9764 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginPublicRequest+0x2c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:153 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x492ae9 0x299af25 0x299be65 0x299ba09 0x6b6085 0x6b6046 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299af24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6084 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x204 crypto/internal/fips140/tls13/tls13.go:112 # 0x6b6045 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x1c5 crypto/tls/handshake_client_tls13.go:494 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x493087 0x642625 0x658e30 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658e2f crypto/x509.parseCertificate+0x6ef crypto/x509/parser.go:987 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 256] @ 0x48dd05 0x428505 0xc3ef65 0x194aa05 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3ef64 github.com/mattermost/mattermost/server/public/model.(*LinkMetadata).DeserializeDataToConcreteType+0x1a4 github.com/mattermost/mattermost/server/public/model/link_metadata.go:198 # 0x194aa04 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97aa5 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x64c16c 0x65ec2d 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64c16b crypto/x509.(*CertPool).findPotentialParents+0x62b crypto/x509/cert_pool.go:165 # 0x65ec2c crypto/x509.(*Certificate).buildChains+0x8c crypto/x509/verify.go:788 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd05 0x48d725 0x19c9850 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c984f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:93 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474b30 0x12610b7 0x1260ff8 0x1251ae5 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12610b6 net.JoinHostPort+0x176 net/ipsock.go:242 # 0x1260ff7 github.com/lib/pq.Config.network+0xb7 github.com/lib/pq@v1.12.3/connector.go:664 # 0x1251ae4 github.com/lib/pq.dial+0xc4 github.com/lib/pq@v1.12.3/conn.go:432 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x12612af 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12612ae github.com/lib/pq.(*Config).fromEnv+0x2e github.com/lib/pq@v1.12.3/connector.go:668 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 864] @ 0x48dd05 0x492ae9 0x85d61b 0x85d107 0x25d4e28 0x127f222 0x128db08 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85d106 github.com/mattermost/logr/v2.Sugar.Warnw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x25d4e27 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1152 # 0x127f221 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1099 # 0x128db07 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1070 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x19baa85 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19baa84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:283 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08429 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x568 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:571 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x299af25 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x299af24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x99f85e 0x99f4c5 0x99f4c6 0x99f6e5 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x99f4c4 github.com/hashicorp/yamux.(*Session).waitForSend+0x144 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x99f4c5 github.com/hashicorp/yamux.(*Session).Ping+0x145 github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [2: 128] @ 0x48dd05 0x493087 0x196f7cf 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196f7ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1409 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x2700f14 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f13 net/textproto.MIMEHeader.Set+0x173 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x6bc0dd 0x6bbff9 0x6bbfef 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bc0dc vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x309c vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bbff8 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8+0x2fb8 vendor/golang.org/x/crypto/cryptobyte/builder.go:79 # 0x6bbfee crypto/tls.(*clientHelloMsg).marshalMsg+0x2fae crypto/tls/handshake_messages.go:347 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a29270 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a2926f github.com/mattermost/squirrel.SelectBuilder.From+0x16f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x6b2632 0x6b271f 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6b2631 crypto/x509.NewCertPool+0x631 crypto/x509/cert_pool.go:67 # 0x6b271e crypto/tls.(*Conn).verifyServerCertificate+0x71e crypto/tls/handshake_client.go:1152 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a231df 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a231de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x73e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:948 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x805d78 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x805d77 database/sql.(*DB).addDepLocked+0xab7 database/sql/sql.go:756 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x121c54a 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x121c549 code.sajari.com/docconv/v2.ConvertHTML+0x49 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:20 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 512] @ 0x48dd2c 0x492ae9 0x296ae8e 0x296ae7b 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296ae8d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x296ae7a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:482 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a22e55 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a22e54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:942 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 120] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x196d572 0x196d55e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196d571 github.com/mattermost/mattermost/server/public/model.NewPostList+0x71 github.com/mattermost/mattermost/server/public/model/post_list.go:32 # 0x196d55d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1260 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a07269 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x5003ce 0x50042e 0x551a65 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5003cd slices.Grow[...]+0x10d slices/slices.go:426 # 0x50042d encoding/base64.(*Encoding).AppendEncode+0x16d encoding/base64/base64.go:200 # 0x551a64 encoding/json.encodeByteSlice+0x124 encoding/json/encode.go:833 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd2c 0x428505 0x4ea77d 0x4e4ffa 0x578445 0x57843d 0x57712d 0x578b18 0x1220045 0x121c566 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4ea77c os.(*Process).pidfdWait+0xdc os/pidfd_linux.go:105 # 0x4e4ff9 os.(*Process).wait+0x19 os/exec_unix.go:25 # 0x578444 os.(*Process).Wait+0x44 os/exec.go:346 # 0x57843c os/exec.(*Cmd).Wait+0x3c os/exec/exec.go:930 # 0x57712c os/exec.(*Cmd).Run+0x2c os/exec/exec.go:632 # 0x578b17 os/exec.(*Cmd).Output+0xb7 os/exec/exec.go:1026 # 0x1220044 code.sajari.com/docconv/v2.Tidy+0x2a4 code.sajari.com/docconv/v2@v2.0.0-pre.4/tidy.go:24 # 0x121c565 code.sajari.com/docconv/v2.ConvertHTML+0x65 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:25 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc5908d 0xc59004 0x26cbbab 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5908c maps.Copy[...]+0x14c maps/maps.go:64 # 0xc59003 github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xc3 github.com/mattermost/mattermost/server/public/model/post.go:687 # 0x26cbbaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x78a github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:371 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1947e2f 0x1947da6 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1947e2e github.com/mattermost/squirrel.SelectBuilder.From+0x18e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1947da5 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0xb62805 0xb626aa 0xb63783 0xb63cd6 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62804 encoding/gob.(*encBuffer).WriteString+0x264 encoding/gob/encode.go:60 # 0xb626a9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63cd5 encoding/gob.(*Encoder).encodeMap+0x4f5 encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x19c97cd 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c97cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:92 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 384] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5fd859 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5fd858 internal/singleflight.(*Group).DoChan+0x258 internal/singleflight/singleflight.go:86 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x492ae9 0x4a2f72 0x4a2565 0x77484e 0x77935b 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2f71 sync.(*poolChain).pushHead+0x131 sync/poolqueue.go:245 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x77935a net/http.(*conn).finalFlush+0x7a net/http/server.go:1748 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196fd07 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x126a35c 0x126a368 0x126a395 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x126a35b internal/strconv.AppendBool+0x9b internal/strconv/atob.go:32 # 0x126a367 strconv.AppendBool+0xa7 strconv/number.go:35 # 0x126a394 github.com/lib/pq.encode+0xd4 github.com/lib/pq@v1.12.3/encode.go:46 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x75573f 0x751c2d 0x751c19 0x751817 0x78b4eb 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x75573e net/http.(*http2ClientConn).roundTrip+0x15e net/http/h2_bundle.go:8619 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x751816 net/http.(*http2Transport).RoundTrip+0x16 net/http/h2_bundle.go:7852 # 0x78b4ea net/http.(*Transport).roundTrip+0xaaa net/http/transport.go:702 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 64] @ 0x48dd05 0x428505 0x6e087e 0x6aca42 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6e087d crypto/tls.(*hybridKeyExchange).keyShares+0x2fd crypto/tls/key_schedule.go:197 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 1280] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847b0b 0x1a01533 0x1a014d3 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a01532 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a014d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:156 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 640] @ 0x48dd05 0x428505 0x18ce8ee 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce8ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:963 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19748f5 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19748f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1831 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 54528] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1966634 0x19665da 0x19665d0 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1966633 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x413 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19665d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19665cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x3af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:637 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04ee5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04ee4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:319 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xc615c5 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc615c4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x164 github.com/mattermost/mattermost/server/public/model/post_list.go:43 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x258f22e 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x258f22d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x24d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:360 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1392640] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x18d127c 0x18d1216 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d127b github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x49b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1215 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x435 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1175 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28cacd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caccf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x42f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3744 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19f8191 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f8190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x470 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x61bd9e 0x61aae3 0x61bb45 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x61bd9d net.(*Resolver).internetAddrList.func1+0x15d net/ipsock.go:275 # 0x61aae2 net.filterAddrList+0x182 net/ipsock.go:137 # 0x61bb44 net.(*Resolver).internetAddrList+0x684 net/ipsock.go:308 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x18d2005 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18d2004 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1237 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x4246eb 0x1846b2b 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a03f5d 0x1a03f15 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03f5c github.com/mattermost/squirrel.SelectBuilder.Join+0x3dc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03f14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:243 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28cabae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cabad github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x30d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3732 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a292c5 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a292c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1437 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd0c 0x492ae9 0x5ff37d 0x5ff2f0 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x5ff37c net.sortByRFC6724withSrcs+0x5c net/addrselect.go:25 # 0x5ff2ef net.sortByRFC6724+0x4f net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a02a69 0x1a02a18 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1a02a68 github.com/mattermost/squirrel.SelectBuilder.From+0x128 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a04ee5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04ee4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:319 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 9728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x15db487 0x21d17ca 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665bcf 0x2665bca 0x2664d57 0xc7b03a 0x498001 # 0x15db486 github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0x1d66 github.com/mattermost/mattermost/server/v8/config/client.go:351 # 0x21d17c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x89 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:222 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665bce github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665bc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1453 # 0x2664d56 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1358 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x428505 0x19bb56b 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19bb56a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:422 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [53: 325632] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1972725 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1972724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1690 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x130d410 0x130d39e 0x130d37d 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x130d40f net/textproto.MIMEHeader.Set+0xaf net/textproto/header.go:22 # 0x130d39d net/http.Header.Set+0x3d net/http/header.go:40 # 0x130d37c github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0x1c github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:18 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x2584b9d 0x2584b75 0x25725aa 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2584b9c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x61c github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x2584b74 github.com/mattermost/mattermost/server/v8/channels/app.(*App).userAllowsEmail+0x5f4 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1171 # 0x25725a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4469 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:432 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 128] @ 0x48dd05 0x4246eb 0x19e2926 0x19e289d 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2925 github.com/mattermost/squirrel.UpdateBuilder.Set+0x545 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e289c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:146 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x275e535 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x275e534 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xa14 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:651 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x1a06a0b 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x19e0c9e 0x19e0c57 0x19e0c56 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e0c9d github.com/mattermost/squirrel.InsertBuilder.Into+0xfd github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19e0c56 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19e0c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:53 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x78b365 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x78b364 net/http.(*Transport).roundTrip+0x924 net/http/transport.go:675 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x191a065 0x191a053 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191a064 github.com/mattermost/squirrel.StatementBuilderType.Select+0x204 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191a052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x726e14 0x726e15 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x726e13 context.WithDeadline+0x133 context/context.go:626 # 0x726e14 net/http.setRequestCancel+0x134 net/http/client.go:378 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1248] @ 0x48dd05 0x428505 0x2591638 0x259161d 0x2594292 0x2594edf 0x498001 # 0x2591637 github.com/mattermost/mattermost/server/public/model.(*PushNotification).DeepCopy+0x18d7 github.com/mattermost/mattermost/server/public/model/push_notification.go:93 # 0x259161c github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x18bc github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:166 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13860d3 0x13864de 0x1384d91 0x137d8c6 0x138fdc6 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x13860d2 github.com/yuin/goldmark/extension.NewStrikethroughHTMLRenderer+0x52 github.com/yuin/goldmark@v1.8.2/extension/strikethrough.go:72 # 0x13864dd github.com/yuin/goldmark/extension.(*strikethrough).Extend+0x13d github.com/yuin/goldmark@v1.8.2/extension/strikethrough.go:116 # 0x1384d90 github.com/yuin/goldmark/extension.(*gfm).Extend+0x50 github.com/yuin/goldmark@v1.8.2/extension/gfm.go:16 # 0x137d8c5 github.com/yuin/goldmark.New+0x105 github.com/yuin/goldmark@v1.8.2/markdown.go:110 # 0x138fdc5 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x105 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:68 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 48] @ 0x48dd2c 0x428505 0xb8fd6d 0xb8776c 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8fd6c github.com/mattermost/mattermost/server/public/shared/markdown.(*List).Continuation+0x8c github.com/mattermost/mattermost/server/public/shared/markdown/list.go:92 # 0xb8776b github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x32b github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x196a185 0x196a12a 0x196a138 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196a184 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x164 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x196a129 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x196a137 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:921 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979dfb 0x299b2b5 0x299bfa6 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8ac17 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8ac16 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4d6 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x78b265 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x78b264 net/http.(*Transport).roundTrip+0x824 net/http/transport.go:658 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x493087 0xb90868 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb90867 github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x547 github.com/mattermost/mattermost/server/public/shared/markdown/list.go:217 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a06a53 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x492ae9 0x299af25 0x299be65 0x6df86e 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299af24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 128] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bf754 0x6bf733 0x5ccbc4 0x5cd01c 0x6b942a 0x6b92ef 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bf753 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6bf732 crypto/tls.(*clientHelloMsg).marshalMsg.func2+0x12 crypto/tls/handshake_messages.go:122 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b9429 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x3e9 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b92ee crypto/tls.(*clientHelloMsg).marshalMsg+0x2ae crypto/tls/handshake_messages.go:121 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0359e 0x1a0351a 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0359d github.com/mattermost/squirrel.SelectBuilder.From+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80b64d 0x13a0503 0x19df4af 0x19df488 0x1984c34 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19df4ae github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x19df487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:480 # 0x1984c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x1253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3185 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x661c75 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661c74 crypto/x509.policiesValid+0x1354 crypto/x509/verify.go:1369 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1792] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 229376] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 3424256] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80b825 0x13a6e59 0x13a55c9 0x19e00bb 0x19e0073 0x19e0345 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a6e58 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19e00ba github.com/jmoiron/sqlx.(*Tx).SelectContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x19e0072 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:525 # 0x19e0344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:534 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x428505 0x6a5c05 0x6992e5 0x6ac251 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a5c04 crypto/tls.defaultCurvePreferences+0xa4 crypto/tls/defaults.go:30 # 0x6992e4 crypto/tls.(*Config).curvePreferences+0x24 crypto/tls/common.go:1271 # 0x6ac250 crypto/tls.(*Conn).makeClientHello+0x190 crypto/tls/handshake_client.go:78 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x605fc5 0x605f98 0x60575b 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 1280] @ 0x48dd0c 0x428505 0x2575fb4 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2575fb3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x7e73 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:653 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1a07125 0x1a07107 0x1a07106 0x1309f10 0x498001 # 0x1a07124 github.com/mattermost/squirrel.newPart+0x104 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a07106 github.com/mattermost/squirrel.SelectBuilder.From+0xe6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07105 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:430 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9c67 0x28ae0fb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2599 # 0x28ae0fa github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x65a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a08792 0x1a08773 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08791 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8d1 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x2872ba5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x2872ba4 github.com/mattermost/mattermost/server/v8/channels/api4.getOnboarding+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:1019 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ca95b 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ca95a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0359e 0x1a0351a 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0359d github.com/mattermost/squirrel.SelectBuilder.From+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1972725 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1972724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1690 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x196a185 0x196a12a 0x196a138 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196a184 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x164 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x196a129 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x196a137 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x117 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:921 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x24ada05 0x2766ce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2766ce4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x584 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1395 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x797770 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x79776f net/http.(*persistConn).roundTrip+0x5cf net/http/transport.go:2872 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x13981b4 0x270f109 0x270edf5 0x28cc09d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13981b3 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x253 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:41 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x28cc09c github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0xb7c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3819 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08752 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x891 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:582 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18e8179 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e8178 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x2b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2975 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x191fb94 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fb93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x293 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x493087 0x18eb8c5 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x728c2d 0x727a73 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x728c2c net/http.(*Client).makeHeadersCopier+0xac net/http/client.go:774 # 0x727a72 net/http.(*Client).do+0x232 net/http/client.go:614 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1968205 0x19681d1 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1968204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x624 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19681d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x5f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:781 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1920f0f 0x1920e86 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1920f0e github.com/mattermost/squirrel.SelectBuilder.From+0x18e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1920e85 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:225 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1622016] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 276480] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 983040] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a0d10e 0x1a0d0b7 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0d10d github.com/mattermost/squirrel.SelectBuilder.From+0x1ed github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19f7fc9 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f7fc8 github.com/mattermost/squirrel.SelectBuilder.Join+0x2a8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x72702b 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x72702a net/http.setRequestCancel+0x34a net/http/client.go:403 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 416] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2296d89 0x20db11a 0x20dad8e 0x498001 # 0x2296d88 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x988 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:76 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 384] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0807c 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0807b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a25cf4 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x184afae 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19396d1 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19396d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1499 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x196a1c5 0x196a19d 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196a1c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1a4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196a19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:922 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 196608] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 57344] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x29747c5 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x29747c4 crypto/internal/fips140/ecdsa.randomPoint[...]+0xa4 crypto/internal/fips140/ecdsa/ecdsa.go:228 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1792] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 794624] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x1314065 0x1314012 0x1314144 0x131414b 0x1b29e87 0x25121db 0x2510c0d 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1314064 bufio.NewReaderSize+0xa4 bufio/bufio.go:57 # 0x1314011 bufio.NewReader+0x51 bufio/bufio.go:63 # 0x1314143 image.asReader+0x183 image/format.go:55 # 0x131414a image.DecodeConfig+0x18a image/format.go:102 # 0x1b29e86 github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeConfig+0x26 github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:106 # 0x25121da github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x25a github.com/mattermost/mattermost/server/v8/channels/app/file.go:899 # 0x2510c0c github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x68c github.com/mattermost/mattermost/server/v8/channels/app/file.go:818 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0d309 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19393f1 0x19393d2 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19393f0 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2b0 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19393d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x291 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1492 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1a0c1f0 0x1a0c0e7 0x1a0c0ce 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0c1ef github.com/lann/builder.Append+0x36f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0c0e6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x266 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0c0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:744 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a284ef 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a284ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1365 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a08035 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08034 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x18df4a5 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2168 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c0ae5 0x226da88 0x22700ac 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c0ae4 regexp.(*Regexp).FindSubmatch+0x84 regexp/regexp.go:865 # 0x226da87 github.com/getsentry/sentry-go.(*Span).updateFromSentryTrace+0x27 github.com/getsentry/sentry-go@v0.46.2/tracing.go:523 # 0x22700ab github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0xeb github.com/getsentry/sentry-go@v0.46.2/tracing.go:1097 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 19456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19caafc 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19caafb 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x196a1c5 0x196a19d 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196a1c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1a4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196a19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:922 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x428505 0x1854ca8 0x185a19f 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1854ca7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.isRepeatableError+0x27 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:616 # 0x185a19e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x7e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1930 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x428505 0x78b385 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x78b384 net/http.(*Transport).roundTrip+0x944 net/http/transport.go:682 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 2433024] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x54295f 0x13088c8 0x13088af 0x246d213 0x246bffe 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x13088c7 strings.SplitN+0x67 strings/strings.go:333 # 0x13088ae github.com/blang/semver/v4.Parse+0x4e github.com/blang/semver/v4@v4.0.0/semver.go:277 # 0x246d212 github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).getLiveStatus+0x292 github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:122 # 0x246bffd github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0xdd github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:65 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x76af11 0x796a34 0x498001 # 0x76af10 net/http.(*Request).write+0x590 net/http/request.go:673 # 0x796a33 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2655 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x475708 0x1261e3b 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e3a github.com/lib/pq.(*Config).fromDSN+0x75a github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x52d66a 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x8faba6 0xc9d1f5 0xc9d178 0x249b4f0 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x52d669 fmt.errorf+0xc9 fmt/errors.go:42 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d1f4 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x154 github.com/mattermost/mattermost/server/public/model/utils.go:294 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x249b4ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a08309 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 80] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x54295f 0x8fc252 0x8fc1de 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc251 strings.Split+0x151 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x797825 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x797824 net/http.(*persistConn).roundTrip+0x684 net/http/transport.go:2884 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x493087 0x1844505 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 720] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x197268b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197268a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x14a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1689 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x299ba09 0x299b525 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b524 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [11: 176] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x428505 0x76be50 0x1395ce8 0x1395cbd 0x2631589 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x76be4f net/http.NewRequestWithContext+0x26f net/http/request.go:912 # 0x1395ce7 net/http.NewRequest+0x87 net/http/request.go:863 # 0x1395cbc github.com/mattermost/mattermost/server/v8/channels/utils.GetURLWithCache+0x5c github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:135 # 0x2631588 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x828 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:344 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbef4a2 0xbef48c 0xbef5d0 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133d05 0x26259e2 0x26233d2 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133d04 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x26259e1 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1152 # 0x26233d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2d1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:918 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e552c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e552b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x2cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2763 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19a0405 0x187cd3a 0x21a2d5a 0x2639442 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19a0404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetUniqueCountForPost+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:154 # 0x187cd39 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10926 # 0x21a2d59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetUniqueCountForPost+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8694 # 0x2639441 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:48 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x19608de 0x1967da7 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x19608dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithName+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:116 # 0x1967da6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:756 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18e547a 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5479 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x219 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2763 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x25fd1fa 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x25fd1f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1186 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e5845 0x18e5752 0x18e5751 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5844 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5751 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4f1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5750 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x4f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2769 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 294912] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [80: 757760] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 18944] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x6954ee 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6954ed crypto/tls.(*weakCertCache).newCert+0x2cd crypto/tls/cache.go:33 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 320] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18e2470 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e246f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2455 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18ceeba 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ceeb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x259 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ed7 0x71ed28 0x75b61c 0x75afff 0x75aae8 0x759c12 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ed6 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:662 # 0x71ed27 net/http/internal/httpcommon.CanonicalHeader+0x87 net/http/internal/httpcommon/httpcommon.go:163 # 0x75b61b net/http.(*http2clientConnReadLoop).handleResponse+0x43b net/http/h2_bundle.go:9698 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e1185 0x19e10db 0x19e10da 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1184 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e10da github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x53a github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19e10d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:57 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x296b205 0x296b231 0x5dfda5 0x5da4f7 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296b204 crypto/internal/fips140/bigmod.NewNat+0x44 crypto/internal/fips140/bigmod/nat.go:73 # 0x296b230 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:552 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5da4f6 crypto/rsa.VerifyPSS+0x176 crypto/rsa/fips.go:157 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 800] @ 0x48dd2c 0x4752f7 0x5305e6 0x183e486 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183e485 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb73145 0xb7231f 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb73144 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xb7231e net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [1: 256] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 21760] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2521d16 0x251919b 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2521d15 github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessibleFile+0x55 github.com/mattermost/mattermost/server/v8/channels/app/file_helper.go:116 # 0x251919a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x5a github.com/mattermost/mattermost/server/v8/channels/app/file.go:1307 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x26252ed 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26252ec github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x2c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1090 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 7168] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a0373c 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 55296] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x196a446 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x196a445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:929 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18df519 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x4d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2186 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x184be65 0x18e5639 0x18e560a 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184be64 github.com/mattermost/squirrel.UpdateBuilder.Table+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:222 # 0x18e5638 github.com/mattermost/squirrel.StatementBuilderType.Update+0x3d8 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x18e5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2767 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27d8a65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d8a64 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 606208] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18e9d5d 0x18e9d3e 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e9d5c github.com/mattermost/squirrel.SelectBuilder.Join+0x1fc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e9d3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3065 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0x1cd08ca 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x1cd08c9 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:83 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 212992] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 1769472] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19227ca 0x186815b 0x218b3f7 0x2118fc8 0x258127d 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19227c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:369 # 0x186815a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5499 # 0x218b3f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4505 # 0x2118fc7 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 # 0x258127c 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 [3: 3293184] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 655360] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x428505 0x4edac8 0x4ed72c 0x4e9fc5 0x4ea0bd 0x4ea0bd 0x17daaaf 0x17da9eb 0x250a5e9 0x250a546 0x250a547 0x2510cf7 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4edac7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x4e9fc4 os.MkdirAll+0x24 os/path.go:21 # 0x4ea0bc os.MkdirAll+0x11c os/path.go:48 # 0x4ea0bc os.MkdirAll+0x11c os/path.go:48 # 0x17daaae github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x6e github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:156 # 0x17da9ea github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x250a5e8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:257 # 0x250a545 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:265 # 0x250a546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:253 # 0x2510cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x776 github.com/mattermost/mattermost/server/v8/channels/app/file.go:824 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 925696] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1939329 0x193930e 0x193930d 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1939328 github.com/mattermost/squirrel.newPart+0x1e8 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x193930d github.com/mattermost/squirrel.SelectBuilder.From+0x1cd github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x193930c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1491 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 320] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1040] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e5e05 0x18e5cfe 0x18e5e19 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5e04 github.com/lann/builder.Append+0xba4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5cfd github.com/mattermost/squirrel.UpdateBuilder.Set+0xa9d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5e18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xbb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2773 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x66145e 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x66145d crypto/x509.newPolicyGraphNode+0xb3d crypto/x509/verify.go:1054 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 4864] @ 0x48dd0c 0x428505 0x70a371 0x70d226 0x70cb05 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x4ce38e 0x1179d77 0x1179d54 0x25acee5 0x25aca2f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a370 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1179d76 io.ReadFull+0x76 io/io.go:354 # 0x1179d53 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.54.0/html/charset/charset.go:110 # 0x25acee4 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:82 # 0x25aca2e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xce github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:56 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x69e91d 0x6a0533 0x69e86d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b64fb 0x6b40f6 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x69e91c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:786 # 0x6a0532 crypto/tls.(*Conn).retryReadRecord+0x72 crypto/tls/conn.go:800 # 0x69e86c crypto/tls.(*Conn).readRecordOrCCS+0x12ec crypto/tls/conn.go:759 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b64fa crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x5a crypto/tls/handshake_client_tls13.go:525 # 0x6b40f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x755 crypto/tls/handshake_client_tls13.go:133 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x428505 0x191fef0 0x191fe00 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191feef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.fileInfoWithChannelID.ToModel+0x5ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:48 # 0x191fdff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x4ff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:167 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184c99b 0x184c893 0x1a0c669 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0c668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:747 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a25c8d 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25c8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18ced65 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ced64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:984 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x28a51f1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28a51f0 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x670 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:598 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x69e91d 0x6a0533 0x69e86d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b64fb 0x6b40f6 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x69e91c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:786 # 0x6a0532 crypto/tls.(*Conn).retryReadRecord+0x72 crypto/tls/conn.go:800 # 0x69e86c crypto/tls.(*Conn).readRecordOrCCS+0x12ec crypto/tls/conn.go:759 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b64fa crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x5a crypto/tls/handshake_client_tls13.go:525 # 0x6b40f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x755 crypto/tls/handshake_client_tls13.go:133 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1974b69 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1974b68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1836 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0xca121d 0xca1bfc 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c474a 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca121c github.com/mattermost/mattermost/server/public/model.(*WebsocketBroadcast).copy+0x3c github.com/mattermost/mattermost/server/public/model/websocket_message.go:174 # 0xca1bfb github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x5b github.com/mattermost/mattermost/server/public/model/websocket_message.go:317 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c4749 github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x329 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:141 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x191fb94 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fb93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x293 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28a9846 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28a9845 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x1ba5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 14592] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281ed65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281ed64 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:371 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a3ef4 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a3ef3 github.com/jmoiron/sqlx.(*Row).scanAny+0x873 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [65: 615680] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f71a5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2688] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x597973 0x5dfd9b 0x5da4f7 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x597972 math/big.(*Int).Bytes+0x32 math/big/int.go:531 # 0x5dfd9a crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:666 # 0x5da4f6 crypto/rsa.VerifyPSS+0x176 crypto/rsa/fips.go:157 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x726e14 0x726e15 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x726e13 context.WithDeadline+0x133 context/context.go:626 # 0x726e14 net/http.setRequestCancel+0x134 net/http/client.go:378 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0x52d66a 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x258bc0a 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x52d669 fmt.errorf+0xc9 fmt/errors.go:42 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x258bc09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xc09 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:80 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x1841749 0x1841335 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1841748 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x208 github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3260416] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19eb3b9 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19eb3b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0xb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:94 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x2625354 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2625353 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 90112] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5af7 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5af6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x136 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:141 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a0aa2e 0x1a0a9d0 0x1a0a9ce 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0aa2d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xad github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0a9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:686 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19683c8 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x19683c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x7e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:789 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a11c 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:919 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x1846885 0x1a0d0b6 0x1a0d0a4 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x41d554 0x7977c8 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x7977c7 net/http.(*persistConn).roundTrip+0x627 net/http/transport.go:2881 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5704f3 0xccbe25 0xccbdf9 0x21ff4e7 0x21ff450 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0xccbe24 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0xccbdf8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x21ff4e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0xbc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x21ff44f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xb2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:988 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 3072] @ 0x48dd2c 0x492ae9 0x1b24b0a 0x1b2864e 0x498001 # 0x1b24b09 github.com/boxes-ltd/imaging.resizeVertical.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:149 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [2: 3194880] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x76be3c 0x2596666 0x2596632 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76be3b net/http.NewRequestWithContext+0x25b net/http/request.go:919 # 0x2596665 net/http.NewRequest+0x385 net/http/request.go:863 # 0x2596631 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x351 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:565 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x4e87af 0x4e8afd 0x4e64de 0x17d9f45 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27daed9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e87ae os.newFile+0x4e os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17d9f44 os.Open+0x64 os/file.go:390 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27daed8 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x7d8 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:816 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19396d1 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19396d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1499 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 950272] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 3276800] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a07f65 0x1a07f43 0x1a07f28 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07f64 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a07f42 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a07f27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:555 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a086a5 0x1a0861f 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a086a4 github.com/mattermost/squirrel.CaseBuilder.Else+0x7e4 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1a0861e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x75e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xb7b549 0xb7b54a 0x498001 # 0xb7b548 bufio.(*Scanner).Text+0x168 bufio/scan.go:115 # 0xb7b549 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x169 github.com/hashicorp/go-plugin@v1.8.0/client.go:804 0: 0 [2: 32768] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x196e2b0 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e2af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a07f65 0x1a07f43 0x1a07f28 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07f64 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a07f42 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a07f27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:555 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1a0734f 0x1a072af 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0734e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x32e github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a072ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1792] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x918b99 0x9198a5 0x919896 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x918b98 golang.org/x/net/html.NewTokenizerFragment+0x38 golang.org/x/net@v0.54.0/html/token.go:1277 # 0x9198a4 golang.org/x/net/html.NewTokenizer+0x44 golang.org/x/net@v0.54.0/html/token.go:1263 # 0x919895 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x35 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:67 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a3947 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a3946 github.com/jmoiron/sqlx.(*Row).scanAny+0x2c6 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 90112] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c8ca 0x296c84a 0x296c851 0x296ec65 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296c8c9 crypto/internal/fips140/bigmod.(*Nat).expand+0xe9 crypto/internal/fips140/bigmod/nat.go:82 # 0x296c849 crypto/internal/fips140/bigmod.(*Nat).ExpandFor+0x69 crypto/internal/fips140/bigmod/nat.go:678 # 0x296c850 crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x70 crypto/internal/fips140/bigmod/nat.go:767 # 0x296ec64 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x364 crypto/internal/fips140/bigmod/nat.go:1057 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28a9846 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28a9845 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x1ba5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1a05c85 0x1a05ac3 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a05c84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*JoinedThread).toThreadResponse+0x18c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:44 # 0x1a05ac2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1702 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:393 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 960] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x184810c 0x1848190 0x18e556e 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184810b github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0xab github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e556d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x30d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2765 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x198404d 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x198404c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x66c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3101 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a08309 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1cd098d 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x1cd098c github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 480] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x196fadc 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fadb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x45b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18e33d4 0x18e3321 0x18599a7 0x217ab2d 0x21152c6 0x2581397 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18e33d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e3320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2530 # 0x18599a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1821 # 0x217ab2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1587 # 0x21152c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:332 # 0x2581396 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] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 960] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb906ae 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb906ad github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x38d github.com/mattermost/mattermost/server/public/shared/markdown/list.go:214 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x471429 0xc62ab6 0xc62912 0x260225f 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc62ab5 github.com/mattermost/mattermost/server/public/model.(*PostList).UniqueOrder+0x4f5 github.com/mattermost/mattermost/server/public/model/post_list.go:150 # 0xc62911 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0x351 github.com/mattermost/mattermost/server/public/model/post_list.go:166 # 0x260225e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5fe github.com/mattermost/mattermost/server/v8/channels/app/post.go:1858 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x1903615 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903614 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x994 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:436 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x2520562 0x27d8e25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x2520561 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0x221 github.com/mattermost/mattermost/server/v8/channels/app/file.go:2011 # 0x27d8e24 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x524 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:670 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a0cff2 0x1a0cf98 0x1a0cf8e 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0cff1 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xd1 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0cf97 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0cf8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:790 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a0d10e 0x1a0d0b7 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0d10d github.com/mattermost/squirrel.SelectBuilder.From+0x1ed github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979dfb 0x297985d 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x297985c crypto/internal/fips140/ecdsa.newDRBG[...]+0x33c crypto/internal/fips140/ecdsa/hmacdrbg.go:89 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48d7c5 0x126a7fe 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7fd github.com/lib/pq.binaryDecode+0x5d github.com/lib/pq@v1.12.3/encode.go:68 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a07505 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x1a07504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:504 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x272fd0f 0x27caa2e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272fd0e github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x4e github.com/mattermost/mattermost/server/v8/channels/web/web.go:129 # 0x27caa2d github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x16d github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:126 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x1a08429 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x568 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:571 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 864] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0xb89ebc 0xb8d1fc 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0xb89ebb github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x17b github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:163 # 0xb8d1fb github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x428505 0xb9119a 0xb88545 0xb9074f 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91199 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:68 # 0xb88544 github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x84 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:150 # 0xb9074e github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x42e github.com/mattermost/mattermost/server/public/shared/markdown/list.go:215 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x1287379 0x12ebcf2 0x25e903c 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x246b565 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1287378 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x198 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:492 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25e903b github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x91b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x246b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x44 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:55 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x28adf3d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x28adf3c github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1368 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x18e9d17 0x18e9c93 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e9d16 github.com/mattermost/squirrel.SelectBuilder.From+0x1b6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e9c92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3064 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4752f7 0xc56fed 0x25f9e97 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc56fec github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x6c github.com/mattermost/mattermost/server/public/model/post.go:395 # 0x25f9e96 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1010 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1954591 0x1954fae 0x1872c4e 0x21974cb 0x21c9d23 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1954590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.CompareAndSet+0x10b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:99 # 0x1954fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.SetWithOptions+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:197 # 0x1872c4d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).SetWithOptions+0xed github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8298 # 0x21974ca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).SetWithOptions+0xea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6648 # 0x21c9d22 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:97 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x18e8852 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x18e8851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x991 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2987 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19caafc 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19caafb 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd2c 0x4930f3 0x292fb85 0x299b987 0x6dfb65 0x6dfb3a 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x299b986 crypto/internal/fips140/tls13.deriveSecret[...]+0xa6 crypto/internal/fips140/tls13/tls13.go:53 # 0x6dfb64 crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x64 crypto/internal/fips140/tls13/tls13.go:155 # 0x6dfb39 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x39 crypto/tls/key_schedule.go:48 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x296cab4 0x296c967 0x296ec65 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296c966 crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x186 crypto/internal/fips140/bigmod/nat.go:769 # 0x296ec64 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x364 crypto/internal/fips140/bigmod/nat.go:1057 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a260f2 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a260f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x111 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1189 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a2935b 0x188f476 0x21b852d 0x246ea9d 0x286adb3 0x286ad89 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a2935a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x25a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x246ea9c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getAnalytics+0xbc github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:30 # 0x286adb2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAnalytics+0x252 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:22 # 0x286ad88 github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x228 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:509 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [24: 384] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24576] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474b30 0x12610b7 0x1260ff8 0x1251ae5 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12610b6 net.JoinHostPort+0x176 net/ipsock.go:242 # 0x1260ff7 github.com/lib/pq.Config.network+0xb7 github.com/lib/pq@v1.12.3/connector.go:664 # 0x1251ae4 github.com/lib/pq.dial+0xc4 github.com/lib/pq@v1.12.3/conn.go:432 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [47: 6160384] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x493087 0x652b48 0x658e0d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x652b47 crypto/x509.parseName+0x307 crypto/x509/parser.go:177 # 0x658e0c crypto/x509.parseCertificate+0x6cc crypto/x509/parser.go:983 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x260250c 0x2823f65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x260250b github.com/mattermost/mattermost/server/v8/channels/app.(*App).DeletePost+0xcb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1866 # 0x2823f64 github.com/mattermost/mattermost/server/v8/channels/api4.deletePost+0xb04 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1974b69 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1974b68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1836 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 288] @ 0x48dd05 0x428505 0x24ee40a 0x252042e 0x27d8e25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ee409 github.com/mattermost/mattermost/server/v8/channels/app.pluginContext+0xc9 github.com/mattermost/mattermost/server/v8/channels/app/context.go:34 # 0x252042d github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0xed github.com/mattermost/mattermost/server/v8/channels/app/file.go:1985 # 0x27d8e24 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x524 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:670 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd05 0x428505 0xb57625 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb57624 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 640] @ 0x48dd05 0x428505 0x18ce8ee 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce8ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:963 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212b56a 0x249cae3 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249cae2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0x62 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x1a07269 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 320] @ 0x48dd05 0x428505 0x25d46a9 0x25d4603 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x25d46a8 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:290 # 0x25d4602 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x42 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1109 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f0f1f 0x19f0f00 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f0f1e github.com/mattermost/squirrel.SelectBuilder.Join+0x9e github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f0eff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x7f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:655 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x18b5f33 0x18573e4 0x2177f8a 0x2481eb7 0x247a52d 0x24798fc 0x28b00ae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18b5f32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:93 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x247a52c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToManageBot+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x24798fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUserOrBot+0xdb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x28b00ad github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x84d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1540 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a06952 0x1a0692e 0x1309f10 0x498001 # 0x1a06951 github.com/mattermost/squirrel.SelectBuilder.Join+0x231 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x25d4625 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x25d4624 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1109 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21f2185 0x22065e7 0x21d4da2 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21f2184 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x22065e6 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:660 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd2c 0x428505 0xb911d4 0xb87bc8 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb911d3 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0xb3 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:70 # 0xb87bc7 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x787 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x194a785 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x194a784 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 90112] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0xb89f55 0xb8d1fc 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb89f54 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x214 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:165 # 0xb8d1fb github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191fcac 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fcab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199f24e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x199f3e6 0x199f38e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199f3e5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3e5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199f38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0xb87cad 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87cac github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x86c github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63f648 0x63f5df 0x262525c 0x2623195 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f647 net/url.(*URL).ResolveReference+0x27 net/url/url.go:1113 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 507904] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 8011776] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28adc67 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28adc66 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1355 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x28adf3d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x28adf3c github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x49c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1368 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2240] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28ca089 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28ca088 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x188 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3668 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2114fef 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2114fee github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:303 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f465 0x28cb5ab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f464 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:77 # 0x28cb5aa github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3788 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1256edf 0x125be65 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125be64 github.com/lib/pq.(*conn).readExecuteResponse+0x84 github.com/lib/pq@v1.12.3/conn.go:1735 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0xca18d8 0xca18cc 0x2204df2 0x2204837 0x498001 # 0xca18d7 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x77 github.com/mattermost/mattermost/server/public/model/websocket_message.go:303 # 0xca18cb github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).WithoutBroadcastHooks+0x6b github.com/mattermost/mattermost/server/public/model/websocket_message.go:276 # 0x2204df1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x591 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:721 # 0x2204836 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:791 0: 0 [3: 240] @ 0x48dd05 0x428505 0x260a277 0x266c765 0xc7b03a 0x498001 # 0x260a276 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2796 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd25 0x428505 0x22050be 0x2204837 0x498001 # 0x22050bd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x85d github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x28a264f 0x28a25c4 0x28a25a6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28a264e net/textproto.MIMEHeader.Set+0x7ee net/textproto/header.go:22 # 0x28a25c3 net/http.Header.Set+0x763 net/http/header.go:40 # 0x28a25a5 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x745 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:346 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cdb72 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cdb71 github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x4b1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3913 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x85d61b 0x85d107 0x25d4e28 0x127f222 0x128db08 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85d106 github.com/mattermost/logr/v2.Sugar.Warnw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x25d4e27 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1152 # 0x127f221 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1099 # 0x128db07 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1070 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd2c 0x4752f7 0x695577 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x695576 crypto/tls.(*weakCertCache).newCert+0x356 crypto/tls/cache.go:33 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x299b94d 0x299b3fa 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x299b94c crypto/internal/fips140/tls13.deriveSecret[...]+0x6c crypto/internal/fips140/tls13/tls13.go:51 # 0x299b3f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19554c6 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19554c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:214 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x25956f1 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x25956f0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x170 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:491 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x1967eba 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18c9056 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18c9055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x755 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:498 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a22c25 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a22c24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x184 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:926 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e319 0x56e2dd 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e318 context.withCancel+0x58 context/context.go:278 # 0x56e2dc context.WithCancelCause+0x1c context/context.go:269 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x18e5c78 0x18e5b6e 0x18e5c8c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5c77 github.com/lann/builder.Append+0xa17 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5b6d github.com/mattermost/squirrel.UpdateBuilder.Set+0x90d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5c8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xa2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2772 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x19608de 0x197297b 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19608dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithName+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:116 # 0x197297a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x13a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1723 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 240] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61d7c 0xc61f0f 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d7b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:94 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63f648 0x63f5df 0x262525c 0x2623195 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f647 net/url.(*URL).ResolveReference+0x27 net/url/url.go:1113 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1248] @ 0x48dd05 0x428505 0x1a22e69 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1a22e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:943 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x197260f 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197260e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1688 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x184bfac 0x1a0aa75 0x1a0aa46 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1a0aa74 github.com/mattermost/squirrel.StatementBuilderType.Update+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1a0aa45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:687 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19dc7cb 0x19dc6a4 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19dc7ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErrWithResult+0x1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:558 # 0x19dc6a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0xa3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce9b0 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:966 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a2e05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a2e04 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:406 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x25efbc2 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x25efbc1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x5e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:235 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212c7ea 0x2606eb9 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212c7e9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:539 # 0x2606eb8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1f8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd2c 0x4752f7 0x500659 0x1cd096a 0x1cd096b 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x500658 encoding/base64.(*Encoding).EncodeToString+0x138 encoding/base64/base64.go:209 # 0x1cd0969 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:101 # 0x1cd096a github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x286dded 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x286ddec github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xec github.com/mattermost/mattermost/server/v8/channels/api4/system.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18cedf8 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18cedf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x197 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:982 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0397d 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0397c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:206 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x5fd785 0x61dd05 0x61b973 0x604c05 0x6058a5 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x5fd784 internal/singleflight.(*Group).DoChan+0x184 internal/singleflight/singleflight.go:81 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 240] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x5d0c39 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5d0c38 crypto/ecdsa.Sign+0x78 crypto/ecdsa/ecdsa_legacy.go:75 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 160] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 3456] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x286646a 0x286643d 0x286641f 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2866469 net/textproto.MIMEHeader.Set+0x10c9 net/textproto/header.go:22 # 0x286643c net/http.Header.Set+0x109c net/http/header.go:40 # 0x286641e github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x107e github.com/mattermost/mattermost/server/v8/channels/api4/system.go:204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125bedb 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125beda github.com/lib/pq.(*conn).readExecuteResponse+0xfa github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1955135 0x1955106 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1955134 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1955105 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 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18d1025 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1024 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1171 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28a6825 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28a6824 github.com/mattermost/mattermost/server/v8/channels/api4.getTotalUsersStats+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:723 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x24a1928 0x2498dec 0x21d4da2 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x24a1927 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PostAddToChannelMessage+0x4c7 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2817 # 0x2498deb github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddChannelMember.func2+0x4b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1980 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x113af5e 0x113a94a 0x113aa93 0x122506e 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x113af5d net/smtp.(*Client).ehlo+0x21d net/smtp/smtp.go:142 # 0x113a949 net/smtp.(*Client).hello+0x29 net/smtp/smtp.go:85 # 0x113aa92 net/smtp.(*Client).Hello+0x72 net/smtp/smtp.go:106 # 0x122506d github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x26d github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:184 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a22e55 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a22e54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x3b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:942 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x2498912 0x2774b0a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x2498911 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddChannelMember+0xb1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:1934 # 0x2774b09 github.com/mattermost/mattermost/server/v8/channels/api4.addChannelMember+0x2609 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2480 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2882b67 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2882b66 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersByIds+0x646 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:831 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9c67 0x28ad4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2599 # 0x28ad4fb github.com/mattermost/mattermost/server/v8/channels/api4.searchUsers+0xbdb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9c67 0x28ad4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2599 # 0x28ad4fb github.com/mattermost/mattermost/server/v8/channels/api4.searchUsers+0xbdb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1893bdf 0x21bd7de 0x26b7c79 0x26b76ad 0x28ad565 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1893bde github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).SearchNotInChannel+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17409 # 0x21bd7dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).SearchNotInChannel+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13773 # 0x26b7c78 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchUsersNotInChannel+0x358 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2367 # 0x26b76ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchUsers+0x10c github.com/mattermost/mattermost/server/v8/channels/app/user.go:2318 # 0x28ad564 github.com/mattermost/mattermost/server/v8/channels/api4.searchUsers+0xc44 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1325 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1893bdf 0x21bd7de 0x26b7c79 0x26b76ad 0x28ad565 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1893bde github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).SearchNotInChannel+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17409 # 0x21bd7dd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).SearchNotInChannel+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13773 # 0x26b7c78 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchUsersNotInChannel+0x358 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2367 # 0x26b76ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchUsers+0x10c github.com/mattermost/mattermost/server/v8/channels/app/user.go:2318 # 0x28ad564 github.com/mattermost/mattermost/server/v8/channels/api4.searchUsers+0xc44 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1325 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18f6254 0x18f61f0 0x185ce75 0x217e4f9 0x249e6d6 0x276d687 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18f6253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18f61ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersByIds+0x1ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3907 # 0x185ce74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersByIds+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2562 # 0x217e4f8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersByIds+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2163 # 0x249e6d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersByIds+0x95 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2502 # 0x276d686 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersByIds+0x306 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1907 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28046fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28046fd github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x25d0188 0x25d0115 0x1279c9b 0x12b5fc2 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x25d0187 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0xa7 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x25d0114 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelsForTeamForUser+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:506 # 0x1279c9a github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelsForTeamForUser+0x9a github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:530 # 0x12b5fc1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelsForTeamForUser+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4119 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x25d0188 0x25d0115 0x1279c9b 0x12b5fc2 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x25d0187 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0xa7 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x25d0114 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelsForTeamForUser+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:506 # 0x1279c9a github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelsForTeamForUser+0x9a github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:530 # 0x12b5fc1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelsForTeamForUser+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4119 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 12288] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [3: 18432] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x25d0188 0x25d0115 0x1279c9b 0x12b5fc2 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x25d0187 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0xa7 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x25d0114 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelsForTeamForUser+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:506 # 0x1279c9a github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelsForTeamForUser+0x9a github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:530 # 0x12b5fc1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelsForTeamForUser+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4119 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 565248] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a29270 0x1a291bd 0x188f476 0x21b852d 0x246ea9d 0x286adb3 0x286ad89 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a2926f github.com/mattermost/squirrel.SelectBuilder.From+0x16f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x246ea9c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getAnalytics+0xbc github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:30 # 0x286adb2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAnalytics+0x252 github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:22 # 0x286ad88 github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x228 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:509 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18eb293 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb292 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3175 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 54528] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x19077cf 0x1907782 0x1907781 0x1861987 0x2183c64 0x24b88c4 0x2787da8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19077ce github.com/mattermost/squirrel.InsertBuilder.Into+0x162e github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1907781 github.com/mattermost/squirrel.StatementBuilderType.Insert+0x15e1 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1907780 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x15e0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:732 # 0x1861986 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3717 # 0x2183c63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3116 # 0x24b88c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:143 # 0x2787da7 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoriesForTeamForUser+0x807 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:241 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1942f73 0x1942e6b 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1942f72 github.com/mattermost/squirrel.InsertBuilder.Columns+0x312 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1942e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x191e6af 0x191e51b 0x1867292 0x218a2b6 0x21187a4 0x24f69d7 0x2621a65 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191e6ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191e51a 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 # 0x1867291 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5262 # 0x218a2b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4314 # 0x21187a3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x3c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x24f69d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x216 github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2621a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:740 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x196fba9 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fba8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x528 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1424 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 792] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cdcac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cdcab github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x5eb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3918 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd05 0x4246eb 0x8631b9 0x85ecb9 0x85e965 0x498001 # 0x8631b8 github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1b8 github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x85ecb8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x85e964 github.com/mattermost/logr/v2.(*TargetHost).start+0x104 github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [1: 19072] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18de890 0x185cb35 0x217e19d 0x249e103 0x276caa5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18de88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x22f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2113 # 0x185cb34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2520 # 0x217e19c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2131 # 0x249e102 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2476 # 0x276caa4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1848 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x48d69b 0x549f47 0x54c0aa 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x549f46 encoding/json.(*decodeState).convertNumber+0xe6 encoding/json/decode.go:846 # 0x54c0a9 encoding/json.(*decodeState).literalStore+0x20e9 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4752f7 0x257a5f9 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x257a5f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc4b8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:867 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dff65 0x19e0345 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dff64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:516 # 0x19e0344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:534 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a0d309 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2626a29 0x283130c 0x281b595 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2626a28 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x283130b github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:39 # 0x281b594 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x234 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:83 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21191b9 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21191b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:56 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 122880] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 131072] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 581632] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 6152192] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196e5d2 0x196e58a 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196e5d1 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x471 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196e589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ca905 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x19ca904 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x191e6af 0x191e51b 0x1867292 0x218a2b6 0x21187a4 0x24f69d7 0x2621a65 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191e6ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191e51a 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 # 0x1867291 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5262 # 0x218a2b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4314 # 0x21187a3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x3c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x24f69d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x216 github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2621a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:740 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 9216] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1983f34 0x1983f1f 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1983f33 github.com/mattermost/squirrel.StatementBuilderType.Select+0x553 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1983f1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x53e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3092 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1a0c345 0x1a0c247 0x1a0c22e 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1a0c344 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0c246 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3c6 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0c22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x3ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:745 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1967eba 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1920f0f 0x1920e86 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1920f0e github.com/mattermost/squirrel.SelectBuilder.From+0x18e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1920e85 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:225 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 672] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979daf 0x2979a85 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x2979a84 crypto/internal/fips140/ecdsa.newDRBG[...]+0x564 crypto/internal/fips140/ecdsa/hmacdrbg.go:111 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x557466 0x556e3d 0x5469d4 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281ed65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281ed64 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:371 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1958216 0x19581bc 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958215 github.com/mattermost/squirrel.SelectBuilder.From+0x275 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19581bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x7995f0 0x7995e4 0x799597 0x78d61f 0x795e54 0x795afc 0x498001 # 0x7995ef container/list.(*List).insertValue+0xef container/list/list.go:104 # 0x7995e3 container/list.(*List).PushFront+0xe3 container/list/list.go:146 # 0x799596 net/http.(*connLRU).add+0x96 net/http/transport.go:3252 # 0x78d61e net/http.(*Transport).tryPutIdleConn+0x63e net/http/transport.go:1150 # 0x795e53 net/http.(*persistConn).readLoop.func2+0x33 net/http/transport.go:2303 # 0x795afb net/http.(*persistConn).readLoop+0xc7b net/http/transport.go:2456 0: 0 [1: 16] @ 0x48dd05 0x493087 0x255ea05 0x2606e85 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255ea04 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0xba4 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:77 # 0x2606e84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2399 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce937 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x18ce936 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:965 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x1962925 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1962924 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1b24 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0x542c16 0x19b8447 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x19b8446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:84 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xc9711a 0xc9711b 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc97119 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9711a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 4864] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f598 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x12612af 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12612ae github.com/lib/pq.(*Config).fromEnv+0x2e github.com/lib/pq@v1.12.3/connector.go:668 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [16: 384] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd05 0x428505 0x61dc4c 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x61dc4b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd05 0x48d725 0x19f71d7 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f71d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x875b93 0xccbc56 0x260a309 0x266c765 0xc7b03a 0x498001 # 0x875b92 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x32 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0xccbc55 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x35 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x260a308 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x168 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2796 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 128] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6b6f7a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6f79 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x2b9 crypto/tls/handshake_client_tls13.go:642 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x428505 0x60e556 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60e555 net.(*Resolver).goLookupIPCNAMEOrder+0xbd5 net/dnsclient_unix.go:741 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x7bf451 0x7bef4b 0x19dbe07 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x7bf450 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:608 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x492ae9 0x298a291 0x298a7b7 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x298a290 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x298a7b6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 72] @ 0x48dd2c 0x428505 0x73a165 0x7385ff 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73a164 net/http.http2parsePingFrame+0x44 net/http/h2_bundle.go:2474 # 0x7385fe net/http.(*http2Framer).ReadFrameForHeader+0x13e net/http/h2_bundle.go:2102 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x85ec3c 0x85ec09 0x85e965 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x85ec3b github.com/mattermost/logr/v2.(*Logr).BorrowBuffer+0xbb github.com/mattermost/logr/v2@v2.0.22/logr.go:402 # 0x85ec08 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x88 github.com/mattermost/logr/v2@v2.0.22/target.go:259 # 0x85e964 github.com/mattermost/logr/v2.(*TargetHost).start+0x104 github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28247e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28247e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x5c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:852 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x428505 0x258d674 0x257f730 0x21d4da2 0x498001 # 0x258d673 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xcb3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:257 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0xc99d65 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd05 0x428505 0x134886a 0x134889a 0x1371b13 0x136f89d 0x13715f9 0x13715cc 0x136f78e 0x137d9ac 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1348869 github.com/yuin/goldmark/ast.NewTextSegment+0x89 github.com/yuin/goldmark@v1.8.2/ast/inline.go:192 # 0x1348899 github.com/yuin/goldmark/ast.MergeOrAppendTextSegment+0xb9 github.com/yuin/goldmark@v1.8.2/ast/inline.go:218 # 0x1371b12 github.com/yuin/goldmark/parser.(*parser).parseBlock+0x4d2 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1220 # 0x136f89c github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.8.2/parser/parser.go:904 # 0x13715f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1150 # 0x13715cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.8.2/parser/parser.go:1148 # 0x136f78d github.com/yuin/goldmark/parser.(*parser).Parse+0x1cd github.com/yuin/goldmark@v1.8.2/parser/parser.go:903 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0xccbe47 0x19c9b25 0x19c9b0e 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0xccbe46 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x66 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x19c9b24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x19c9b0d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19035d6 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19035d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x19e27a9 0x19e2776 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e27a8 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3c8 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:145 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x48dd2c 0x4930f3 0x561feb 0x55134f 0x54dd73 0x54db31 0x54d47e 0x28669eb 0x28669ec 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x561fea encoding/json.appendString[...]+0x7ca encoding/json/encode.go:1063 # 0x55134e encoding/json.mapEncoder.encode+0x46e encoding/json/encode.go:802 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28669ea github.com/mattermost/mattermost/server/public/model.ToJSON+0x164a github.com/mattermost/mattermost/server/public/model/utils.go:612 # 0x28669eb github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x164b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x262f955 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x262f954 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x294 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:215 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2f28 0x4a2565 0x7744cf 0x77930d 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2f27 sync.(*poolChain).pushHead+0xe7 sync/poolqueue.go:243 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x7744ce net/http.putBufioReader+0x12e net/http/server.go:870 # 0x77930c net/http.(*conn).finalFlush+0x2c net/http/server.go:1740 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x2663fac 0xbdeeb0 0x28eb6ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x2663fab github.com/mattermost/mattermost/server/v8/channels/app.(*App).OriginChecker.func1+0x6b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1254 # 0xbdeeaf github.com/gorilla/websocket.(*Upgrader).Upgrade+0x16f github.com/gorilla/websocket@v1.5.3/server.go:152 # 0x28eb6eb github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xab github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 704] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x492ae9 0x292eec6 0x293b574 0x12475f0 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x292eec5 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:66 # 0x293b573 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:115 # 0x12475ef github.com/lib/pq/scram.(*Client).saltPassword+0x12f github.com/lib/pq@v1.12.3/scram/scram.go:221 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x183b0cc 0x183b938 0x198d2ca 0x1879d84 0x219f744 0x263172a 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x183b0cb github.com/mattermost/squirrel.(*deleteData).ToSql+0x36b github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x198d2c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:51 # 0x1879d83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10149 # 0x219f743 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8102 # 0x2631729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x9c9 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [11: 176] @ 0x48dd05 0x428505 0x18476bc 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x129cbea 0x129cb9f 0x12ed392 0x21fad43 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21facb8 0x21d4da2 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129cbe9 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x129cb9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1086 # 0x12ed391 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:222 # 0x21fad42 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:427 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21facb7 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:426 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [8: 128] @ 0x48dd05 0x4246eb 0x1846fab 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19035d6 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19035d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 128] @ 0x48dd05 0x493087 0x1267dbb 0x1267d38 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1267dba strings.NewReplacer+0x19a strings/replace.go:36 # 0x1267d37 github.com/lib/pq.convertURL+0x117 github.com/lib/pq@v1.12.3/connector.go:1126 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x99d19d 0x4a2651 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x99d19c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [4: 320] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 1344] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19c9833 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c9832 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 192] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x75b485 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b484 net/http.(*http2clientConnReadLoop).handleResponse+0x2a4 net/http/h2_bundle.go:9688 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 112] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 1200] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19455e5 0x19454e0 0x19454c3 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19455e4 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19454df github.com/mattermost/squirrel.UpdateBuilder.Set+0x29f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19454c2 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x299b0d5 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x299b0d4 crypto/internal/fips140/hkdf.Expand[...]+0x214 crypto/internal/fips140/hkdf/hkdf.go:45 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1844e1d 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 416] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x4246eb 0x19e276d 0x19e2776 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e276c github.com/mattermost/squirrel.Expr+0x38c github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x19e2775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:145 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 160] @ 0x48dd05 0x4246eb 0x1847d54 0x19c9948 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1847d53 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 384] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dbe33 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dbe32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:211 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x19eaa2f 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eaa2e github.com/mattermost/squirrel.InsertBuilder.Values+0x2ce github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e33d8 0x19e32e2 0x19e32d0 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e33d7 github.com/lann/builder.Append+0x217 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e32e1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x121 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e32cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x10f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:185 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1903525 0x19034c6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903524 github.com/mattermost/squirrel.SelectBuilder.From+0x8a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19034c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x845 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a01533 0x1a014d3 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a01532 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a014d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:156 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x54da15 0x54d413 0xc9c05d 0x54eb71 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54da14 encoding/json.newEncodeState+0x74 encoding/json/encode.go:325 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x2866325 0x28662f6 0x28662d8 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2866324 net/textproto.MIMEHeader.Set+0xf84 net/textproto/header.go:22 # 0x28662f5 net/http.Header.Set+0xf55 net/http/header.go:40 # 0x28662d7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf37 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:201 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x21f9d85 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0x225c12f 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c12e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x2e github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a26151 0x1a26103 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a26150 github.com/mattermost/squirrel.SelectBuilder.Join+0x170 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a26102 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x122 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1190 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x1134a46 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128697 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128696 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x976 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28adc67 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28adc66 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1355 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x1a087be 0x1a08773 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a087bd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8fd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x192106d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x192106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0xbf00cf 0xbf00b4 0xbef46e 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf00ce github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x6e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf00b3 github.com/vmihailenco/msgpack/v5.(*Encoder).write2+0x53 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:179 # 0xbef46d github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:187 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1958496 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fc59 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fc58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x358 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x271758c 0x271755f 0x271754a 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x271758b net/textproto.MIMEHeader.Set+0xeab net/textproto/header.go:22 # 0x271755e net/http.Header.Set+0xe7e net/http/header.go:40 # 0x2717549 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xe69 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:233 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x1942fdd 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1942fdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 128] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6d0812 0x6d070c 0x5ccbc4 0x5cd01c 0x6d05c5 0x6d051c 0x6d0e38 0x6b7374 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6d0811 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b1 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6d070b crypto/tls.(*certificateVerifyMsg).marshal.func1+0xab crypto/tls/handshake_messages.go:1861 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6d05c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6d051b crypto/tls.(*certificateVerifyMsg).marshal+0x9b crypto/tls/handshake_messages.go:1857 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b7373 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x6b3 crypto/tls/handshake_client_tls13.go:676 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1b8e465 0x1b8e527 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:151 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x726e14 0x726e15 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x726e13 context.WithDeadline+0x133 context/context.go:626 # 0x726e14 net/http.setRequestCancel+0x134 net/http/client.go:378 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19e0310 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19e030f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:529 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 528] @ 0x48dd05 0x428505 0x78f5e5 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x78f5e4 net/http.(*Transport).getConn+0x224 net/http/transport.go:1531 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x7bef58 0x19dbe07 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bef57 regexp.(*Regexp).ReplaceAllStringFunc+0x57 regexp/regexp.go:580 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 64] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x428505 0x70a371 0x97de4f 0x97d576 0x1330d17 0x1330d01 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a370 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1330d16 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x1330d00 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x78b385 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x78b384 net/http.(*Transport).roundTrip+0x944 net/http/transport.go:682 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 288] @ 0x48dd05 0x428505 0x5ccf85 0x6be774 0x6be753 0x5ccbc4 0x5cd01c 0x6bae6b 0x6bacfd 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6be773 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be752 crypto/tls.(*clientHelloMsg).marshalMsg.func10+0x12 crypto/tls/handshake_messages.go:226 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bae6a vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1e2a vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bacfc crypto/tls.(*clientHelloMsg).marshalMsg+0x1cbc crypto/tls/handshake_messages.go:225 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 6912] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [2: 17645568] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 540672] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 114688] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 5054464] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a291ec 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a291eb github.com/mattermost/squirrel.StatementBuilderType.Select+0xeb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 320] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0xccbe47 0x19eb272 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0xccbe46 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x66 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x19eb271 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0xc55d87 0x281beaf 0x281beaa 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc55d86 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x5a6 github.com/mattermost/mattermost/server/public/model/post.go:182 # 0x281beae github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x78e github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x281bea9 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x789 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:136 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28a27a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a27a4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x944 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x60f545 0x60e0a7 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60f544 net.(*Resolver).goLookupIPCNAMEOrder.func3+0x104 net/dnsclient_unix.go:666 # 0x60e0a6 net.(*Resolver).goLookupIPCNAMEOrder+0x726 net/dnsclient_unix.go:679 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x707448 0x706325 0x7058ff 0x7018cf 0x702825 0x70384d 0x97eab4 0x97eaaa 0x1336933 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x707447 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x706324 compress/flate.(*huffmanBitWriter).indexTokens+0x244 compress/flate/huffman_bit_writer.go:561 # 0x7058fe compress/flate.(*huffmanBitWriter).writeBlock+0xde compress/flate/huffman_bit_writer.go:435 # 0x7018ce compress/flate.(*compressor).writeBlock+0x8e compress/flate/deflate.go:173 # 0x702824 compress/flate.(*compressor).deflate+0x5e4 compress/flate/deflate.go:411 # 0x70384c compress/flate.(*compressor).close+0x6c compress/flate/deflate.go:637 # 0x97eab3 compress/flate.(*Writer).Close+0x73 compress/flate/deflate.go:729 # 0x97eaa9 compress/zlib.(*Writer).Close+0x69 compress/zlib/writer.go:184 # 0x1336932 image/png.(*encoder).writeImage+0xd32 image/png/writer.go:543 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 3072] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 368640] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 3792896] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x26980dc 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x26980db github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x15b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1977 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6758400] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18451d5 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18451d4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x454 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 832] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x76b62f 0x796a34 0x498001 # 0x76b62e net/http.(*Request).write+0xcae net/http/request.go:696 # 0x796a33 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2655 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a087be 0x1a08773 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a087bd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8fd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 416] @ 0x48dd2c 0x492ae9 0x2938cc6 0x293b5d2 0x29798dc 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2938cc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:134 # 0x293b5d1 crypto/internal/fips140/hmac.(*HMAC).Reset+0x151 crypto/internal/fips140/hmac/hmac.go:122 # 0x29798db crypto/internal/fips140/ecdsa.newDRBG[...]+0x3bb crypto/internal/fips140/ecdsa/hmacdrbg.go:93 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1963677 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1963676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:315 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2932736] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 2688] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 122880] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2564096] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x54d4e5 0x1cd0905 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x1cd0904 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x64 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:88 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x196a1c5 0x196a19d 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196a1c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1a4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196a19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:922 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 2359296] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a078b6 0x1a0783d 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a078b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x455 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0783c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:519 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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 [16: 256] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0373c 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2473088 0x257a785 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2473087 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MakeAuditRecord+0x2e7 github.com/mattermost/mattermost/server/v8/channels/app/audit.go:117 # 0x257a784 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc644 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:871 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80b825 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [5: 2080] @ 0x48dd05 0x428505 0x25941a5 0x2594edf 0x498001 # 0x25941a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x104 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:339 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e8734 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e8733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x873 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2978 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd2c 0x492ae9 0x296ae8e 0x296ae7b 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296ae8d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x296ae7a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:482 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd2c 0x475974 0x475486 0x299b06c 0x299be65 0x299ba09 0x299b3fa 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299b06b crypto/internal/fips140/hkdf.Expand[...]+0x1ab crypto/internal/fips140/hkdf/hkdf.go:43 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b3f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19de9dc 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19de9db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18d256e 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d256d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb0d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1260 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 4608] @ 0x48dd0c 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x62e365 0x627a10 0x62717b 0x61c3d8 0x62f787 0x607d4b 0x607688 0x606e19 0x605b65 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x62e364 net.sockaddrToUDP+0x104 net/udpsock_posix.go:18 # 0x627a0f net.(*netFD).dial+0x78f net/sock_posix.go:143 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x607d4a net.(*sysDialer).dialSingle+0x26a net/dial.go:795 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0807c 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0807b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x198986f 0x198979a 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x198986e github.com/mattermost/squirrel.InsertBuilder.Columns+0x20e github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1989799 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x139 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x492ae9 0x6f2ca8 0x76e937 0x76e920 0x796331 0x79515d 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x76e936 net/textproto.(*Reader).ReadMIMEHeader+0x236 net/textproto/reader.go:508 # 0x76e91f net/http.ReadResponse+0x21f net/http/response.go:188 # 0x796330 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2518 # 0x79515c net/http.(*persistConn).readLoop+0x2dc net/http/transport.go:2345 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1024] @ 0x48dd2c 0x492ae9 0x2974928 0x29748df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2974927 crypto/internal/fips140/bigmod.NewNat+0x207 crypto/internal/fips140/bigmod/nat.go:72 # 0x29748de crypto/internal/fips140/ecdsa.randomPoint[...]+0x1be crypto/internal/fips140/ecdsa/ecdsa.go:256 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 4096] @ 0x48dd2c 0x4930f3 0x12727a5 0x127275d 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12727a4 github.com/lib/pq.(*writeBuf).int32+0xa84 github.com/lib/pq@v1.12.3/buf.go:62 # 0x127275c github.com/lib/pq.(*stmt).exec+0xa3c github.com/lib/pq@v1.12.3/stmt.go:124 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbf68c6 0xbef63f 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133d05 0x26259e2 0x26233d2 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133d04 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x26259e1 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1152 # 0x26233d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2d1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:918 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1970365 0x1970308 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1970364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1970307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1475 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1970365 0x1970308 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1970364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1970307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1475 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x6a0838 0x69d95b 0x6a1f71 0x6a1f72 0x6a1ff9 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a0837 crypto/tls.(*Conn).readFromUntil+0x97 crypto/tls/conn.go:837 # 0x69d95a crypto/tls.(*Conn).readRecordOrCCS+0x3da crypto/tls/conn.go:626 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 608] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [11: 176] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0xc9bbd8 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9bbd7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x26ff93e 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ff93d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:63 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1cbe 0x8fee48 0x8fe4c5 0x262e99d 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1cbd regexp.(*Regexp).FindStringSubmatch+0x7d regexp/regexp.go:1020 # 0x8fee47 github.com/Masterminds/semver/v3.parseConstraint+0x47 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:281 # 0x8fe4c4 github.com/Masterminds/semver/v3.NewConstraint+0x2c4 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:69 # 0x262e99c github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8fc github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a249ca 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a249c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1057 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd05 0x428505 0x18476bc 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261e55 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e54 github.com/lib/pq.(*Config).fromDSN+0x774 github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x4246eb 0x1846025 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x27264b7 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x27264b6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1896 github.com/mattermost/mattermost/server/v8/channels/web/params.go:256 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0x2716f79 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716f78 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x898 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:219 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x13387e5 0x13387a1 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x13387e4 path/filepath.Join+0x304 path/filepath/path.go:131 # 0x13387a0 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x2c0 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:67 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x475974 0x475486 0x138fa45 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x138fa44 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1a4 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x492ae9 0x4ab7b8 0x125ea28 0x125e9de 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4ab7b7 syscall.Environ+0xb7 syscall/env_unix.go:139 # 0x125ea27 os.Environ+0x67 os/env.go:140 # 0x125e9dd github.com/lib/pq.NewConfig+0x1d github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x125c732 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c731 github.com/lib/pq.parsePortalRowDescribe+0xb1 github.com/lib/pq@v1.12.3/conn.go:1791 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 5120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x197bb2f 0x197bb06 0x1872d92 0x219762b 0x21207bb 0x263102e 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x197bb2e github.com/mattermost/squirrel.StatementBuilderType.Select+0xce github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x197bb05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCount+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2444 # 0x1872d91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8319 # 0x219762a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6664 # 0x21207ba github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.AnalyticsPostCount+0x15a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:161 # 0x263102d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:327 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [10: 160] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19f80e5 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f80e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 272] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 112] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199ab8f 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ab8e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x58e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [20: 320] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x17d9e9b 0x17d9e53 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x17d9e9a path/filepath.Join+0x15a path/filepath/path.go:131 # 0x17d9e52 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7b1fb7 0x7b1f0d 0x7aef85 0x7bd4f0 0x7bd4eb 0x7be04c 0x7be040 0x1165956 0x11657a8 0x1166625 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7b1fb6 regexp/syntax.(*parser).newRegexp+0x116 regexp/syntax/parse.go:147 # 0x7b1f0c regexp/syntax.(*parser).parseClass+0x6c regexp/syntax/parse.go:1829 # 0x7aef84 regexp/syntax.parse+0xa24 regexp/syntax/parse.go:974 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1165955 github.com/JalfResi/justext.addKwTags+0x35 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/preprocess.go:32 # 0x11657a7 github.com/JalfResi/justext.preprocess+0x87 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/preprocess.go:16 # 0x1166624 github.com/JalfResi/justext.(*Reader).ReadAll+0x64 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:43 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x5da3fd 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x5da3fc crypto/rsa.VerifyPSS+0x7c crypto/rsa/fips.go:148 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x196fc7a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fc79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 28416] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x1247890 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x124788f github.com/lib/pq/scram.(*Client).clientProof+0x18f github.com/lib/pq@v1.12.3/scram/scram.go:240 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bfb78 0x6bfa75 0x5ccbc4 0x5cd01c 0x6bf9b4 0x6bf993 0x5ccbc4 0x5cd01c 0x6b924a 0x6b910f 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bfb77 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x197 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bfa74 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x94 crypto/tls/handshake_messages.go:112 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bf9b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bf992 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b9249 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x209 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b910e crypto/tls.(*clientHelloMsg).marshalMsg+0xce crypto/tls/handshake_messages.go:109 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1962925 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1962924 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1b24 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 8064] @ 0x48dd0c 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 48] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19e326e 0x19e3213 0x19e3221 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e326d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xad github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e3212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e3220 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:183 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x48dd2c 0x428505 0x4b0745 0x4b1897 0x62788f 0x62717b 0x61c3d8 0x62f787 0x62dfdf 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x4b0744 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:669 # 0x4b1896 syscall.Getpeername+0x76 syscall/syscall_unix.go:309 # 0x62788e net.(*netFD).dial+0x60e net/sock_posix.go:142 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x62dfde net.dialUDP+0x29e net/udpsock.go:304 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [27: 1296] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x493087 0x54c52a 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c529 encoding/json.(*decodeState).arrayInterface+0xa9 encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 192] @ 0x48dd05 0x428505 0x19479a5 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x19479a4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 32] @ 0x48dd25 0x48d69b 0x19e260f 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e260e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x22e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:142 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53831f 0x5378db 0x125afef 0x125af61 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53831e fmt.newScanState+0x3e fmt/scan.go:384 # 0x5378da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x125afee fmt.Sscanf+0x3ee fmt/scan.go:114 # 0x125af60 github.com/lib/pq.(*conn).processParameterStatus+0x360 github.com/lib/pq@v1.12.3/conn.go:1563 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x184c8c5 0x184c893 0x1944e77 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184c8c4 github.com/mattermost/squirrel.newWherePart+0x44 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1944e76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd2c 0x4711cd 0x654975 0x657145 0x659a65 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x654974 crypto/x509.parseExtKeyUsageExtension+0x3d4 crypto/x509/parser.go:480 # 0x657144 crypto/x509.processExtensions+0x924 crypto/x509/parser.go:788 # 0x659a64 crypto/x509.parseCertificate+0x1324 crypto/x509/parser.go:1054 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x194796f 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x194796e 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f44f8 0x21f40cb 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f44f7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x97 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:432 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1990a2c 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x5ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x428505 0x2767b68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2767b67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x9e7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1471 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a297c5 0x1a29774 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a297c4 github.com/mattermost/squirrel.SelectBuilder.PlaceholderFormat+0x6c4 github.com/mattermost/squirrel@v0.5.0/select.go:177 # 0x1a29773 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x673 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1465 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x19eac25 0x19eaba5 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eac24 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaba4 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x444 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd0c 0x428505 0x125f9a7 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125f9a6 github.com/lib/pq.newConfig+0x86 github.com/lib/pq@v1.12.3/connector.go:545 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x271b2b2 0x28ebc33 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x271b2b1 github.com/mattermost/mattermost/server/v8/channels/web.GetOriginClient+0x51 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:476 # 0x28ebc32 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5f2 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 327680] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x76c0dc 0x259578a 0x2595754 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x76c0db net/http.NewRequestWithContext+0x4fb net/http/request.go:935 # 0x2595789 net/http.NewRequest+0x209 net/http/request.go:863 # 0x2595753 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x1d3 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:492 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 64] @ 0x48dd05 0x428505 0xb5c3f1 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c3f0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1193 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 48] @ 0x48dd05 0x428505 0x184642c 0x18464b0 0x19030a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184642b github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0xab github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x19030a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x19450c8 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x19450c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatus+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:181 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x1a2987c 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x15d9da5 0x21d17ca 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665bcf 0x2665bca 0x2664d57 0xc7b03a 0x498001 # 0x15d9da4 github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0x684 github.com/mattermost/mattermost/server/v8/config/client.go:298 # 0x21d17c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x89 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:222 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665bce github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665bc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1453 # 0x2664d56 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1358 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212b56a 0x2479d5d 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x2479d5c github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x9c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18e22fb 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e22fa github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 160] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x25efaa5 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25efaa4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:227 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x19644e5 0x1964476 0x1963950 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19644e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x764 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1964475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:378 # 0x196394f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2b4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:333 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 576] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 450560] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 450560] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 288] @ 0x48dd05 0x4246eb 0x18476ab 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x7bb025 0x7baf41 0x7bbe7f 0x7bbd5a 0x7bbd5a 0x7bbd5a 0x7bbd5a 0x7bc12a 0x7bbf33 0x7bbaab 0x7bd16a 0x7bd54f 0x7be04c 0x7be040 0x1cdb0a5 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7bb024 regexp.mergeRuneSets.func2+0x784 regexp/onepass.go:185 # 0x7baf40 regexp.mergeRuneSets+0x6a0 regexp/onepass.go:198 # 0x7bbe7e regexp.makeOnePass.func1+0x2de regexp/onepass.go:336 # 0x7bbd59 regexp.makeOnePass.func1+0x1b9 regexp/onepass.go:317 # 0x7bbd59 regexp.makeOnePass.func1+0x1b9 regexp/onepass.go:317 # 0x7bbd59 regexp.makeOnePass.func1+0x1b9 regexp/onepass.go:317 # 0x7bbd59 regexp.makeOnePass.func1+0x1b9 regexp/onepass.go:317 # 0x7bc129 regexp.makeOnePass.func1+0x589 regexp/onepass.go:343 # 0x7bbf32 regexp.makeOnePass.func1+0x392 regexp/onepass.go:352 # 0x7bbaaa regexp.makeOnePass+0x3ea regexp/onepass.go:442 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1cdb0a4 github.com/microcosm-cc/bluemonday.init+0xc4 github.com/microcosm-cc/bluemonday@v1.0.27/helpers.go:55 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [1: 1048576] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x2623985 0x2623485 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x2623984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:980 # 0x2623484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x384 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:925 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1048576] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x2623985 0x2623485 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x2623984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:980 # 0x2623484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x384 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:925 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1048576] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x2623985 0x2623485 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x2623984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForPermalink+0x304 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:980 # 0x2623484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x384 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:925 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x493087 0x7aa99b 0x7aa9e0 0x7aa025 0x7a9d2d 0x7a9e0f 0x7a9d2d 0x7a9e0f 0x7a9d2d 0x7a8acb 0x7bd537 0x7be04c 0x7be040 0x1219bf9 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7aa024 regexp/syntax.(*compiler).compile+0x13c4 regexp/syntax/compile.go:101 # 0x7a9d2c regexp/syntax.(*compiler).compile+0x10cc regexp/syntax/compile.go:154 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9d2c regexp/syntax.(*compiler).compile+0x10cc regexp/syntax/compile.go:154 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9d2c regexp/syntax.(*compiler).compile+0x10cc regexp/syntax/compile.go:154 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1219bf8 github.com/advancedlogic/GoOse.init+0xf8 github.com/advancedlogic/GoOse@v0.0.0-20231203033844-ae6b36caf275/cleaner.go:105 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [1: 491520] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 466944] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28eb85d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28eb85c github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x21c github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [19: 304] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x7900d0 0x78ff6a 0x78f7d6 0x78b4bf 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x7900cf net/http.(*Transport).startDialConnForLocked+0xcf net/http/transport.go:1628 # 0x78ff69 net/http.(*Transport).queueForDial+0x329 net/http/transport.go:1601 # 0x78f7d5 net/http.(*Transport).getConn+0x415 net/http/transport.go:1548 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19cab17 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19cab16 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x2974928 0x29748df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x2974927 crypto/internal/fips140/bigmod.NewNat+0x207 crypto/internal/fips140/bigmod/nat.go:72 # 0x29748de crypto/internal/fips140/ecdsa.randomPoint[...]+0x1be crypto/internal/fips140/ecdsa/ecdsa.go:256 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0xb8cc2f 0xb8d15d 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8cc2e github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0x1ce github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:530 # 0xb8d15c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x15c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1048576] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x7bf451 0x7bef4b 0x19dbe07 0x18afcf5 0x1856392 0x2176b0b 0x270f704 0x28bdac5 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf450 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:608 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x18afcf4 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 # 0x1856391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerAuditStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:945 # 0x2176b0a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerAuditStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:857 # 0x270f703 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAudit+0x1a3 github.com/mattermost/mattermost/server/v8/channels/web/context.go:89 # 0x28bdac4 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x6a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2709 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2521d16 0x251919b 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2521d15 github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessibleFile+0x55 github.com/mattermost/mattermost/server/v8/channels/app/file_helper.go:116 # 0x251919a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x5a github.com/mattermost/mattermost/server/v8/channels/app/file.go:1307 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x1a07f65 0x1a07f43 0x1a07f28 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a07f64 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a07f42 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a07f27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:555 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19e0310 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19e030f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:529 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x1a08405 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:571 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x80a34a 0x80b7b1 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x80a349 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x80b7b0 database/sql.(*Tx).QueryContext+0x50 database/sql/sql.go:2530 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de990 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de98f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:419 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x493087 0x6ce89e 0x6ce728 0x6a26fa 0x6a222f 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6ce89d crypto/tls.unmarshalCertificate+0xfd crypto/tls/handshake_messages.go:1551 # 0x6ce727 crypto/tls.(*certificateMsgTLS13).unmarshal+0x127 crypto/tls/handshake_messages.go:1528 # 0x6a26f9 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x339 crypto/tls/conn.go:1181 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 672] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 384] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x492ae9 0x54295f 0x65f70d 0x65f713 0x660128 0x660105 0x65de6b 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x65f70c strings.Split+0x6c strings/strings.go:361 # 0x65f712 crypto/x509.validHostname+0x72 crypto/x509/verify.go:827 # 0x660127 crypto/x509.validHostnamePattern+0x2e7 crypto/x509/verify.go:808 # 0x660104 crypto/x509.(*Certificate).VerifyHostname+0x2c4 crypto/x509/verify.go:964 # 0x65de6a crypto/x509.(*Certificate).Verify+0x1ea crypto/x509/verify.go:590 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x2588eb5 0x2588e95 0x25835cc 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x2588eb4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatusFromCache+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/status.go:58 # 0x2588e94 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0x94 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1560 # 0x25835cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x92b github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1083 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x139d5c5 0x139e151 0x139f6b0 0x13a04c5 0x19dbf4f 0x19dbf28 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139d5c4 github.com/jmoiron/sqlx.bindMapArgs+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:198 # 0x139e150 github.com/jmoiron/sqlx.bindMap+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:310 # 0x139f6af github.com/jmoiron/sqlx.bindNamedMapper+0x1af github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x283909e 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x283909d github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x3dd github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:461 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x492ae9 0x54295f 0x8fc228 0x8fc1de 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc227 strings.Split+0x127 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 262144] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x196de6b 0x196dd3f 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1ccac30 0x1cca8ce 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccac2f github.com/gorilla/mux.extractVars+0x4cf github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0x1cca8cd github.com/gorilla/mux.routeRegexpGroup.setMatch+0x16d github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x71dcfc 0x71b6a5 0x71b11d 0x71a9fe 0x75975c 0x757630 0x71f726 0x71fe2e 0x71f4f2 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x71dcfb vendor/golang.org/x/net/http2/hpack.AppendHuffmanString+0xbb vendor/golang.org/x/net/http2/hpack/huffman.go:186 # 0x71b6a4 vendor/golang.org/x/net/http2/hpack.appendHpackString+0x284 vendor/golang.org/x/net/http2/hpack/encode.go:223 # 0x71b11c vendor/golang.org/x/net/http2/hpack.appendNewName+0x9c vendor/golang.org/x/net/http2/hpack/encode.go:163 # 0x71a9fd vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x2fd vendor/golang.org/x/net/http2/hpack/encode.go:72 # 0x75975b net/http.(*http2ClientConn).writeHeader+0x13b net/http/h2_bundle.go:9359 # 0x75762f net/http.(*http2clientStream).encodeAndWriteHeaders.func1+0x2f net/http/h2_bundle.go:8900 # 0x71f725 net/http/internal/httpcommon.EncodeHeaders.func3+0x65 net/http/internal/httpcommon/httpcommon.go:405 # 0x71fe2d net/http/internal/httpcommon.EncodeHeaders.func1+0x62d net/http/internal/httpcommon/httpcommon.go:364 # 0x71f4f1 net/http/internal/httpcommon.EncodeHeaders+0x6f1 net/http/internal/httpcommon/httpcommon.go:397 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [61: 4880] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x492ae9 0x292eec6 0x293b5d2 0x12475f0 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x292eec5 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:66 # 0x293b5d1 crypto/internal/fips140/hmac.(*HMAC).Reset+0x151 crypto/internal/fips140/hmac/hmac.go:122 # 0x12475ef github.com/lib/pq/scram.(*Client).saltPassword+0x12f github.com/lib/pq@v1.12.3/scram/scram.go:221 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 240] @ 0x48dd05 0x4246eb 0x18476ab 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 224] @ 0x48dd05 0x48d725 0x18409f9 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x428505 0x1846b3c 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6d0812 0x6d070c 0x5ccbc4 0x5cd01c 0x6d05c5 0x6d051c 0x6d0e38 0x6b7374 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6d0811 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b1 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6d070b crypto/tls.(*certificateVerifyMsg).marshal.func1+0xab crypto/tls/handshake_messages.go:1861 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6d05c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6d051b crypto/tls.(*certificateVerifyMsg).marshal+0x9b crypto/tls/handshake_messages.go:1857 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b7373 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x6b3 crypto/tls/handshake_client_tls13.go:676 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [23: 368] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x194796f 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x194796e 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x1b8e506 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:147 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e2376 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 480] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1cbe 0x9026b7 0x902626 0x262e745 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1cbd regexp.(*Regexp).FindStringSubmatch+0x7d regexp/regexp.go:1020 # 0x9026b6 github.com/Masterminds/semver/v3.coerceNewVersion+0x36 github.com/Masterminds/semver/v3@v3.5.0/version.go:253 # 0x902625 github.com/Masterminds/semver/v3.NewVersion+0x3e5 github.com/Masterminds/semver/v3@v3.5.0/version.go:181 # 0x262e744 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:79 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a2ba9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a2ba8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:373 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 304] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 1584] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x493087 0x19ec56b 0x19ec836 0x19f76dd 0x19f74cb 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec56a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x7aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:156 # 0x19ec835 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:184 # 0x19f76dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x5bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:204 # 0x19f74ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1143 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 480] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [44: 2816] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 192] @ 0x48dd05 0x428505 0x12507e5 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x12507e4 bufio.NewReaderSize+0x8a4 bufio/bufio.go:56 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 312] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299b2b5 0x299bfa6 0x299d075 0x6b5f85 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299d074 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x6b5f84 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x104 crypto/tls/handshake_client_tls13.go:487 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 224] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x492ae9 0xc9f798 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc9f797 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [24: 576] @ 0x48dd05 0x48d7c5 0x19c9917 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c9916 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 56] @ 0x48dd05 0x492ae9 0x411bad 0x415da5 0xb5c38f 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c38e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1189 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [25: 400] @ 0x48dd05 0x493087 0x19ec2b0 0x19ec836 0x19f76dd 0x19f74cb 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec2af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x4ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:138 # 0x19ec835 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:184 # 0x19f76dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x5bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:204 # 0x19f74ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1143 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 480] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x41d554 0x4bf371 0x21fb625 0x21fadd7 0x4a3a6a 0x498001 # 0x4bf370 time.NewTicker+0x30 time/tick.go:43 # 0x21fb624 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:517 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [46: 3680] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 288] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x19e29d1 0x19e29b1 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e29d0 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5f0 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e29b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:147 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [26: 624] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97bee 0xc99d65 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 188416] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 811008] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1440] @ 0x48dd05 0x428505 0x1a0837f 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0837e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:569 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x193930c 0x19392dd 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x193930b github.com/mattermost/squirrel.StatementBuilderType.Select+0x1cb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19392dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1490 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x1846b3c 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19de5e5 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19de5e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:406 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x183a5dd 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x183a5dc github.com/mattermost/squirrel.(*caseData).ToSql+0x5c github.com/mattermost/squirrel@v0.5.0/case.go:72 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd05 0x493087 0x255fba6 0x255f4e5 0x25880d1 0xb8e16a 0xb8ea42 0xb8e0e5 0xb8e37b 0xb8df85 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255fba5 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x255f4e4 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x604 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x25880d0 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1424 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8ea41 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x161 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:96 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4121bf 0x48e488 0x21d2565 0x21d2557 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0x21d2564 maps.Clone[...]+0xa4 maps/maps.go:55 # 0x21d2556 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x96 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:342 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x25efbc2 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x25efbc1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x5e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:235 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [16: 384] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x428505 0x805c46 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x805c45 database/sql.(*DB).conn+0x985 database/sql/sql.go:1440 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x190381e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190381d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd2c 0x492ae9 0x500607 0x1cd096a 0x1cd096b 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x500606 encoding/base64.(*Encoding).EncodeToString+0xe6 encoding/base64/base64.go:207 # 0x1cd0969 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xc9 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:101 # 0x1cd096a github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xca github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 8] @ 0x48dd05 0x492ae9 0x19c9b8a 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c9b89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:117 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0c55d 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x6dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:749 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd2c 0x4930f3 0x6bebae 0x6bea6f 0x6bea74 0x5ccbc4 0x5cd01c 0x6be9f4 0x6be9d3 0x5ccbc4 0x5cd01c 0x6babde 0x6baa70 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bebad vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x18d vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bea6e vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x4e vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6bea73 crypto/tls.(*clientHelloMsg).marshalMsg.func9.1+0x53 crypto/tls/handshake_messages.go:213 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6be9f3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be9d2 crypto/tls.(*clientHelloMsg).marshalMsg.func9+0x12 crypto/tls/handshake_messages.go:211 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6babdd vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b9d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baa6f crypto/tls.(*clientHelloMsg).marshalMsg+0x1a2f crypto/tls/handshake_messages.go:210 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 270336] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [34: 1632] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x6bce85 0x6bce51 0x6bcd61 0x5ccbc4 0x5cd01c 0x6bc676 0x6bc506 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bce84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bce50 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x110 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bcd60 crypto/tls.(*clientHelloMsg).marshalMsg.func18.1+0x20 crypto/tls/handshake_messages.go:353 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc675 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x255 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6bc505 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xe5 crypto/tls/handshake_messages.go:351 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 24] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a1e165 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:572 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3456] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x125c732 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c731 github.com/lib/pq.parsePortalRowDescribe+0xb1 github.com/lib/pq@v1.12.3/conn.go:1791 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x12683ff 0x126833f 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x12683fe github.com/lib/pq.convertURL.func1+0x7de github.com/lib/pq@v1.12.3/connector.go:1129 # 0x126833e github.com/lib/pq.convertURL+0x71e github.com/lib/pq@v1.12.3/connector.go:1147 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x428505 0x73d33c 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73d33b net/http.(*http2Framer).readMetaFrame+0x9b net/http/h2_bundle.go:3162 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 5376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x18d0f45 0x18d0f27 0x18d0f26 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d0f44 github.com/mattermost/squirrel.newPart+0x164 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x18d0f26 github.com/mattermost/squirrel.SelectBuilder.From+0x146 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18d0f25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1167 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19455e5 0x19454e0 0x19454c3 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19455e4 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19454df github.com/mattermost/squirrel.UpdateBuilder.Set+0x29f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19454c2 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [36: 864] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x184aba6 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x184aba5 github.com/mattermost/squirrel.(*updateData).ToSql+0x6e5 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x296b6a5 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296b6a4 crypto/internal/fips140/bigmod.newModulus+0x24 crypto/internal/fips140/bigmod/nat.go:571 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x672517 0x2979dfb 0x672493 0x6dfa3e 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x6dfa3d crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:40 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x184c92b 0x1a0abf1 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184c92a github.com/mattermost/squirrel.UpdateBuilder.Where+0xaa github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0abf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:689 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2824592 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2824591 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x371 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:831 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x296a2cd 0x297360c 0x297d3ff 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x297360b crypto/internal/fips140/ecdsa.bits2octets[...]+0xab crypto/internal/fips140/ecdsa/ecdsa.go:329 # 0x297d3fe crypto/internal/fips140/ecdsa.Sign[...]+0x15e crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a0d0b6 0x1a0d0a4 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x257a434 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x257a433 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc2f3 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:827 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1968317 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1968316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x736 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:786 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x19024da 0x19041aa 0x19064c5 0x1861987 0x2183c64 0x24b88c4 0x278959f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x19024d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoryT+0x179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:338 # 0x19041a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoryT+0x689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:487 # 0x19064c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:639 # 0x1861986 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3717 # 0x2183c63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3116 # 0x24b88c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:143 # 0x278959e github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x69e github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2788285 0x278820e 0x2789496 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2788284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x278820d github.com/mattermost/mattermost/server/v8/channels/api4.validateSidebarCategory+0x4d github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:260 # 0x2789495 github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x595 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80b825 0x13a6e59 0x13a55c9 0x19e00bb 0x19e0073 0x1903908 0x19024da 0x19041aa 0x19064c5 0x1861987 0x2183c64 0x24b88c4 0x278959f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a6e58 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19e00ba github.com/jmoiron/sqlx.(*Tx).SelectContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x19e0072 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:525 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x19024d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoryT+0x179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:338 # 0x19041a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoryT+0x689 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:487 # 0x19064c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:639 # 0x1861986 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3717 # 0x2183c63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3116 # 0x24b88c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:143 # 0x278959e github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x69e github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 4480] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x22067f0 0x220694e 0x2205131 0x2204837 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x22067ef 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:759 # 0x220694d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6d maps/iter.go:28 # 0x2205130 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8d0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [2: 832] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x27db1a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x27db1a4 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xaa4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:826 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847b0b 0x191fbfb 0x191fb95 0x1867d5c 0x218af68 0x21191b9 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x191fbfa github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x191fb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21191b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:56 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196a2ee 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x191f832 0x1868fc7 0x2150cf8 0x218c56d 0x25116b0 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x191f831 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 # 0x1868fc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5757 # 0x2150cf7 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 # 0x218c56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4712 # 0x25116af github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x112f github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2064384] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 368640] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 4431872] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1892352] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [4: 128] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 7340032] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a29409 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x7b724d 0x7b81bf 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x7b724c regexp.(*bitState).reset+0x4c regexp/backtrack.go:84 # 0x7b81be regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x19ec92c 0x19f76dd 0x19f74cb 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ec92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:186 # 0x19f76dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x5bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:204 # 0x19f74ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1143 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 2400] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x61dd23 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x61dd22 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:344 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 176] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x2246018 0x2249f7a 0x224c44f 0x224c0d3 0x498001 # 0x2246017 github.com/getsentry/sentry-go/internal/protocol.Dsn.GetAPIURL+0x57 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:214 # 0x2249f79 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x428505 0x1846fbc 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1024] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 416] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 256] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [82: 9184] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x12617c5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617c4 github.com/lib/pq.(*Config).fromDSN+0xe4 github.com/lib/pq@v1.12.3/connector.go:703 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x606c2c 0x605b65 0x78e8f4 0x7918e7 0x790332 0x790175 0x498001 # 0x606c2b net.(*sysDialer).dialParallel+0x10b net/dial.go:671 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e8f3 net/http.(*Transport).dial+0xb3 net/http/transport.go:1320 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 480] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 10752] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 432] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x6a1565 0x6a1cc6 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x6a1564 crypto/tls.(*Conn).writeRecordLocked+0x3a4 crypto/tls/conn.go:994 # 0x6a1cc5 crypto/tls.(*Conn).writeHandshakeRecord+0x145 crypto/tls/conn.go:1066 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [32: 1536] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 176] @ 0x48dd05 0x48d725 0x19f1e45 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1e44 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x104 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184c99b 0x184c893 0x1945747 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1945746 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28ebc76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28ebc75 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x635 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 37888] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x61bd9e 0x61aae3 0x61bb45 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x61bd9d net.(*Resolver).internetAddrList.func1+0x15d net/ipsock.go:275 # 0x61aae2 net.filterAddrList+0x182 net/ipsock.go:137 # 0x61bb44 net.(*Resolver).internetAddrList+0x684 net/ipsock.go:308 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 2560] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x1846b3c 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x1a06a53 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 528] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 81920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5fd859 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5fd858 internal/singleflight.(*Group).DoChan+0x258 internal/singleflight/singleflight.go:86 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1947949 0x19478d5 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1947948 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19478d4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x606c18 0x605b65 0x78e8f4 0x7918e7 0x790332 0x790175 0x498001 # 0x606c17 net.(*sysDialer).dialParallel+0xf7 net/dial.go:669 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e8f3 net/http.(*Transport).dial+0xb3 net/http/transport.go:1320 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 176] @ 0x48dd05 0x428505 0x7b80d6 0x7b80d7 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x7b80d5 regexp.newBitState+0xb5 regexp/backtrack.go:52 # 0x7b80d6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 48] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x266b4df 0x266b497 0x266b488 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x266b4de path/filepath.Join+0xde path/filepath/path.go:131 # 0x266b496 github.com/mattermost/mattermost/server/v8/channels/app.getProfileImagePath+0x96 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3195 # 0x266b487 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0x87 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1842 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd2c 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x48d725 0x19f1df4 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1df3 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xb3 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd05 0x4246eb 0x1846b2b 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [53: 4240] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [57: 6384] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 1680] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 864] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [80: 10240] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [37: 1776] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [79: 8848] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56e54d 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56e54c context.AfterFunc+0x2c context/context.go:326 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28725be 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28725bd github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x11d github.com/mattermost/mattermost/server/v8/channels/api4/system.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [14: 224] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [80: 8960] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 3456] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 160] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [46: 2208] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19f71ba 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f71b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 176] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd0c 0x493087 0x60e608 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60e607 net.(*Resolver).goLookupIPCNAMEOrder+0xc87 net/dnsclient_unix.go:750 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [9: 144] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1408] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 64] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1267c4a 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1267c49 github.com/lib/pq.convertURL+0x29 github.com/lib/pq@v1.12.3/connector.go:1116 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [113: 18080] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a03df0 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a03def github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x26f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d1f8d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1f8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x52c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1233 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [128: 26624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x99febb 0x99fbe2 0x9a3333 0x99ec9f 0xb83a67 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a3332 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x212 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x99ec9e github.com/hashicorp/yamux.(*Session).AcceptStream+0x7e github.com/hashicorp/yamux@v0.1.2/session.go:245 # 0xb83a66 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x26 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:142 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125be65 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125be64 github.com/lib/pq.(*conn).readExecuteResponse+0x84 github.com/lib/pq@v1.12.3/conn.go:1735 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [14: 336] @ 0x48dd05 0x428505 0x19f7425 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f7424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1137 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [114: 20064] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc9dad3 0x28a7866 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28a7865 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [72: 2304] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e23d8 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e23d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 1632] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [32: 1536] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x492ae9 0x299af25 0x299be65 0x6dfa05 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299af24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd05 0x493087 0x12636d2 0x1261eb6 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x12636d1 github.com/lib/pq.(*Config).setFromTag+0x11f1 github.com/lib/pq@v1.12.3/connector.go:853 # 0x1261eb5 github.com/lib/pq.(*Config).fromDSN+0x7d5 github.com/lib/pq@v1.12.3/connector.go:793 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [131: 20960] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [48: 1536] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x183b814 0x19199ce 0x1865ef2 0x2188c0b 0x2295bd1 0x20db11a 0x20dad8e 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x183b813 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/delete.go:143 # 0x19199cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDesktopTokensStore).DeleteOlderThan+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/desktop_tokens_store.go:113 # 0x1865ef1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDesktopTokensStore).DeleteOlderThan+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4926 # 0x2188c0a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDesktopTokensStore).DeleteOlderThan+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4058 # 0x2295bd0 github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens.MakeWorker.func2+0xd0 github.com/mattermost/mattermost/server/v8/channels/jobs/cleanup_desktop_tokens/worker.go:24 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [55: 880] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1024] @ 0x48dd05 0x492ae9 0x125c732 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125c731 github.com/lib/pq.parsePortalRowDescribe+0xb1 github.com/lib/pq@v1.12.3/conn.go:1791 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x183975a 0x183969c 0x183a82d 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x183a82c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 288] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x15dd3ff 0x15d3625 0x21d178e 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665e92 0x2665e8d 0x2664777 0xc7b03a 0x498001 # 0x15dd3fe github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0x3cde github.com/mattermost/mattermost/server/v8/config/client.go:465 # 0x15d3624 github.com/mattermost/mattermost/server/v8/config.GenerateClientConfig+0x44 github.com/mattermost/mattermost/server/v8/config/client.go:17 # 0x21d178d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:221 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665e91 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665e8c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1472 # 0x2664776 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1323 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x19eb119 0x19eaf4c 0x1886826 0x21ae2dd 0x21d5a24 0x2665e92 0x2665e8d 0x2664777 0xc7b03a 0x498001 # 0x19eb118 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x198 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:82 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x21d5a23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x883 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:84 # 0x2665e91 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665e8c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1472 # 0x2664776 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1323 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a1f705 0x1a1f03a 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1f704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:688 # 0x1a1f039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x199 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:657 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 192] @ 0x48dd05 0x4246eb 0x1846fab 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x99febb 0x99fbe2 0x9a35e6 0x9a393c 0x12f192a 0x1287a0c 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a35e5 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x9a393b github.com/hashicorp/yamux.(*Stream).Close+0x1db github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0x12f1929 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2e9 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:46 # 0x1287a0b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x28b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:488 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 208] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2882274 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2882273 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x6b3 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:781 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 1680] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 288] @ 0x48dd05 0x428505 0x2718eb6 0x27182da 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2718eb5 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27d5 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 1776] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 1824] @ 0x48dd05 0x428505 0x5704f3 0xccbe25 0xccbdf9 0x19c9b25 0x19c9b0e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0xccbe24 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0xccbdf8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x19c9b24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x19c9b0d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x139e247 0x139d825 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139e246 github.com/jmoiron/sqlx.compileNamedQuery+0x86 github.com/jmoiron/sqlx@v1.4.0/named.go:333 # 0x139d824 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x129c3b7 0x129c39f 0x12ed292 0x21f9d03 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9c89 0x21d4da2 0x498001 # 0x129c3b6 net/rpc.(*Client).Call+0xd6 net/rpc/client.go:321 # 0x129c39e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketConnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1034 # 0x12ed291 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketConnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:216 # 0x21f9d02 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9c88 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196e809 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e808 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0xbd93e5 0xbdccb7 0x21fafc5 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd93e4 github.com/gorilla/websocket.hideTempErr+0xa4 github.com/gorilla/websocket@v1.5.3/conn.go:191 # 0xbdccb6 github.com/gorilla/websocket.(*Conn).NextReader+0x176 github.com/gorilla/websocket@v1.5.3/conn.go:1011 # 0x21fafc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:464 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19e1036 0x19e0f9c 0x19e0dfe 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x19e1035 github.com/lann/builder.Append+0x495 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e0f9b github.com/mattermost/squirrel.InsertBuilder.Values+0x3fb github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x196e232 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e231 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [80: 8960] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [73: 7008] @ 0x48dd05 0x428505 0x19ec92c 0x19f76dd 0x19f74cb 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:186 # 0x19f76dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x5bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:204 # 0x19f74ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1143 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1840170 0x184063a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184016f github.com/mattermost/squirrel.Lt.toSql+0x40f github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 1872] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18cea67 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cea66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x1e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:964 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x18468ff 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [63: 1512] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18cea67 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cea66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x1e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:964 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [98: 15680] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [49: 3136] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f1e3f 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1e3e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xfe github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1a06825 0x1a06807 0x1a06806 0x1309f10 0x498001 # 0x1a06824 github.com/mattermost/squirrel.newPart+0x104 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a06806 github.com/mattermost/squirrel.SelectBuilder.From+0xe6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06805 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:454 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 240] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 288] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53831f 0x5378db 0x125afef 0x125af61 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53831e fmt.newScanState+0x3e fmt/scan.go:384 # 0x5378da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x125afee fmt.Sscanf+0x3ee fmt/scan.go:114 # 0x125af60 github.com/lib/pq.(*conn).processParameterStatus+0x360 github.com/lib/pq@v1.12.3/conn.go:1563 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 11520] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [84: 9408] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc97b89 0xc97b8a 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97b88 github.com/tinylib/msgp/msgp.ReadStringBytes+0xb08 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97b89 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb09 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0x542c16 0x19b8447 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x19b8446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:84 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0d1fd 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0d1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x2dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:802 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e1a8f 0x185c9bd 0x217e003 0x249def3 0x2601cd0 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1a8e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2373 # 0x185c9bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2499 # 0x217e002 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2115 # 0x249def2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2456 # 0x2601ccf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1818 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x262d605 0x262d5cb 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x262d604 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x564 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x262d5ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x52a github.com/mattermost/mattermost/server/v8/channels/app/preference.go:75 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x492ae9 0x597973 0x5dfd9b 0x5da4f7 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x597972 math/big.(*Int).Bytes+0x32 math/big/int.go:531 # 0x5dfd9a crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:666 # 0x5da4f6 crypto/rsa.VerifyPSS+0x176 crypto/rsa/fips.go:157 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc97212 0xc97213 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97211 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97212 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18eb1ed 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3174 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 144] @ 0x48dd05 0x428505 0x1846fbc 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 864] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [186: 53568] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [36: 1728] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 8] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f0f9b 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f0f9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x11a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:656 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x428505 0x1960325 0x19629bf 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x1960324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:83 # 0x19629be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1bbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:258 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x18de890 0x185cb35 0x217e19d 0x249e103 0x276caa5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18de88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x22f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2113 # 0x185cb34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2520 # 0x217e19c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2131 # 0x249e102 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2476 # 0x276caa4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1848 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dbe33 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dbe32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:211 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19ca9e6 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x19ca9e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x185 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 512] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x25efbc2 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x25efbc1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x5e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:235 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4752f7 0x184af7f 0x184ad99 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184af7e bytes.(*Buffer).String+0xabe bytes/buffer.go:77 # 0x184ad98 github.com/mattermost/squirrel.(*updateData).ToSql+0x8d8 github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x191a065 0x191a053 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191a064 github.com/mattermost/squirrel.StatementBuilderType.Select+0x204 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191a052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a284ef 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a284ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1365 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1974cb8 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1974cb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x6f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x25fd1fa 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x25fd1f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x59 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1186 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 5760] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc5582c 0x281beaf 0x281beaa 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5582b github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x4b github.com/mattermost/mattermost/server/public/model/post.go:168 # 0x281beae github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x78e github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x281bea9 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x789 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:136 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 1344] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 335872] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x196ab50 0x18739c2 0x2198485 0x211fa6c 0x25fe0f8 0x281f1bf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x196ab4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetEtag+0x4af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:962 # 0x18739c1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetEtag+0x21 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8512 # 0x2198484 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetEtag+0x84 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6823 # 0x211fa6b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetEtag+0x1cb github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:85 # 0x25fe0f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsEtag+0xb7 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1316 # 0x281f1be github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x63e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:399 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6dfa05 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 208] @ 0x48dd2c 0x492ae9 0x2938cc6 0x293b5d2 0x29798dc 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x2938cc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:134 # 0x293b5d1 crypto/internal/fips140/hmac.(*HMAC).Reset+0x151 crypto/internal/fips140/hmac/hmac.go:122 # 0x29798db crypto/internal/fips140/ecdsa.newDRBG[...]+0x3bb crypto/internal/fips140/ecdsa/hmacdrbg.go:93 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 224] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x428505 0x78f5e5 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x78f5e4 net/http.(*Transport).getConn+0x224 net/http/transport.go:1531 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x493087 0x1376634 0x13768bf 0x1389bf0 0x1384d7b 0x137d8c6 0x138fdc6 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1376633 github.com/yuin/goldmark/renderer.(*withNodeRenderers).SetConfig+0x53 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:40 # 0x13768be github.com/yuin/goldmark/renderer.(*renderer).AddOptions+0x3e github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:123 # 0x1389bef github.com/yuin/goldmark/extension.(*table).Extend+0x2ef github.com/yuin/goldmark@v1.8.2/extension/table.go:566 # 0x1384d7a github.com/yuin/goldmark/extension.(*gfm).Extend+0x3a github.com/yuin/goldmark@v1.8.2/extension/gfm.go:15 # 0x137d8c5 github.com/yuin/goldmark.New+0x105 github.com/yuin/goldmark@v1.8.2/markdown.go:110 # 0x138fdc5 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x105 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:68 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x18e5b65 0x18e5c8c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5b64 github.com/mattermost/squirrel.Expr+0x904 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x18e5c8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xa2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2772 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 7323648] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1962925 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1962924 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1b24 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0xca1cc8 0xca1c02 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1cc7 github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:215 # 0xca1c01 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:319 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x55a01f 0x2595bef 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x2595bee github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x66e github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 544] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 928] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 432] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 466944] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [67: 7504] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x299ba09 0x6b6085 0x6b6046 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6084 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x204 crypto/internal/fips140/tls13/tls13.go:112 # 0x6b6045 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x1c5 crypto/tls/handshake_client_tls13.go:494 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [17: 408] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 7056] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5c59 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5c58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:146 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [69: 7728] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x606bce 0x605b65 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x606bcd net.(*sysDialer).dialParallel+0xad net/dial.go:660 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [136: 23936] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [80: 8960] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [43: 1032] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x21f1a3e 0x21f1a07 0x21f3516 0x21f9d85 0x21d4da2 0x498001 # 0x21f1a3d github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x13d github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x21f1a06 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x106 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:211 # 0x21f3515 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x995 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 144] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x543e45 0x183f327 0x183f2e1 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x543e44 strings.Repeat+0x2e4 strings/strings.go:677 # 0x183f326 github.com/mattermost/squirrel.Placeholders+0xe46 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x183f2e0 github.com/mattermost/squirrel.Eq.toSQL+0xe00 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 1728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18469d0 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21f2185 0x22065e7 0x21d4da2 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21f2184 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x22065e6 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:660 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 928] @ 0x48dd05 0x428505 0x19c98bd 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c98bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x19c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:91 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 448] @ 0x48dd05 0x493087 0x1902b0b 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902b0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02d45 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1a02d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:141 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0xc6149a 0x261f86a 0x281f491 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61499 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x39 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281f490 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x910 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:418 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 672] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [90: 10080] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [67: 7504] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 10752] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x191faaf 0x191fa26 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x191faae github.com/mattermost/squirrel.SelectBuilder.From+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x191fa25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x125 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:144 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [12: 192] @ 0x48dd05 0x428505 0x1846b3c 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x1a071ef 0x1a071cb 0x1309f10 0x498001 # 0x1a071ee github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x493087 0x642625 0x658ca5 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658ca4 crypto/x509.parseCertificate+0x564 crypto/x509/parser.go:967 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x199f225 0x199f19e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199f224 github.com/mattermost/squirrel.SelectBuilder.From+0x224 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x199f19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f4c5 0x27d9393 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f4c4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x344 github.com/mattermost/mattermost/server/v8/channels/web/context.go:79 # 0x27d9392 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa92 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:694 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e39bc 0x185c527 0x217da4d 0x2113dc6 0x249efe9 0x2761eaf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e39bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2577 # 0x185c526 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2430 # 0x217da4c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2051 # 0x2113dc5 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 # 0x249efe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMemberCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2557 # 0x2761eae github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x20e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:992 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1974aef 0x1974a66 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1974aee github.com/mattermost/squirrel.SelectBuilder.From+0x52e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1974a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1835 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0xb57745 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb57744 encoding/gob.(*Decoder).decodeMap+0x2c4 encoding/gob/decode.go:603 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 393216] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551a96 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551a95 encoding/json.encodeByteSlice+0x155 encoding/json/encode.go:835 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 24320] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x276d085 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276d084 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1871 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 360] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1408] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19def9b 0x19dea8e 0x1989c65 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19def9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:457 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x1989c64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:107 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x2828685 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x2828684 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1179 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 384] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x194a4e5 0x186fe72 0x2193fcb 0x2625676 0x2623568 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194a4e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Save+0x7e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:64 # 0x186fe71 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7458 # 0x2193fca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6008 # 0x2625675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).saveLinkMetadataToDatabase+0x175 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1138 # 0x2623567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x467 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:936 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x296cab4 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [11: 176] @ 0x48dd05 0x4246eb 0x1846b2b 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x2838f49 0x2838eec 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2838f48 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x288 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x2838eeb github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x22b github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:458 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [83: 1328] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 504] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x281753a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2817539 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:273 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd05 0x48d725 0x1847d68 0x19c9948 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1847d67 github.com/mattermost/squirrel.SelectBuilder.Limit+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 224] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [60: 3840] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 1792] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 1488] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [90: 10080] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0373c 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 3584] @ 0x48dd2c 0x492ae9 0x1b24b0a 0x1b2864e 0x498001 # 0x1b24b09 github.com/boxes-ltd/imaging.resizeVertical.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:149 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 2686976] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x199ac75 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ac74 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x674 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184ce6c 0x184cd9b 0x184ce90 0x18e61d7 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x18e61d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x199808f 0x1998035 0x1998033 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x199808e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x8e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1998034 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1998032 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:76 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x493087 0x6ce89e 0x6ce728 0x6a26fa 0x6a222f 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6ce89d crypto/tls.unmarshalCertificate+0xfd crypto/tls/handshake_messages.go:1551 # 0x6ce727 crypto/tls.(*certificateMsgTLS13).unmarshal+0x127 crypto/tls/handshake_messages.go:1528 # 0x6a26f9 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x339 crypto/tls/conn.go:1181 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1536] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 144] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 3072] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x212b56a 0x249b6a5 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249b6a4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a08245 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dbe33 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dbe32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:211 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0xc84cf8 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xc84cf7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xef7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9728] @ 0x48dd2c 0x492ae9 0x1b24b0a 0x1b2864e 0x498001 # 0x1b24b09 github.com/boxes-ltd/imaging.resizeVertical.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:149 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [2: 475136] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x18468ff 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x28af96d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x28af96c github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1529 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc57f47 0xc57f2c 0x1961235 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc57f46 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0xd86 github.com/mattermost/mattermost/server/public/model/utils.go:586 # 0xc57f2b github.com/mattermost/mattermost/server/public/model.(*Post).IsValid+0xd6b github.com/mattermost/mattermost/server/public/model/post.go:565 # 0x1961234 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x434 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:174 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc977d7 0xc977d8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc977d6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x756 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc977d7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x757 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 448] @ 0x48dd05 0x428505 0x2573973 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2573972 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x5832 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:464 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [137: 24112] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 4480] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0x8b9fd4 0x8b9fd5 0x8fa385 0x8f9cda 0x8fc695 0x8faba6 0xc9d1f5 0xc9d178 0x249b4f0 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b9fd3 bytes.(*Buffer).String+0xb3 bytes/buffer.go:77 # 0x8b9fd4 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d1f4 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x154 github.com/mattermost/mattermost/server/public/model/utils.go:294 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x249b4ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184ab0e 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184ab0d github.com/mattermost/squirrel.(*updateData).ToSql+0x64d github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x281b815 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x281b814 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:98 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x195d9a8 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195d9a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xca23cb 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xca23ca github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [7: 2179072] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 1024] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27ca672 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27ca671 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x371 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:95 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 480] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x28af9ca 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x28af9c9 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1536 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a0373c 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x1cce6d6 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x1cce6d5 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xb5 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:107 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc5bb2e 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x492ae9 0x54cc65 0x54c908 0x54c900 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54c907 encoding/json.unquote+0xa7 encoding/json/decode.go:1188 # 0x54c8ff encoding/json.(*decodeState).literalInterface+0x9f encoding/json/decode.go:1144 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x25963f9 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25963f8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x118 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:556 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19cab17 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19cab16 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f251 0x28cb5ab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f250 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xd0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x28cb5aa github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3788 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 5376] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 5376] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x261b67d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1966892 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1966891 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x671 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:642 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x196e86c 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196e86b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x70b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e8130 0x18e8032 0x18e8144 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e812f github.com/lann/builder.Append+0x26f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e8031 github.com/mattermost/squirrel.UpdateBuilder.Set+0x171 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e8143 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x283 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2974 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x256fd1f 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x256fd1e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1bde github.com/mattermost/mattermost/server/v8/channels/app/notification.go:170 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x493087 0x24c64c8 0x27a5a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24c64c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x827 github.com/mattermost/mattermost/server/v8/channels/app/command.go:127 # 0x27a5a24 github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/command.go:478 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x428505 0x26fb3c8 0x24c62df 0x27a5a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26fb3c7 github.com/mattermost/mattermost/server/v8/channels/app/slashcommands.(*ShareProvider).GetCommand+0xd67 github.com/mattermost/mattermost/server/v8/channels/app/slashcommands/command_share.go:55 # 0x24c62de github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x63e github.com/mattermost/mattermost/server/v8/channels/app/command.go:122 # 0x27a5a24 github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/command.go:478 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18413d1 0x1842679 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [119: 19040] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [85: 9520] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x28af96d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x28af96c github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1529 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x18cea67 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281ed65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cea66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x1e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:964 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281ed64 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:371 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19554cb 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19554ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x48a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [6: 672] @ 0x48dd05 0x428505 0x41d554 0x12a0a77 0x12a0a5f 0x12eda54 0x2593452 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x258fe2a 0x2594292 0x2594edf 0x498001 # 0x12a0a76 net/rpc.(*Client).Call+0xd6 net/rpc/client.go:321 # 0x12a0a5e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1510 # 0x12eda53 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:274 # 0x2593451 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x258fe29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xc9 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x26c41c5 0x26c4134 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0x26c41c4 github.com/mattermost/mattermost/server/public/model.ArrayToJSON+0x164 github.com/mattermost/mattermost/server/public/model/utils.go:532 # 0x26c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x196a24f 0x196a1c6 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196a24e github.com/mattermost/squirrel.SelectBuilder.From+0x22e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196a1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:923 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [7: 7168] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 1024] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc58e13 0xc58d8e 0x261e465 0x25f9e71 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc58e12 maps.Copy[...]+0x132 maps/maps.go:64 # 0xc58d8d github.com/mattermost/mattermost/server/public/model.(*Post).DelProp+0xad github.com/mattermost/mattermost/server/public/model/post.go:678 # 0x261e464 github.com/mattermost/mattermost/server/v8/channels/app.removePermalinkMetadataFromPost+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:314 # 0x25f9e70 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x170 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1006 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x281b815 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x281b814 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:98 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196de6b 0x196dd3f 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212b56a 0x249b6a5 0x249b090 0x27d8a65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249b6a4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d8a64 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x55a8b0 0xca243b 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xca243a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xba github.com/mattermost/mattermost/server/public/model/websocket_message.go:387 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 256] @ 0x48dd05 0x428505 0x1920dee 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920ded 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:221 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 237568] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [2: 311296] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [2: 7847936] @ 0x48dd33 0x492ae9 0x1319f33 0x132bd65 0x132c45d 0x132ae7b 0x132b9f6 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d671a 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1319f32 image.NewYCbCr+0x172 image/ycbcr.go:190 # 0x132bd64 image/jpeg.(*decoder).makeImg+0x144 image/jpeg/scan.go:40 # 0x132c45c image/jpeg.(*decoder).processSOS+0x49c image/jpeg/scan.go:150 # 0x132ae7a image/jpeg.(*decoder).decode+0x1da image/jpeg/reader.go:624 # 0x132b9f5 image/jpeg.Decode+0x35 image/jpeg/reader.go:773 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d6719 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xd79 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:493 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19eb40f 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19eb40e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:94 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4224] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1844d4d 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x25772e9 0x25772a9 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25772e8 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x91a8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x25772a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x9168 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:681 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x18e2470 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e246f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2455 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [10: 3112960] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1972725 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1972724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1690 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [144: 29952] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 2240] @ 0x48dd05 0x492ae9 0x85d61b 0x85ce87 0x25d4c48 0x127ef22 0x128d348 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85ce86 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x25d4c47 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1140 # 0x127ef21 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1081 # 0x128d347 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1016 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f598 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x262f955 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x262f954 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x294 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:215 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce9b0 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:966 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1408] @ 0x48dd05 0x493087 0x1844505 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 2304] @ 0x48dd0c 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19082ca 0x1861987 0x2183c64 0x24b88c4 0x278959f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19082c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x2129 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:802 # 0x1861986 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3717 # 0x2183c63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3116 # 0x24b88c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:143 # 0x278959e github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x69e github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1a06067 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a06066 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:405 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 2064] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19c97b0 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c97af 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x261b829 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b828 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x208 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:69 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x54295f 0x13088c8 0x13088af 0x246d665 0x246bffe 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x13088c7 strings.SplitN+0x67 strings/strings.go:333 # 0x13088ae github.com/blang/semver/v4.Parse+0x4e github.com/blang/semver/v4@v4.0.0/semver.go:277 # 0x246d664 github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).getLiveStatus+0x6e4 github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:132 # 0x246bffd github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0xdd github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:65 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a02eed 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x1cc3715 0x268a68f 0x26886a5 0x268d6b2 0x25ce15e 0x1278c1e 0x12b26bd 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x1cc3714 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).JoinUserToTeam+0x234 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:183 # 0x268a68e github.com/mattermost/mattermost/server/v8/channels/app.(*App).JoinUserToTeam+0xae github.com/mattermost/mattermost/server/v8/channels/app/team.go:795 # 0x26886a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddUserToTeam+0x464 github.com/mattermost/mattermost/server/v8/channels/app/team.go:599 # 0x268d6b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddTeamMember+0x51 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1085 # 0x25ce15d github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreateTeamMember+0x3d github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:225 # 0x1278c1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreateTeamMember+0x7d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:432 # 0x12b26bc github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreateTeamMember+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3694 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1972afd 0x1972a31 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1972afc github.com/mattermost/squirrel.StatementBuilderType.Select+0x2bc github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1972a30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x1f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1732 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x299b0d5 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x299b0d4 crypto/internal/fips140/hkdf.Expand[...]+0x214 crypto/internal/fips140/hkdf/hkdf.go:45 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1949f14 0x1949ec7 0x1949ec6 0x186fe72 0x2193fcb 0x2625676 0x2623568 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1949f13 github.com/mattermost/squirrel.InsertBuilder.Into+0x213 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1949ec6 github.com/mattermost/squirrel.StatementBuilderType.Insert+0x1c6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1949ec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Save+0x1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:58 # 0x186fe71 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7458 # 0x2193fca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6008 # 0x2625675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).saveLinkMetadataToDatabase+0x175 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1138 # 0x2623567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x467 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:936 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 20480] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 8192] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb56edd 0xb58225 0xb59c93 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb56edc encoding/gob.(*Decoder).decodeArrayHelper+0x9c encoding/gob/decode.go:543 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 1536] @ 0x48dd0c 0x492ae9 0x85d61b 0x85ce87 0x25d4c48 0x127ef22 0x128d348 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85ce86 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x25d4c47 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1140 # 0x127ef21 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1081 # 0x128d347 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1016 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 4608] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x286dded 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x286ddec github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xec github.com/mattermost/mattermost/server/v8/channels/api4/system.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1152] @ 0x48dd2c 0x4930f3 0x7bf451 0x7bef4b 0x19dbe07 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf450 regexp.(*Regexp).replaceAll+0x330 regexp/regexp.go:608 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 8848] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 192] @ 0x48dd05 0x428505 0x7873ff 0x76eae5 0x796331 0x79515d 0x498001 # 0x7873fe net/http.readTransfer+0x57e net/http/transfer.go:573 # 0x76eae4 net/http.ReadResponse+0x3e4 net/http/response.go:199 # 0x796330 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2518 # 0x79515c net/http.(*persistConn).readLoop+0x2dc net/http/transport.go:2345 0: 0 [3: 196608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f84f 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f84e encoding/json.boolEncoder+0x1ee encoding/json/encode.go:550 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x27ca672 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27ca671 github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x371 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:95 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 504] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [202: 58176] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1920f0f 0x1920e86 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1920f0e github.com/mattermost/squirrel.SelectBuilder.From+0x18e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1920e85 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:225 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 114688] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [130: 22880] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [244: 78080] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x672517 0x2979daf 0x672493 0x6dfa3e 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x6dfa3d crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:40 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [20: 480] @ 0x48dd05 0x428505 0x19c9799 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c9798 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x548cb9 0x54763e 0x546e9e 0x546a79 0xc5bb2e 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x548cb8 encoding/json.(*decodeState).object+0x8d8 encoding/json/decode.go:707 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02e9d 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1a02e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x1a05585 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a05584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd25 0x48d69b 0x126af0a 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af09 github.com/lib/pq.textDecode+0x249 github.com/lib/pq@v1.12.3/encode.go:124 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1974b69 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1974b68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1836 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xc92527 0xc92473 0x26ade3d 0x26a95c5 0x26a954d 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc92526 github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xc6 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0xc92472 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:746 # 0x26ade3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1331 # 0x26a95c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x224 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26a954c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1ac github.com/mattermost/mattermost/server/v8/channels/app/user.go:868 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128697 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128696 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x976 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 5760] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1b24b0a 0x1b2864e 0x498001 # 0x1b24b09 github.com/boxes-ltd/imaging.resizeVertical.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:149 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [29: 1392] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f1def 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1dee github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xae github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 240] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc9c27d 0x54eb71 0x5529c3 0x54dd73 0x54db31 0x54d47e 0xc9c1c5 0x7fbc75 0x7fc34f 0x7fcea5 0x7fd37f 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x19647c5 0x1877471 0x21563fb 0x219c71d 0x25f88f5 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c27c github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c1c4 github.com/mattermost/mattermost/server/public/model.StringInterface.Value+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:205 # 0x7fbc74 database/sql/driver.callValuerValue+0x114 database/sql/driver/types.go:238 # 0x7fc34e database/sql/driver.defaultConverter.ConvertValue+0x6ae database/sql/driver/types.go:248 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19647c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:410 # 0x1877470 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9393 # 0x21563fa github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:88 # 0x219c71c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7526 # 0x25f88f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xdb4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:908 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [3: 1400832] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19f0c5d 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f0c5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:636 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x281d6d9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d6d8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x158 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:257 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 6144] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [418: 27394048] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [6: 2688] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 288] @ 0x48dd05 0x428505 0xc5bb05 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5bb04 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x184 github.com/mattermost/mattermost/server/public/model/post.go:981 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x4246eb 0x1846025 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 528] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2521cf0 0x251919b 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x2521cef github.com/mattermost/mattermost/server/v8/channels/app.(*App).isInaccessibleFile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file_helper.go:116 # 0x251919a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x5a github.com/mattermost/mattermost/server/v8/channels/app/file.go:1307 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 450560] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 57360384] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 6784] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 6528] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 6144] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [4: 19456] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [5: 20480] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [55: 3520] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 192] @ 0x48dd05 0x428505 0x211ff2c 0x211ff06 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x211ff2b github.com/mattermost/mattermost/server/public/model.NewPostList+0x24b github.com/mattermost/mattermost/server/public/model/post_list.go:27 # 0x211ff05 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x225 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:111 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x1313d45 0x1313cf2 0x1313e24 0x1313e2b 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1313d44 bufio.NewReaderSize+0xa4 bufio/bufio.go:57 # 0x1313cf1 bufio.NewReader+0x51 bufio/bufio.go:63 # 0x1313e23 image.asReader+0x183 image/format.go:55 # 0x1313e2a image.Decode+0x18a image/format.go:88 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 466944] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 917504] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 35651584] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 82116608] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 24576] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 5376] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61592 0x261f86a 0x281f491 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281f490 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x910 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:418 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x493087 0xb8e5e6 0xb8e56a 0xb8e4b6 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e5e5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock-range1+0x445 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:64 # 0xb8e569 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock.Backward[...].func1+0x3c9 slices/iter.go:29 # 0xb8e4b5 github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x315 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:63 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 5376] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 65536] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 81920] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 224] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [8: 65536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 24576] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 13056] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 5376] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 14592] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4864] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [13: 9984] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 6400] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 9216] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [6: 5376] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 16384] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x4ceb03 0x4ce870 0x4ce656 0x12f1905 0x1287a0c 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4ce655 io.CopyBuffer+0x35 io/io.go:402 # 0x12f1904 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2c4 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:42 # 0x1287a0b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x28b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:488 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb576a8 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb576a7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [9: 73728] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 1536] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x196a24f 0x196a1c6 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196a24e github.com/mattermost/squirrel.SelectBuilder.From+0x22e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196a1c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:923 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a03047 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03046 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc849e5 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd6aa 0x28bd66c 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xbe4 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd6a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x289 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd66b github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2673 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 13824] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184816c 0x184809b 0x1848190 0x18e62fc 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e62fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x109b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2777 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a217d6 0x1a21760 0x1891715 0x21bad96 0x26a8114 0x25cfa4a 0x127820a 0x12afe05 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a217d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a2175f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x2ff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:847 # 0x1891714 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16803 # 0x21bad95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13280 # 0x26a8113 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:694 # 0x25cfa49 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUsersInChannel+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:429 # 0x1278209 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUsersInChannel+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:355 # 0x12afe04 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUsersInChannel+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:3375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc63a9a 0xc55811 0x281b9ec 0x281b9a4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc63a99 github.com/mattermost/mattermost/server/public/model.(*PostMetadata).Auditable+0x219 github.com/mattermost/mattermost/server/public/model/post_metadata.go:66 # 0xc55810 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x30 github.com/mattermost/mattermost/server/public/model/post.go:165 # 0x281b9eb github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x2cb github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x281b9a3 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x283 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:108 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc62768 0xc62661 0x2602105 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc62767 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x1a7 github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0xc62660 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0xa0 github.com/mattermost/mattermost/server/public/model/post_list.go:159 # 0x2602104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1851 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 640] @ 0x48dd05 0x428505 0x28ec8af 0x28ec8db 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28ec8ae encoding/json.NewDecoder+0x6e encoding/json/stream.go:34 # 0x28ec8da github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0x9a github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 131072] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 262144] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 49152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbef4a2 0xbef48c 0xbee739 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2127b25 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbee738 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:64 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127b24 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x190457c 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190457b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6be1d4 0x6be1b3 0x5ccbc4 0x5cd01c 0x6bb37a 0x6bb207 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6be1d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6be1b2 crypto/tls.(*clientHelloMsg).marshalMsg.func12+0x12 crypto/tls/handshake_messages.go:258 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb379 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2339 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb206 crypto/tls.(*clientHelloMsg).marshalMsg+0x21c6 crypto/tls/handshake_messages.go:257 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a0460c 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0460b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [4: 2560] @ 0x48dd0c 0x492ae9 0x85d61b 0x85cfc7 0x25d4ce8 0x127f022 0x128d728 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85cfc6 github.com/mattermost/logr/v2.Sugar.Infow+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x25d4ce7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1144 # 0x127f021 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1087 # 0x128d727 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1043 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 5760] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 272] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2240] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 208] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 192] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x500659 0x21f8633 0x21ca16b 0x25e639c 0x25d40eb 0x127e426 0x12c682e 0x51716c 0x516019 0xb75014 0x498001 # 0x500658 encoding/base64.(*Encoding).EncodeToString+0x138 encoding/base64/base64.go:209 # 0x21f8632 github.com/mattermost/mattermost/server/v8/channels/app/platform.getKeyHash+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:14 # 0x21ca16a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetPluginKeyWithOptions+0x8ea github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:110 # 0x25e639b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetPluginKeyWithOptions+0x5b github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:45 # 0x25d40ea github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVSetWithOptions+0x6a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1073 # 0x127e425 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVSetWithOptions+0xc5 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1005 # 0x12c682d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVSetWithOptions+0xad github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 288] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [109: 17440] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 416] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x211ff18 0x211ff06 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x211ff17 github.com/mattermost/mattermost/server/public/model.NewPostList+0x237 github.com/mattermost/mattermost/server/public/model/post_list.go:32 # 0x211ff05 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x225 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:111 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x27031b8 0x2702fa4 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x27031b7 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:645 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191a2c7 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191a2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x466 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:70 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 576] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 13568] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3840] @ 0x48dd0c 0x428505 0x6ac275 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6ac274 crypto/tls.(*Conn).makeClientHello+0x1b4 crypto/tls/handshake_client.go:70 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212be0a 0x260632e 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212be09 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.FileInfo+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:523 # 0x260632d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x20d github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0404f 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a0404e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:252 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0xca2427 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca2426 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xa6 github.com/mattermost/mattermost/server/public/model/websocket_message.go:387 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a02ae5 0x1a02abe 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02ae4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02b65 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1a02b64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1841463 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19ca070 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ca06f 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd2c 0x4930f3 0x54d4e5 0xcaadae 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xcaadad github.com/mattermost/mattermost/server/public/model.SidebarCategoryType.MarshalJSON+0x2d github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:96 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184abb9 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184abb8 github.com/mattermost/squirrel.(*updateData).ToSql+0x6f8 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 2816] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x1a1ef9e 0x1a1ef35 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a1ef9d github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xfd github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a1ef34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:652 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x19f0b65 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19f0b64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:624 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19eb40f 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19eb40e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:94 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3840] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1840170 0x184063a 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184016f github.com/mattermost/squirrel.Lt.toSql+0x40f github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x805e25 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x805e24 database/sql.(*DB).addDepLocked+0xb64 database/sql/sql.go:759 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1280] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x493087 0x12683ff 0x126833f 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12683fe github.com/lib/pq.convertURL.func1+0x7de github.com/lib/pq@v1.12.3/connector.go:1129 # 0x126833e github.com/lib/pq.convertURL+0x71e github.com/lib/pq@v1.12.3/connector.go:1147 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4224] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a04a88 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04a87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x6c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:305 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 9856] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847b0b 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474b30 0x12610b7 0x1260ff8 0x1260826 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12610b6 net.JoinHostPort+0x176 net/ipsock.go:242 # 0x1260ff7 github.com/lib/pq.Config.network+0xb7 github.com/lib/pq@v1.12.3/connector.go:664 # 0x1260825 github.com/lib/pq.newConfig+0xf05 github.com/lib/pq@v1.12.3/connector.go:624 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x184b9b4 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x184c974 0x184c893 0x1944e77 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184c973 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1944e76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x1a04c12 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a04c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:309 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 512] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6dfa05 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 144] @ 0x48dd05 0x428505 0x61bd9e 0x61aae3 0x61bb45 0x604c05 0x6058a5 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x61bd9d net.(*Resolver).internetAddrList.func1+0x15d net/ipsock.go:275 # 0x61aae2 net.filterAddrList+0x182 net/ipsock.go:137 # 0x61bb44 net.(*Resolver).internetAddrList+0x684 net/ipsock.go:308 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x875bec 0x875b88 0xccbc56 0x260a309 0x266c765 0xc7b03a 0x498001 # 0x875beb github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x875b87 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0xccbc55 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x35 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x260a308 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x168 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2796 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x184afae 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x54d545 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54d544 encoding/json.Marshal+0x184 encoding/json/encode.go:215 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x12507e5 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12507e4 bufio.NewReaderSize+0x8a4 bufio/bufio.go:56 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 288] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x2717be5 0x2717bb4 0x2717b9f 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2717be4 net/textproto.MIMEHeader.Set+0x1504 net/textproto/header.go:22 # 0x2717bb3 net/http.Header.Set+0x14d3 net/http/header.go:40 # 0x2717b9e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x14be github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184ce6c 0x184cd9b 0x184ce90 0x19457c7 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19457c6 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x735590 0x750fd0 0x750f19 0x792465 0x790332 0x790175 0x498001 # 0x73558f net/http.(*http2clientConnPool).addConnIfNeeded+0x16f net/http/h2_bundle.go:897 # 0x750fcf net/http.http2configureTransports.func1+0x6f net/http/h2_bundle.go:7547 # 0x750f18 net/http.http2configureTransports.func2+0x38 net/http/h2_bundle.go:7566 # 0x792464 net/http.(*Transport).dialConn+0x13c4 net/http/transport.go:1982 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a02e5d 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a046a8 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a046a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:285 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 16] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4096] @ 0x48dd2c 0x492ae9 0x296cab4 0x296ec45 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296ec44 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x344 crypto/internal/fips140/bigmod/nat.go:1054 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x258d3b6 0x257f730 0x21d4da2 0x498001 # 0x258d3b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x9f5 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:231 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 640] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19033eb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19033ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x8593b5 0x855c55 0x85d170 0x25d4e28 0x127f222 0x128db08 0x51716c 0x516019 0xb75014 0x498001 # 0x8593b4 github.com/mattermost/logr/v2.NewLogRec+0x1b4 github.com/mattermost/logr/v2@v2.0.22/logrec.go:41 # 0x855c54 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x85d16f github.com/mattermost/logr/v2.Sugar.Warnw+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x25d4e27 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1152 # 0x127f221 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1099 # 0x128db07 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1070 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a02c11 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x48dd05 0x428505 0x63238c 0x6323b1 0x630f10 0x77f64c 0x2663c1b 0x498001 # 0x63238b net.newUnixConn+0x2b net/unixsock.go:195 # 0x6323b0 net.(*UnixListener).accept+0x50 net/unixsock_posix.go:176 # 0x630f0f net.(*UnixListener).Accept+0x2f net/unixsock.go:267 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x28cae0c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x28cae0b github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x56b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3749 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28bb5e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28bb5e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2501 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 832] @ 0x48dd05 0x428505 0x4edac8 0x4ed72c 0x624253 0x623f9a 0x6032a5 0x602d7b 0x621627 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x4edac7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x624252 net.(*nsswitchConfig).tryUpdate+0x152 net/nss.go:65 # 0x623f99 net.getSystemNSS+0x19 net/nss.go:34 # 0x6032a4 net.(*conf).lookupOrder+0x404 net/conf.go:351 # 0x602d7a net.(*conf).hostLookupOrder+0x7a net/conf.go:238 # 0x621626 net.(*Resolver).lookupIP+0xa6 net/lookup_unix.go:62 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1944b8e 0x1944ab2 0x1944a96 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1944b8d github.com/lann/builder.Append+0x58d github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1944ab1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4b1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:156 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 528] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1536] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 96] @ 0x48dd05 0x428505 0x6a0838 0x69d95b 0x6a4085 0x6a4086 0x57b8f7 0x4ce38e 0x737b65 0x737b33 0x73822b 0x7389f8 0x75a82a 0x759c12 0x498001 # 0x6a0837 crypto/tls.(*Conn).readFromUntil+0x97 crypto/tls/conn.go:837 # 0x69d95a crypto/tls.(*Conn).readRecordOrCCS+0x3da crypto/tls/conn.go:626 # 0x6a4084 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:588 # 0x6a4085 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1393 # 0x57b8f6 bufio.(*Reader).Read+0x196 bufio/bufio.go:245 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x737b64 io.ReadFull+0x64 io/io.go:354 # 0x737b32 net/http.http2readFrameHeader+0x32 net/http/h2_bundle.go:1805 # 0x73822a net/http.(*http2Framer).ReadFrameHeader+0x6a net/http/h2_bundle.go:2071 # 0x7389f7 net/http.(*http2Framer).ReadFrame+0x17 net/http/h2_bundle.go:2130 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [2: 32] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x28808ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28808eb github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x3ab github.com/mattermost/mattermost/server/v8/channels/api4/team.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1152] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x2836b47 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2836b46 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xdc6 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:253 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x5e512f 0x61da4c 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e512e net/netip.ParseAddr+0xee net/netip/netip.go:127 # 0x61da4b net.(*Resolver).lookupIPAddr+0x8b net/lookup.go:310 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x493087 0x21f1469 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f1468 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0xa48 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:182 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x262f955 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x262f954 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x294 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:215 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x275e09a 0x275e007 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x275e099 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x579 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x275e006 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x4e6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:631 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd2c 0x4930f3 0x6e075d 0x6aca42 0x6ad1e5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6e075c crypto/tls.(*hybridKeyExchange).keyShares+0x1dc crypto/tls/key_schedule.go:193 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19dbace 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19dbacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dd1f7 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x198d2f2 0x1879d84 0x219f744 0x263172a 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x198d2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:56 # 0x1879d83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10149 # 0x219f743 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8102 # 0x2631729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x9c9 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x428505 0x7738e5 0x788754 0x7884df 0x4ceb03 0x4cef4d 0x4ce831 0x4ce52c 0x4ce50b 0x7785a5 0x7729a9 0x779085 0x779e95 0x498001 # 0x7738e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:698 # 0x788753 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7884de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cef4c io.discard.ReadFrom+0x6c io/io.go:666 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x7785a4 net/http.(*chunkWriter).writeHeader+0x1ca4 net/http/server.go:1418 # 0x7729a8 net/http.(*chunkWriter).close+0x28 net/http/server.go:410 # 0x779084 net/http.(*response).finishRequest+0x64 net/http/server.go:1673 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 16] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x1a25e39 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a04465 0x1a04441 0x1a04426 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a04464 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a04440 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a04425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:279 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 168] @ 0x48dd05 0x492ae9 0x72e507 0x25e9cfb 0x25e9cf2 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x25e9cfa net/http.(*Request).Cookies+0x4ba net/http/request.go:429 # 0x25e9cf1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x4b1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:195 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1947da5 0x1947d71 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1947da4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1947d70 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x28a7866 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28a7865 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19eb40f 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19eb40e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:94 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x428505 0x790be7 0x791a9c 0x790332 0x790175 0x498001 # 0x790be6 net/http.(*persistConn).addTLS+0x266 net/http/transport.go:1732 # 0x791a9b net/http.(*Transport).dialConn+0x9fb net/http/transport.go:1825 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 8] @ 0x48dd05 0x493087 0x728196 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x728195 net/http.(*Client).do+0x955 net/http/client.go:730 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 144] @ 0x48dd05 0x428505 0x183a98f 0x183a983 0x183a953 0x1a04ade 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183a98e github.com/mattermost/squirrel.newPart+0x4e github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x183a982 github.com/mattermost/squirrel.newWhenPart+0x42 github.com/mattermost/squirrel@v0.5.0/case.go:52 # 0x183a952 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a04add github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:305 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x18401d1 0x184063a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18401d0 github.com/mattermost/squirrel.Lt.toSql+0x470 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x19ea7d5 0x19ea7a3 0x19ea7b1 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea7d4 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x74 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19ea7a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19ea7b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0xc9f798 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9f797 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a04a25 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04a24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 672] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18476ab 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a06e13 0x1a06dcb 0x1309f10 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06e12 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a02a93 0x1a02a18 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a02a92 github.com/mattermost/squirrel.SelectBuilder.From+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19e0c3e 0x19e0be3 0x19e0bf1 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e0c3d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e0be2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e0bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 288] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x805c46 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x805c45 database/sql.(*DB).conn+0x985 database/sql/sql.go:1440 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183f290 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xc61c90 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61c8f github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x2f github.com/mattermost/mattermost/server/public/model/post_list.go:90 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd2c 0x4752f7 0x6f20c7 0x6f1ed7 0x286658f 0x286657e 0x2866560 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ed6 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:662 # 0x286658e net/textproto.MIMEHeader.Set+0x11ee net/textproto/header.go:22 # 0x286657d net/http.Header.Set+0x11dd net/http/header.go:40 # 0x286655f github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x11bf github.com/mattermost/mattermost/server/v8/channels/api4/system.go:207 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x18d1d05 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1d04 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1903105 0x19030a6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903104 github.com/mattermost/squirrel.SelectBuilder.From+0x484 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19030a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x28aa076 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x28aa075 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x23d5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 5376] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x428505 0x805c46 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x805c45 database/sql.(*DB).conn+0x985 database/sql/sql.go:1440 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a07291 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07290 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 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 2496] @ 0x48dd05 0x48de45 0x52107d 0xb54cc5 0xb5685c 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb54cc4 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xb5685b encoding/gob.(*Decoder).decodeStruct+0x25b encoding/gob/decode.go:491 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x18468ff 0x1966667 0x196657b 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1966666 github.com/mattermost/squirrel.StatementBuilderType.Select+0x446 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196657a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x35a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:638 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28ac197 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28ac196 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x88c3d0 0x88c4b1 0x88bc7c 0x8b9f91 0x8b9f6b 0x8fa385 0x8f9cda 0x8fc695 0x258bd70 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x88c3cf text/template.(*state).walk+0x22f text/template/exec.go:287 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8b9f90 text/template.(*Template).Execute+0x70 text/template/exec.go:207 # 0x8b9f6a 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x258bd6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xd6f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:81 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a23257 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a23256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:954 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8355840] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x22a2c9e 0x22a296e 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x22a2c9d github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:79 # 0x22a296d github.com/mattermost/mattermost/server/v8/channels/jobs/plugins.(*Worker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/plugins/worker.go:55 0: 0 [1: 32] @ 0x48dd05 0x428505 0x1a2938b 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a2938a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3840] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199f307 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f306 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x306 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x9026df 0x902626 0x262e745 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9026de github.com/Masterminds/semver/v3.coerceNewVersion+0x5e github.com/Masterminds/semver/v3@v3.5.0/version.go:258 # 0x902625 github.com/Masterminds/semver/v3.NewVersion+0x3e5 github.com/Masterminds/semver/v3@v3.5.0/version.go:181 # 0x262e744 github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x6a4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:79 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19554cb 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19554ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x48a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a22cd4 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a22cd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:930 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 7389184] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0xbf00cf 0xbf00b4 0xbef46e 0xbee739 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf00ce github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x6e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf00b3 github.com/vmihailenco/msgpack/v5.(*Encoder).write2+0x53 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:179 # 0xbef46d github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:187 # 0xbee738 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:64 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd2c 0x470c9f 0x61e238 0x61e214 0x61e181 0x61b973 0x604c05 0x6058a5 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x61e237 net.IPv4+0x877 net/ip.go:54 # 0x61e213 net.IP.To16+0x853 net/ip.go:230 # 0x61e180 net.(*Resolver).lookupIPAddr+0x7c0 net/lookup.go:311 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x220a009 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x220a008 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xbe8 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183aa4e 0x1a04ade 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183aa4d github.com/mattermost/squirrel.CaseBuilder.When+0x10d github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a04add github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:305 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 3072] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 384] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 196608] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2688] @ 0x48dd2c 0x428505 0x70a391 0x97de4f 0x97d576 0x1330d17 0x1330d01 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x70a390 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1330d16 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x1330d00 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1a06d25 0x1a06d07 0x1a06d06 0x1309f10 0x498001 # 0x1a06d24 github.com/mattermost/squirrel.newPart+0x104 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a06d06 github.com/mattermost/squirrel.SelectBuilder.From+0xe6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06d05 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:442 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 112] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x281753a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2817539 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:273 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x183f3a9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3a8 github.com/mattermost/squirrel.Eq.toSQL+0xec8 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 81920] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 483328] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 5767168] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 622592] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 8732672] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19ba7b1 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ba7b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x90 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 38144] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x29796a9 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x29796a8 crypto/internal/fips140/ecdsa.newDRBG[...]+0x188 crypto/internal/fips140/ecdsa/hmacdrbg.go:71 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x492ae9 0xc9f798 0xc98325 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9f797 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a284ef 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a284ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1365 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 4608] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1840199 0x184063a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840198 github.com/mattermost/squirrel.Lt.toSql+0x438 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3360] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb63899 0xb6384f 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63898 encoding/gob.(*Encoder).newEncoderState+0xb8 encoding/gob/encode.go:82 # 0xb6384e encoding/gob.(*Encoder).encodeMap+0x6e encoding/gob/encode.go:368 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18d1d1a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1d19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x2b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1227 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a04485 0x1a04467 0x1a04466 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04484 github.com/mattermost/squirrel.newPart+0xc4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a04466 github.com/mattermost/squirrel.SelectBuilder.From+0xa6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a04465 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:280 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x22067f0 0x220694e 0x2205131 0x2204837 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x22067ef 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:759 # 0x220694d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6d maps/iter.go:28 # 0x2205130 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8d0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a08245 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x26ade2b 0x26bed13 0x26bec05 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26bed12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1f2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bec04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2999 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1847b0b 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x191fcac 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fcab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x21eb86e 0x21eb7ed 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21eb86d github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0xed github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:22 # 0x21eb7ec 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 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 320] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x1be1108 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x1be1557 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1556 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0xa16 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:281 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 28672] @ 0x48dd2c 0x4930f3 0x1bc2f1b 0x1bc2edc 0x1bc3513 0x1bc2851 0x1bc223e 0x1bcf4c5 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc2f1a github.com/klauspost/compress/huff0.(*bitWriter).flush32+0x1ba github.com/klauspost/compress@v1.18.6/huff0/bitwriter.go:76 # 0x1bc2edb github.com/klauspost/compress/huff0.(*Scratch).compress1xDo+0x17b github.com/klauspost/compress@v1.18.6/huff0/compress.go:257 # 0x1bc3512 github.com/klauspost/compress/huff0.(*Scratch).compress4X+0x1f2 github.com/klauspost/compress@v1.18.6/huff0/compress.go:287 # 0x1bc2850 github.com/klauspost/compress/huff0.compress+0x5d0 github.com/klauspost/compress@v1.18.6/huff0/compress.go:150 # 0x1bc223d github.com/klauspost/compress/huff0.Compress4X+0x7d github.com/klauspost/compress@v1.18.6/huff0/compress.go:40 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x6f2cd1 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2cd0 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:529 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 28672] @ 0x48dd2c 0x4930f3 0x1be1108 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x730e05 0x730dd3 0x730d94 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730e04 net/textproto.MIMEHeader.Set+0xbc4 net/textproto/header.go:22 # 0x730dd2 net/http.Header.Set+0xb92 net/http/header.go:40 # 0x730d93 net/http.serveContent+0xb53 net/http/fs.go:424 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a05091 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a05090 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xcd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:338 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x12475a5 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12475a4 github.com/lib/pq/scram.(*Client).saltPassword+0xe4 github.com/lib/pq@v1.12.3/scram/scram.go:218 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x63fd77 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x63fd76 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e5958 0x18e5867 0x18e5866 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5957 github.com/lann/builder.Append+0x6f7 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5866 github.com/mattermost/squirrel.UpdateBuilder.Set+0x606 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5865 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x605 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2770 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979dfb 0x299af5a 0x299be65 0x299ba09 0x6b6085 0x6b6046 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6084 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x204 crypto/internal/fips140/tls13/tls13.go:112 # 0x6b6045 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x1c5 crypto/tls/handshake_client_tls13.go:494 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x18eb365 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3173 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x271732e 0x2717301 0x2717138 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x271732d net/textproto.MIMEHeader.Set+0xc4d net/textproto/header.go:22 # 0x2717300 net/http.Header.Set+0xc20 net/http/header.go:40 # 0x2717137 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa57 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62f787 0x62dfdf 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x62dfde net.dialUDP+0x29e net/udpsock.go:304 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc58ffe 0x25f073c 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0xc58ffd github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xbd github.com/mattermost/mattermost/server/public/model/post.go:686 # 0x25f073b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x115b github.com/mattermost/mattermost/server/v8/channels/app/post.go:309 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19eb40f 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19eb40e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x10e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:94 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x4246eb 0x13981b4 0x270f109 0x270edf5 0x283967e 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13981b3 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x253 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:41 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x283967d github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x9bd github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:493 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474c05 0x2716f79 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2716f78 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x898 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:219 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x21fdd79 0x22063a7 0x2204837 0x498001 # 0x21fdd78 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).createHelloMessage+0x1f8 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:832 # 0x22063a6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1b46 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:604 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 38144] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x70d226 0x70cb05 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x55a668 0x55a265 0x559f35 0x220bfb3 0x25adb94 0x262420b 0x26234f4 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x220bfb2 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x25adb93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:165 # 0x262420a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1016 # 0x26234f3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x3f3 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:930 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18e19f3 0x185c9bd 0x217e003 0x249def3 0x2601cd0 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e19f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2375 # 0x185c9bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2499 # 0x217e002 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2115 # 0x249def2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2456 # 0x2601ccf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1818 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28ac145 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28ac144 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1198 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x1a249a9 0x1a24935 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a249a8 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a24934 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1055 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28ac145 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28ac144 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1198 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a0d135 0x1a0d0b7 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0d134 github.com/mattermost/squirrel.SelectBuilder.From+0x214 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1989f34 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1989f33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:118 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb9119a 0xb88545 0xb86fbe 0xb8830a 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91199 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:68 # 0xb88544 github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x84 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:150 # 0xb86fbd github.com/mattermost/mattermost/server/public/shared/markdown.blockQuoteStart+0x21d github.com/mattermost/mattermost/server/public/shared/markdown/block_quote.go:57 # 0xb88309 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0x69 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:133 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a24a6c 0x1a24a11 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a24a6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a24a10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1063 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02e5d 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a0406c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a0406b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:252 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ed947 0x18873fa 0x21af1da 0x25f5484 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ed946 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0xa6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:335 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x25f5483 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/post.go:651 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x246b6b6 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x246b6b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x195 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:67 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 20480] @ 0x48dd2c 0x492ae9 0x918b99 0x121c73e 0x121c735 0x121c585 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x918b98 golang.org/x/net/html.NewTokenizerFragment+0x38 golang.org/x/net@v0.54.0/html/token.go:1277 # 0x121c73d golang.org/x/net/html.NewTokenizer+0x3d golang.org/x/net@v0.54.0/html/token.go:1263 # 0x121c734 code.sajari.com/docconv/v2.cleanHTML+0x34 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:74 # 0x121c584 code.sajari.com/docconv/v2.ConvertHTML+0x84 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:28 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296eabc 0x296eaac 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296eabb crypto/internal/fips140/bigmod.(*Nat).montgomeryRepresentation+0x1bb crypto/internal/fips140/bigmod/nat.go:756 # 0x296eaab crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x1ab crypto/internal/fips140/bigmod/nat.go:1049 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x1944ca9 0x1944bf6 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1944ca8 github.com/mattermost/squirrel.UpdateBuilder.Set+0x6a8 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944bf5 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 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28ac197 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28ac196 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x2767347 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x2767346 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1419 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a24a6c 0x1a24a11 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a24a6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a24a10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1063 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 13824] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28ac145 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28ac144 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1198 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 4608] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x195d8c7 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d8c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x2e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x21192ea 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x21192e9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x209 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:67 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19e1185 0x19e10db 0x19e10da 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e1184 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e10da github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x53a github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19e10d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:57 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 160] @ 0x48dd05 0x493087 0x71bdaa 0x71bcab 0x71a9a7 0x75975c 0x757630 0x71f726 0x71fe2e 0x71f4f2 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x71bda9 vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x149 vendor/golang.org/x/net/http2/hpack/tables.go:60 # 0x71bcaa vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x71a9a6 vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x2a6 vendor/golang.org/x/net/http2/hpack/encode.go:68 # 0x75975b net/http.(*http2ClientConn).writeHeader+0x13b net/http/h2_bundle.go:9359 # 0x75762f net/http.(*http2clientStream).encodeAndWriteHeaders.func1+0x2f net/http/h2_bundle.go:8900 # 0x71f725 net/http/internal/httpcommon.EncodeHeaders.func3+0x65 net/http/internal/httpcommon/httpcommon.go:405 # 0x71fe2d net/http/internal/httpcommon.EncodeHeaders.func1+0x62d net/http/internal/httpcommon/httpcommon.go:364 # 0x71f4f1 net/http/internal/httpcommon.EncodeHeaders+0x6f1 net/http/internal/httpcommon/httpcommon.go:397 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [5: 1120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1844d4d 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1a24a6c 0x1a24a11 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a24a6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a24a10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1063 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 10240] @ 0x48dd2c 0x4930f3 0x1be1f4f 0x1be660d 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1f4e github.com/klauspost/compress/zstd.(*fastEncoder).EncodeNoHist+0x52e github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:475 # 0x1be660c github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x3ec github.com/klauspost/compress@v1.18.6/zstd/encoder.go:582 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19e3417 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e3416 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:186 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 480] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x428505 0xc56d6b 0x261cbea 0x261cbc6 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc56d6a github.com/mattermost/mattermost/server/public/model.(*Post).ShallowCopy+0x44a github.com/mattermost/mattermost/server/public/model/post.go:378 # 0x261cbe9 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x69 github.com/mattermost/mattermost/server/public/model/post.go:387 # 0x261cbc5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:190 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f495 0x28cb5ab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f494 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x314 github.com/mattermost/mattermost/server/v8/channels/web/context.go:78 # 0x28cb5aa github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3788 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x546e9e 0x55a01f 0x2595bef 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x2595bee github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x66e github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0f013 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0f012 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x2b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1049 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 3072] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28ac197 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28ac196 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x196fd07 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x191fcac 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fcab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd2c 0x4930f3 0xb87a59 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87a58 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x618 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:98 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1840170 0x184063a 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184016f github.com/mattermost/squirrel.Lt.toSql+0x40f github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x54d4e5 0x25964bd 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x25964bc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x1dc github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:560 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1a0ad25 0x1a0ac24 0x1a0ac0f 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0ad24 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0ac23 github.com/mattermost/squirrel.UpdateBuilder.Set+0x2a3 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0ac0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:690 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1664] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 896] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x297960b 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x297960a crypto/internal/fips140/ecdsa.newDRBG[...]+0xea crypto/internal/fips140/ecdsa/hmacdrbg.go:61 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 176] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a249ca 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a249c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1057 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1280] @ 0x48dd05 0x493087 0x255fba6 0x255f4e5 0x25880d1 0xb8e16a 0xb8ea42 0xb8e0e5 0xb8e37b 0xb8df85 0x2587fce 0x25835e5 0x256ffc5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255fba5 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x255f4e4 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x604 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x25880d0 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1424 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8ea41 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x161 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:96 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25835e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x944 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1085 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9c67 0x28ae0fb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2599 # 0x28ae0fa github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x65a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 425984] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 5890048] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 131072] @ 0x48dd33 0x492ae9 0x1be3e34 0x26fff8d 0x2701b47 0x27013fe 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be3e33 github.com/klauspost/compress/zstd.(*Encoder).Reset+0x73 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:101 # 0x26fff8c github.com/klauspost/compress/gzhttp/writer/zstdkp.NewWriter+0x8c github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:66 # 0x2701b46 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x86 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:406 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 270336] @ 0x48dd33 0x428505 0x1be6dc7 0x1be409f 0x26fff8d 0x2701b47 0x27013fe 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be6dc6 github.com/klauspost/compress/zstd.encoderOptions.encoder+0x86 github.com/klauspost/compress@v1.18.6/zstd/encoder_options.go:56 # 0x1be409e github.com/klauspost/compress/zstd.(*Encoder).Reset+0x2de github.com/klauspost/compress@v1.18.6/zstd/encoder.go:119 # 0x26fff8c github.com/klauspost/compress/gzhttp/writer/zstdkp.NewWriter+0x8c github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:66 # 0x2701b46 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x86 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:406 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9627 0x28a9cee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9626 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2543 # 0x28a9ced github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x204d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1110 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2127b25 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127b24 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1943310 0x194324d 0x1942fd2 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x194330f github.com/lann/builder.Append+0x6af github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194324c github.com/mattermost/squirrel.InsertBuilder.Values+0x5ec github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1942fd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [13: 4992] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x774566 0x7753ec 0x779bd8 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x774565 net/http.newBufioWriterSize+0x65 net/http/server.go:876 # 0x7753eb net/http.(*conn).readRequest+0x92b net/http/server.go:1071 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 64] @ 0x48dd05 0x428505 0x1267df6 0x1267d38 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1267df5 strings.NewReplacer+0x1d5 strings/replace.go:36 # 0x1267d37 github.com/lib/pq.convertURL+0x117 github.com/lib/pq@v1.12.3/connector.go:1126 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 270336] @ 0x48dd33 0x428505 0x1be6dc7 0x1be409f 0x26fff8d 0x2701b47 0x27013fe 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be6dc6 github.com/klauspost/compress/zstd.encoderOptions.encoder+0x86 github.com/klauspost/compress@v1.18.6/zstd/encoder_options.go:56 # 0x1be409e github.com/klauspost/compress/zstd.(*Encoder).Reset+0x2de github.com/klauspost/compress@v1.18.6/zstd/encoder.go:119 # 0x26fff8c github.com/klauspost/compress/gzhttp/writer/zstdkp.NewWriter+0x8c github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:66 # 0x2701b46 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x86 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:406 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1be3e34 0x26fff8d 0x2701b47 0x27013fe 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be3e33 github.com/klauspost/compress/zstd.(*Encoder).Reset+0x73 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:101 # 0x26fff8c github.com/klauspost/compress/gzhttp/writer/zstdkp.NewWriter+0x8c github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:66 # 0x2701b46 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x86 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:406 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x1bce555 0x1bd0815 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bce554 github.com/klauspost/compress/zstd.(*blockEnc).encodeLits+0x174 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:349 # 0x1bd0814 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x1754 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:483 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x1bd092b 0x1bd08c0 0x1be66c5 0x1be48b2 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bd092a github.com/klauspost/compress/zstd.(*bitWriter).flush32+0x186a github.com/klauspost/compress@v1.18.6/zstd/bitwriter.go:79 # 0x1bd08bf github.com/klauspost/compress/zstd.(*blockEnc).encode+0x17ff github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:761 # 0x1be66c4 github.com/klauspost/compress/zstd.(*Encoder).encodeAll+0x4a4 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:593 # 0x1be48b1 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0xf1 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:232 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 57344] @ 0x48dd33 0x4930f3 0x1be1108 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0x1be1108 0x1be4e8b 0x1be5c17 0x26ffe4b 0x2701fe2 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1107 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x5c7 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:235 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be5c16 github.com/klauspost/compress/zstd.(*Encoder).Close+0x96 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:464 # 0x26ffe4a github.com/klauspost/compress/gzhttp/writer/zstdkp.(*pooledWriter).Close+0x2a github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:55 # 0x2701fe1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x381 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:463 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 163840] @ 0x48dd33 0x4930f3 0x1be1212 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1211 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x6d1 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:243 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 229376] @ 0x48dd33 0x4930f3 0x1be1212 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be1211 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x6d1 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:243 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13824] @ 0x48dd2c 0x4930f3 0x1bc2f1b 0x1bc2edc 0x1bc3513 0x1bc2851 0x1bc223e 0x1bcf4c5 0x1be4ee5 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bc2f1a github.com/klauspost/compress/huff0.(*bitWriter).flush32+0x1ba github.com/klauspost/compress@v1.18.6/huff0/bitwriter.go:76 # 0x1bc2edb github.com/klauspost/compress/huff0.(*Scratch).compress1xDo+0x17b github.com/klauspost/compress@v1.18.6/huff0/compress.go:257 # 0x1bc3512 github.com/klauspost/compress/huff0.(*Scratch).compress4X+0x1f2 github.com/klauspost/compress@v1.18.6/huff0/compress.go:287 # 0x1bc2850 github.com/klauspost/compress/huff0.compress+0x5d0 github.com/klauspost/compress@v1.18.6/huff0/compress.go:150 # 0x1bc223d github.com/klauspost/compress/huff0.Compress4X+0x7d github.com/klauspost/compress@v1.18.6/huff0/compress.go:40 # 0x1bcf4c4 github.com/klauspost/compress/zstd.(*blockEnc).encode+0x404 github.com/klauspost/compress@v1.18.6/zstd/blockenc.go:525 # 0x1be4ee4 github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x724 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:304 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 2883584] @ 0x48dd33 0x492ae9 0x1bd69cc 0x1bd6a16 0x1be0bc5 0x1be4e8b 0x1be463a 0x2700d19 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1bd69cb github.com/klauspost/compress/zstd.(*fastBase).ensureHist+0xab github.com/klauspost/compress@v1.18.6/zstd/enc_base.go:100 # 0x1bd6a15 github.com/klauspost/compress/zstd.(*fastBase).addBlock+0xf5 github.com/klauspost/compress@v1.18.6/zstd/enc_base.go:64 # 0x1be0bc4 github.com/klauspost/compress/zstd.(*fastEncoder).Encode+0x84 github.com/klauspost/compress@v1.18.6/zstd/enc_fast.go:69 # 0x1be4e8a github.com/klauspost/compress/zstd.(*Encoder).nextBlock+0x6ca github.com/klauspost/compress@v1.18.6/zstd/encoder.go:298 # 0x1be4639 github.com/klauspost/compress/zstd.(*Encoder).Write+0x1f9 github.com/klauspost/compress@v1.18.6/zstd/encoder.go:200 # 0x2700d18 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x678 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:143 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 3514368] @ 0x48dd33 0x428505 0x1be6dc7 0x1be409f 0x26fff8d 0x2701b47 0x27013fe 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1be6dc6 github.com/klauspost/compress/zstd.encoderOptions.encoder+0x86 github.com/klauspost/compress@v1.18.6/zstd/encoder_options.go:56 # 0x1be409e github.com/klauspost/compress/zstd.(*Encoder).Reset+0x2de github.com/klauspost/compress@v1.18.6/zstd/encoder.go:119 # 0x26fff8c github.com/klauspost/compress/gzhttp/writer/zstdkp.NewWriter+0x8c github.com/klauspost/compress@v1.18.6/gzhttp/writer/zstdkp/zstdkp.go:66 # 0x2701b46 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x86 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:406 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x428505 0x2248b74 0x2248ce5 0x226d9f5 0x4a240c 0x226c39b 0x226c36f 0x26638af 0x266375d 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2248b73 github.com/getsentry/sentry-go/report.(*Aggregator).Record+0x113 github.com/getsentry/sentry-go@v0.46.2/report/aggregator.go:40 # 0x2248ce4 github.com/getsentry/sentry-go/report.(*Aggregator).RecordOne+0x24 github.com/getsentry/sentry-go@v0.46.2/report/aggregator.go:48 # 0x226d9f4 github.com/getsentry/sentry-go.(*Span).doFinish+0x194 github.com/getsentry/sentry-go@v0.46.2/tracing.go:491 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x226c39a sync.(*Once).Do+0x3a sync/once.go:69 # 0x226c36e github.com/getsentry/sentry-go.(*Span).Finish+0xe github.com/getsentry/sentry-go@v0.46.2/tracing.go:222 # 0x26638ae github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6.1+0x6e github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:117 # 0x266375c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x39c github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:125 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x270f345 0x28ca5bc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x28ca5bb github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x6bb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3696 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x492ae9 0x296a2cd 0x2990b05 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x2990b04 crypto/internal/fips140/rsa.encrypt+0x124 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [10: 2880] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x1268689 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x1268688 github.com/lib/pq.convertURL+0xa68 github.com/lib/pq@v1.12.3/connector.go:1156 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 18944] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 11520] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18425a5 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18425a4 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x661090 0x6610bb 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x66108f crypto/x509.(*policyGraph).incrDepth+0x76f crypto/x509/verify.go:1174 # 0x6610ba crypto/x509.policiesValid+0x79a crypto/x509/verify.go:1233 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ef07 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ef06 encoding/json.addrMarshalerEncoder+0x166 encoding/json/encode.go:506 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19477cc 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x19477cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetNewestJobByStatusesAndType+0x8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:356 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 16] @ 0x48dd05 0x493087 0x28174d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28174cf github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x1cf github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:269 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x190381e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190381d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da88e 0x20e3c44 0x20e3045 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da88d github.com/mattermost/mattermost/server/v8/channels/jobs.(*DailyScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:78 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0165c 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1a0165b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:158 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x7003b7 0x1223f91 0x1223f81 0x1222f5f 0x12227c5 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x7003b6 mime/multipart.(*Writer).CreatePart+0x296 mime/multipart/writer.go:113 # 0x1223f90 gopkg.in/mail%2ev2.(*messageWriter).createPart+0x70 gopkg.in/mail.v2@v2.3.1/writeto.go:100 # 0x1223f80 gopkg.in/mail%2ev2.(*messageWriter).writeHeaders+0x60 gopkg.in/mail.v2@v2.3.1/writeto.go:256 # 0x1222f5e gopkg.in/mail%2ev2.(*messageWriter).writePart+0x21e gopkg.in/mail.v2@v2.3.1/writeto.go:111 # 0x12227c4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x204 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x857f95 0x857e4a 0x855c65 0x874125 0x8740aa 0x8740e1 0x1225fa5 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x857f94 github.com/mattermost/logr/v2.LimitString+0x514 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x857e49 github.com/mattermost/logr/v2.(*Logr).enqueue+0x3c9 github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x855c64 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x874124 github.com/mattermost/logr/v2.Logger.Info+0xc4 github.com/mattermost/logr/v2@v2.0.22/logger.go:78 # 0x8740a9 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).Info+0x49 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:333 # 0x8740e0 github.com/mattermost/mattermost/server/public/shared/mlog.Info+0x80 github.com/mattermost/mattermost/server/public/shared/mlog/global.go:91 # 0x1225fa4 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x284 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:294 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 448] @ 0x48dd05 0x493087 0x2719cc5 0x27194e2 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719cc4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x684 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:173 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce9b0 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:966 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 320] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0x184c8c5 0x184c893 0x1945747 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184c8c4 github.com/mattermost/squirrel.newWherePart+0x44 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1945746 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a25cf4 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x297960b 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x297960a crypto/internal/fips140/ecdsa.newDRBG[...]+0xea crypto/internal/fips140/ecdsa/hmacdrbg.go:61 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 576] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 8] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x428505 0x21ff476 0x21ff450 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x21ff475 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0xb55 github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x21ff44f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xb2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:988 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 32] @ 0x48dd05 0x428505 0x27176fb 0x27176ce 0x27176b8 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x27176fa net/textproto.MIMEHeader.Set+0x101a net/textproto/header.go:22 # 0x27176cd net/http.Header.Set+0xfed net/http/header.go:40 # 0x27176b7 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xfd7 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:235 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19391d3 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19391d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1478 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18c9056 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18c9055 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x755 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:498 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3072] @ 0x48dd2c 0x428505 0x64415e 0x644173 0x6e9c34 0x69bab6 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64415d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x644172 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6e9c33 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:555 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 3840] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551a96 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551a95 encoding/json.encodeByteSlice+0x155 encoding/json/encode.go:835 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 6912] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61d7c 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d7b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:94 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x191fa85 0x191fa26 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fa84 github.com/mattermost/squirrel.SelectBuilder.From+0x184 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x191fa25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x125 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:144 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x299ba09 0x6dfb65 0x6dfb3a 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6dfb64 crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x64 crypto/internal/fips140/tls13/tls13.go:155 # 0x6dfb39 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x39 crypto/tls/key_schedule.go:48 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 192] @ 0x48dd05 0x428505 0x790da5 0x791a9c 0x790332 0x790175 0x498001 # 0x790da4 net/http.(*persistConn).addTLS+0x424 net/http/transport.go:1754 # 0x791a9b net/http.(*Transport).dialConn+0x9fb net/http/transport.go:1825 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19eabcc 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eabcb github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x46b github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3456] @ 0x48dd2c 0x4752f7 0x6956dd 0x6eb6e2 0x42d5b9 0x498001 # 0x6956dc crypto/tls.(*weakCertCache).newCert.func1+0x3c crypto/tls/cache.go:33 # 0x6eb6e1 runtime.callCleanup[...]+0x21 runtime/mcleanup.go:204 # 0x42d5b8 runtime.runCleanups+0xd8 runtime/mcleanup.go:745 0: 0 [2: 32] @ 0x48dd25 0x48d69b 0x1945827 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1945826 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 448] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x25e8d11 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25e8d10 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x5f0 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:86 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1844d4d 0x184613f 0x19554cb 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19554ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x48a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:215 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x280007e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x280007d github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x3d github.com/mattermost/mattermost/server/v8/channels/api4/license.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x18d1ede 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1edd github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x47d github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x184afae 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 336] @ 0x48dd05 0x428505 0x5704f3 0x1cc80df 0x1cc52ba 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x1cc80de github.com/gorilla/mux.requestWithVars+0x5e github.com/gorilla/mux@v1.8.1/mux.go:449 # 0x1cc52b9 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1a061b9 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a061b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:411 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a261b1 0x1a26162 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a261b0 github.com/mattermost/squirrel.SelectBuilder.Join+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a26161 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x181 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1191 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x17ef069 0x17ef057 0x17eeffe 0x17ed9a9 0x17ed981 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef068 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:5186 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x17eeffd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x17ed9a8 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x68 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x17ed980 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x40 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:135 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x27ca49c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x27ca49b github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x19b github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:80 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x19e2af6 0x19e2ad6 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2af5 github.com/mattermost/squirrel.UpdateBuilder.Set+0x715 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2ad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:148 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a29270 0x1a291bd 0x188f476 0x21b852d 0x26b730c 0x28a7413 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a2926f github.com/mattermost/squirrel.SelectBuilder.From+0x16f github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x26b730b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFilteredUsersStats+0x10b github.com/mattermost/mattermost/server/v8/channels/app/user.go:2283 # 0x28a7412 github.com/mattermost/mattermost/server/v8/channels/api4.getFilteredUsersStats+0x8b2 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:796 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x26ff93e 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ff93d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:63 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 320] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x190312f 0x19030a6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x190312e github.com/mattermost/squirrel.SelectBuilder.From+0x4ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19030a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f598 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19c9878 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c9877 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x18e2272 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e2271 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x199f3e6 0x199f38e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199f3e5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3e5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199f38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a249ca 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a249c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1057 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f84f 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f84e encoding/json.boolEncoder+0x1ee encoding/json/encode.go:550 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x2625248 0x2620b9b 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x2625247 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x27 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1076 # 0x2620b9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x7da github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:656 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd05 0x493087 0x255fba6 0x255f4e5 0x25880d1 0xb8e16a 0xb8ea42 0xb8e0e5 0xb8e37b 0xb8df85 0x2587fce 0x25708ed 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255fba5 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x255f4e4 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x604 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x25880d0 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1424 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8ea41 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x161 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:96 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25708ec github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27ac github.com/mattermost/mattermost/server/v8/channels/app/notification.go:254 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a24a6c 0x1a24a11 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a24a6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x26b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a24a10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1063 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1152] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199099b 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199099a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a08309 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0x139ef51 0x139d825 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x139ef50 github.com/jmoiron/sqlx.compileNamedQuery+0xd90 github.com/jmoiron/sqlx@v1.4.0/named.go:405 # 0x139d824 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x18e86a5 0x18e85a0 0x18e858e 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e86a4 github.com/lann/builder.Append+0x7e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e859f github.com/mattermost/squirrel.UpdateBuilder.Set+0x6df github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e858d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x6cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2977 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x136e865 0x136f9af 0x4a240c 0x136f62f 0x136f603 0x137d9ac 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x136e864 github.com/yuin/goldmark/parser.(*parser).addBlockParser+0x2a4 github.com/yuin/goldmark@v1.8.2/parser/parser.go:792 # 0x136f9ae github.com/yuin/goldmark/parser.(*parser).Parse.func1+0xee github.com/yuin/goldmark@v1.8.2/parser/parser.go:868 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x136f62e sync.(*Once).Do+0x6e sync/once.go:69 # 0x136f602 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.8.2/parser/parser.go:865 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x4ed9ec 0x4e7753 0x4e7653 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ed9eb os.(*File).Stat+0x2b os/stat_unix.go:19 # 0x4e7752 os.statOrZero+0x12 os/file.go:875 # 0x4e7652 os.ReadFile+0xb2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1974c1f 0x1974b87 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x2601b69 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1974c1e github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x65e github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1974b86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1837 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x2601b68 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1804 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc8b358 0xc8b359 0xc84d7e 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b357 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b358 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x66142a 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661429 crypto/x509.newPolicyGraphNode+0xb09 crypto/x509/verify.go:1053 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0399a 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1a03999 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x579 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a08565 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x493412 0x4fc84d 0x2979653 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x4fc84c bytes.Repeat+0xac bytes/bytes.go:678 # 0x2979652 crypto/internal/fips140/ecdsa.newDRBG[...]+0x132 crypto/internal/fips140/ecdsa/hmacdrbg.go:67 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x26ff90a 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x26ff909 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:61 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [2: 352] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0x1cd08ca 0x1cd07a6 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x1cd08c9 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:83 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 2048] @ 0x48dd05 0x493087 0x255fba6 0x255f4e5 0x25880d1 0xb8e16a 0xb8ea42 0xb8e0e5 0xb8e37b 0xb8df85 0x2587fce 0x25708ed 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255fba5 github.com/mattermost/mattermost/server/v8/channels/app.isKeywordMultibyte+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:148 # 0x255f4e4 github.com/mattermost/mattermost/server/v8/channels/app.(*StandardMentionParser).ProcessText+0x604 github.com/mattermost/mattermost/server/v8/channels/app/mention_parser_standard.go:89 # 0x25880d0 github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions.func1+0x90 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1424 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8ea41 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x161 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:96 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2587fcd github.com/mattermost/mattermost/server/v8/channels/app.getExplicitMentions+0x8d github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1419 # 0x25708ec github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x27ac github.com/mattermost/mattermost/server/v8/channels/app/notification.go:254 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a23217 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a23216 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:951 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 448] @ 0x48dd05 0x428505 0x19601be 0x19608c5 0x19681e5 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x19608c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithName+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:115 # 0x19681e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:781 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 9472] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 409600] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4333568] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0x1a1e6aa 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e6a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:599 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc84930 0xc848f0 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8492f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb2f github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc848ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xaef github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x4930f3 0x54d4e5 0x21d1bb3 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665bcf 0x2665bca 0x2664d57 0xc7b03a 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x21d1bb2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x472 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:240 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665bce github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665bc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1453 # 0x2664d56 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1358 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 1728] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x1a068ef 0x1a068cb 0x1309f10 0x498001 # 0x1a068ee github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x48dd05 0x428505 0x259a2f1 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x259a2f0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x70 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:819 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e1065 0x19e0f9c 0x19e0dfe 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1064 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e0f9b github.com/mattermost/squirrel.InsertBuilder.Values+0x3fb github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1903254 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:426 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x220a009 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x220a008 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xbe8 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x19b8465 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19b8464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:76 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 49152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3840] @ 0x48dd0c 0x428505 0x1b8e4c5 0x1b8e52c 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e4c4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x164 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e52b github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1cb github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:152 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 720] @ 0x48dd05 0x492ae9 0x5ff37d 0x5ff2f0 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x5ff37c net.sortByRFC6724withSrcs+0x5c net/addrselect.go:25 # 0x5ff2ef net.sortByRFC6724+0x4f net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1944a2e 0x1944950 0x1944933 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1944a2d github.com/lann/builder.Append+0x42d github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194494f github.com/mattermost/squirrel.UpdateBuilder.Set+0x34f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944932 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:155 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2688] @ 0x48dd2c 0x428505 0x2943ad2 0x6e9c79 0x69bab6 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2943ad1 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x91 crypto/internal/fips140/aes/gcm/gcm_nonces.go:174 # 0x6e9c78 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:564 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x61bd9e 0x61aae3 0x61bb45 0x604c05 0x6058a5 0x1224d98 0x1224d70 0x122599f 0x122599a 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x61bd9d net.(*Resolver).internetAddrList.func1+0x15d net/ipsock.go:275 # 0x61aae2 net.filterAddrList+0x182 net/ipsock.go:137 # 0x61bb44 net.(*Resolver).internetAddrList+0x684 net/ipsock.go:308 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x1224d97 net.(*Dialer).Dial+0x197 net/dial.go:505 # 0x1224d6f github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServerAdvanced+0x16f github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:144 # 0x122599e github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServer+0x3e github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:154 # 0x1225999 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x39 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:269 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 96] @ 0x48dd05 0x493087 0x60e913 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60e912 net.(*Resolver).goLookupIPCNAMEOrder+0xf92 net/dnsclient_unix.go:735 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x296cab4 0x296eabc 0x296eaac 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296eabb crypto/internal/fips140/bigmod.(*Nat).montgomeryRepresentation+0x1bb crypto/internal/fips140/bigmod/nat.go:756 # 0x296eaab crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x1ab crypto/internal/fips140/bigmod/nat.go:1049 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x1376ae7 0x1376aaa 0x1376b78 0x137d9e4 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1376ae6 bufio.NewWriterSize+0x126 bufio/bufio.go:599 # 0x1376aa9 bufio.NewWriter+0xe9 bufio/bufio.go:608 # 0x1376b77 github.com/yuin/goldmark/renderer.(*renderer).Render+0x1b7 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:159 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 1200] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 480] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 128] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 64] @ 0x48dd05 0x428505 0xb8ab93 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x2622785 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8ab92 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x452 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x2622784 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:815 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x199ac36 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ac35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x475708 0x1261e3b 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e3a github.com/lib/pq.(*Config).fromDSN+0x75a github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x7b999b 0x7b99b4 0x7ba466 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b999a regexp.newOnePassMachine+0x9a regexp/exec.go:384 # 0x7b99b3 regexp.(*Regexp).doOnePass+0xb3 regexp/exec.go:403 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2080] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1904afd 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x8dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fb2d 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fb2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x22c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x18df125 0x18df0c9 0x18df0a6 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18df124 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18df0c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x88 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18df0a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x199f225 0x199f19e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199f224 github.com/mattermost/squirrel.SelectBuilder.From+0x224 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x199f19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x1840225 0x184063a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840224 github.com/mattermost/squirrel.Lt.toSql+0x4c4 github.com/mattermost/squirrel@v0.5.0/expr.go:343 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979dfb 0x299af5a 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [17: 816] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x78b365 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x78b364 net/http.(*Transport).roundTrip+0x924 net/http/transport.go:675 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1048576] @ 0x48dd33 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1923c36 0x18692f7 0x2150e22 0x218c91d 0x251cda2 0x2511c67 0x21d5007 0x4a3a6a 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1923c35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.SetContent+0x335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:445 # 0x18692f6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).SetContent+0x96 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5799 # 0x2150e21 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 # 0x218c91c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).SetContent+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4744 # 0x251cda1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0x341 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1728 # 0x2511c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:871 # 0x21d5006 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).startExtractionWorkers.func1+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:63 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 385024] @ 0x48dd33 0x4930f3 0x4cf4c6 0x1cbfb47 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x4cf4c5 io.ReadAll+0x265 io/io.go:746 # 0x1cbfb46 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x306 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [4: 960] @ 0x48dd2c 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x64c494 0x64c39a 0x6b2a75 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64c493 crypto/x509.(*CertPool).addCertFunc+0x133 crypto/x509/cert_pool.go:204 # 0x64c399 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x6b2a74 crypto/tls.(*Conn).verifyServerCertificate+0xa74 crypto/tls/handshake_client.go:1156 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 196608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 18944] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6912] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x19581d8 0x19581bd 0x19581bc 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19581d7 github.com/mattermost/squirrel.newPart+0x237 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x19581bc github.com/mattermost/squirrel.SelectBuilder.From+0x21c github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19581bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 10752] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 56832] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a3ef4 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a3ef3 github.com/jmoiron/sqlx.(*Row).scanAny+0x873 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x184cdfb 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184cdfa github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x9a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 192] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 16] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 288] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd0c 0x428505 0x1b8e465 0x1b8e527 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:151 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x12636d2 0x1261eb6 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12636d1 github.com/lib/pq.(*Config).setFromTag+0x11f1 github.com/lib/pq@v1.12.3/connector.go:853 # 0x1261eb5 github.com/lib/pq.(*Config).fromDSN+0x7d5 github.com/lib/pq@v1.12.3/connector.go:793 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x24a3c32 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x24a3c31 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3038 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 896] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xb561a5 0xb57403 0xb577fd 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb577fc encoding/gob.(*Decoder).decodeMap+0x37c encoding/gob/decode.go:606 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [26: 832] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 504] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [74: 7104] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x195d946 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d945 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 1776] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [94: 10528] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [144: 23040] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [130: 22880] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 320] @ 0x48dd05 0x428505 0xb576a8 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb576a7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [28: 896] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 240] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [193: 55584] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a56a5 0x4a5674 0x69535d 0x695315 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4a56a4 internal/sync.newEntryNode[...]+0x304 internal/sync/hashtriemap.go:572 # 0x4a5673 internal/sync.(*HashTrieMap[...]).LoadOrStore+0x2d3 internal/sync/hashtriemap.go:151 # 0x69535c sync.(*Map).LoadOrStore+0x13c sync/map.go:65 # 0x695314 crypto/tls.(*weakCertCache).newCert+0xf4 crypto/tls/cache.go:32 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [206: 65920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [438: 252288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e9d89 0x18e9d3e 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e9d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x228 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e9d3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3065 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a297fa 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 2688] @ 0x48dd2c 0x428505 0x70a391 0x70d226 0x70cb05 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x4ce38e 0x1179d77 0x1179d54 0x25acee5 0x25aca2f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a390 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1179d76 io.ReadFull+0x76 io/io.go:354 # 0x1179d53 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.54.0/html/charset/charset.go:110 # 0x25acee4 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:82 # 0x25aca2e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xce github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:56 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [68: 7616] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 2016] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 13440] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 576] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xbe6c6a 0xbe6a9e 0xbe489a 0xbe7669 0xbe678a 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2115285 0x2581397 0x498001 # 0xbe6c69 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x169 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:130 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe7668 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeTypedMapValue+0x1c8 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:273 # 0xbe6789 github.com/vmihailenco/msgpack/v5.decodeMapValue+0x189 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:48 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2115284 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:327 # 0x2581396 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 [4: 256] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x256e23f 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x256e23e github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:62 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 400] @ 0x48dd2c 0x4752f7 0xc840b7 0xc840b8 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc840b6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x2b6 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc840b7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x2b7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:498 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x247a52d 0x24798fc 0x28b00ae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x247a52c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToManageBot+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x24798fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUserOrBot+0xdb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x28b00ad github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x84d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1540 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc62768 0xc62661 0x2602105 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc62767 github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x1a7 github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0xc62660 github.com/mattermost/mattermost/server/public/model.(*PostList).Extend+0xa0 github.com/mattermost/mattermost/server/public/model/post_list.go:159 # 0x2602104 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1851 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x726845 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x726844 net/http.send+0xa64 net/http/client.go:300 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196fadc 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fadb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x45b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a2ee 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19035ad 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19035ac github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x92c github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191a177 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191a176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x316 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:70 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x194a511 0x186fe72 0x2193fcb 0x2625676 0x2623568 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x194a510 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlLinkMetadataStore.Save+0x810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/link_metadata_store.go:69 # 0x186fe71 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7458 # 0x2193fca github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6008 # 0x2625675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).saveLinkMetadataToDatabase+0x175 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1138 # 0x2623567 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x467 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:936 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 640] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x6f2f17 0x76e937 0x76e920 0x796331 0x79515d 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x76e936 net/textproto.(*Reader).ReadMIMEHeader+0x236 net/textproto/reader.go:508 # 0x76e91f net/http.ReadResponse+0x21f net/http/response.go:188 # 0x796330 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2518 # 0x79515c net/http.(*persistConn).readLoop+0x2dc net/http/transport.go:2345 0: 0 [2: 128] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a02add 0x1a02abe 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1a02adc github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x19c github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x707448 0x706350 0x7058ff 0x7018cf 0x702825 0x70384d 0x97eab4 0x97eaaa 0x1336933 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x707447 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x70634f compress/flate.(*huffmanBitWriter).indexTokens+0x26f compress/flate/huffman_bit_writer.go:562 # 0x7058fe compress/flate.(*huffmanBitWriter).writeBlock+0xde compress/flate/huffman_bit_writer.go:435 # 0x7018ce compress/flate.(*compressor).writeBlock+0x8e compress/flate/deflate.go:173 # 0x702824 compress/flate.(*compressor).deflate+0x5e4 compress/flate/deflate.go:411 # 0x70384c compress/flate.(*compressor).close+0x6c compress/flate/deflate.go:637 # 0x97eab3 compress/flate.(*Writer).Close+0x73 compress/flate/deflate.go:729 # 0x97eaa9 compress/zlib.(*Writer).Close+0x69 compress/zlib/writer.go:184 # 0x1336932 image/png.(*encoder).writeImage+0xd32 image/png/writer.go:543 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 4882432] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3456] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x19f0c06 0x19f0bbb 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f0c05 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x385 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f0bba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x33a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:630 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 109056] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x2249e6b 0x224c44f 0x224c0d3 0x498001 # 0x2249e6a github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xaa github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:98 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x493087 0x255e094 0x2606e85 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255e093 github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0x233 github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:62 # 0x2606e84 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2399 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a034b2 0x1a03481 0x1a03477 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1a034b1 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x91 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a03480 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a03476 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:193 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 4096] @ 0x48dd2c 0x492ae9 0x1161d6f 0x1161de6 0x1165791 0x1166625 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x1161d6e github.com/levigross/exp-html.NewTokenizer+0x2e github.com/levigross/exp-html@v0.0.0-20120902181939-8df60c69a8f5/token.go:777 # 0x1161de5 github.com/levigross/exp-html.Parse+0xa5 github.com/levigross/exp-html@v0.0.0-20120902181939-8df60c69a8f5/parse.go:1803 # 0x1165790 github.com/JalfResi/justext.preprocess+0x70 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/preprocess.go:11 # 0x1166624 github.com/JalfResi/justext.(*Reader).ReadAll+0x64 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:43 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 2113536] @ 0x48dd33 0x4930f3 0x1272805 0x12727e6 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1923c36 0x18692f7 0x2150e22 0x218c91d 0x251cda2 0x2511c67 0x21d5007 0x4a3a6a 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1923c35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.SetContent+0x335 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:445 # 0x18692f6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).SetContent+0x96 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5799 # 0x2150e21 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 # 0x218c91c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).SetContent+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4744 # 0x251cda1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ExtractContentFromFileInfo+0x341 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1728 # 0x2511c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX.func1+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:871 # 0x21d5006 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).startExtractionWorkers.func1+0x26 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:63 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 3031040] @ 0x48dd33 0x4753be 0x4753b2 0x474925 0x474a7e 0x1cbfbc5 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cbfbc4 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x384 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:54 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 3031040] @ 0x48dd33 0x4752f7 0x1cbfba5 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1cbfba4 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x364 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:54 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 3031040] @ 0x48dd33 0x4930f3 0x4cf616 0x1cbfb47 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x4cf615 io.ReadAll+0x3b5 io/io.go:734 # 0x1cbfb46 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x306 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 1146880] @ 0x48dd33 0x4930f3 0x4cf4c6 0x1cbfb47 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x4cf4c5 io.ReadAll+0x265 io/io.go:746 # 0x1cbfb46 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*plainExtractor).Extract+0x306 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/plain.go:53 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x6bce85 0x6bce51 0x6bcd61 0x5ccbc4 0x5cd01c 0x6bc676 0x6bc506 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bce84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bce50 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x110 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bcd60 crypto/tls.(*clientHelloMsg).marshalMsg.func18.1+0x20 crypto/tls/handshake_messages.go:353 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc675 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x255 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6bc505 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xe5 crypto/tls/handshake_messages.go:351 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 320] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x19ca04f 0x19c9fdb 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19ca04e github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19c9fda 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x19bb56b 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19bb56a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:422 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8057f 0xc80634 0x21faa25 0x21fd7d9 0x21fdb38 0x21fe952 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xc8057e github.com/mattermost/mattermost/server/public/model.CopyStringMap+0xfe github.com/mattermost/mattermost/server/public/model/utils.go:489 # 0xc80633 github.com/mattermost/mattermost/server/public/model.(*Session).DeepCopy+0x1b3 github.com/mattermost/mattermost/server/public/model/session.go:102 # 0x21faa24 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 # 0x21fd7d8 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x658 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:803 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1a0830e 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0830d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x44d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 196608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551a96 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551a95 encoding/json.encodeByteSlice+0x155 encoding/json/encode.go:835 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1974c1f 0x1974b87 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1974c1e github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x65e github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1974b86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1837 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dbe33 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dbe32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:211 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 131072] @ 0x48dd33 0x492ae9 0x703217 0x703252 0x70e52d 0x70e4ee 0x20cbc0e 0x20c4c4c 0x20c828d 0x20c7e70 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703216 compress/flate.newDeflateFast+0x396 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c4c4b runtime/pprof.printCountCycleProfile+0x38b runtime/pprof/pprof.go:486 # 0x20c828c runtime/pprof.writeProfileInternal+0x38c runtime/pprof/pprof.go:1002 # 0x20c7e6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:976 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 221184] @ 0x48dd33 0x4930f3 0x20d0472 0x20d0339 0x20d0378 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d0471 runtime/pprof.(*protobuf).varint+0x191 runtime/pprof/protobuf.go:19 # 0x20d0338 runtime/pprof.(*protobuf).length+0x58 runtime/pprof/protobuf.go:23 # 0x20d0377 runtime/pprof.(*protobuf).string+0x97 runtime/pprof/protobuf.go:93 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 73728] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 114688] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x493087 0x20cdc8c 0x20cdc0d 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdc8b runtime/pprof.(*profileBuilder).stringIndex+0xeab runtime/pprof/proto.go:137 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x428505 0x20cab71 0x20cc425 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cab70 runtime/pprof.allFrames+0x30 runtime/pprof/proto.go:214 # 0x20cc424 runtime/pprof.(*profileBuilder).appendLocsForStack+0x3c4 runtime/pprof/proto.go:454 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414dee 0x414d70 0x417d91 0x20cd7d0 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd7cf runtime/pprof.(*profileBuilder).emitLocation+0x9ef runtime/pprof/proto.go:625 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 491520] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414dee 0x414d70 0x417009 0x20cd110 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 38144] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417009 0x20cd110 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 589824] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1958368 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:152 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x61dd23 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x61dd22 net.(*Resolver).lookupIPAddr+0x362 net/lookup.go:344 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x5305e6 0x183e486 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183e485 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8a6ae 0xb8d1b9 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8a6ad github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseEscapeCharacter+0x28d github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:195 # 0xb8d1b8 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1b8 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:575 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0xb8b02b 0xb8d1aa 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8b02a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x36a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:267 # 0xb8d1a9 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1a9 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 73728] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x1a2987c 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5cf0 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5cef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x32f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:148 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x428505 0x246bf8a 0x246bf3e 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x246bf89 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x69 github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x246bf3d github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x1d github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:65 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a29409 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [10: 960] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x6dfa05 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x27d8969 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x27d8968 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x68 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:640 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27d8a65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d8a64 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6dfa05 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 196608] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 131072] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1351680] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 4480] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x71bcff 0x71bcab 0x71ce45 0x71c7c5 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x71bcfe vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x9e vendor/golang.org/x/net/http2/hpack/tables.go:58 # 0x71bcaa vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x71ce44 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x3e4 vendor/golang.org/x/net/http2/hpack/hpack.go:393 # 0x71c7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xe4 vendor/golang.org/x/net/http2/hpack/hpack.go:316 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x196fe3f 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196fe3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1428 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5ed0 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5ecf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x50f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:154 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x18d1ff1 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1ff0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1233 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x7fc177 0x7fcea5 0x7fd37f 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fc176 database/sql/driver.defaultConverter.ConvertValue+0x4d6 database/sql/driver/types.go:292 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1945932 0x1945830 0x194581e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1945931 github.com/lann/builder.Append+0x6f1 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194582f github.com/mattermost/squirrel.UpdateBuilder.Set+0x5ef github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x194581d 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x48dd05 0x41d56d 0x60dad8 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60dad7 net.(*Resolver).goLookupIPCNAMEOrder+0x157 net/dnsclient_unix.go:642 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [4: 1280] @ 0x48dd05 0x428505 0x791219 0x790332 0x790175 0x498001 # 0x791218 net/http.(*Transport).dialConn+0x178 net/http/transport.go:1770 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 64] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ef07 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2249a85 0x224c270 0x224c0d3 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ef06 encoding/json.addrMarshalerEncoder+0x166 encoding/json/encode.go:506 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2249a84 github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0x24 github.com/getsentry/sentry-go@v0.46.2/report/report.go:18 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a06e69 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x62b225 0x62774e 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x62b224 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x62774d net.(*netFD).dial+0x4cd net/sock_posix.go:141 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 144] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a1e63c 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:593 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x41d56d 0x5fd63a 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5fd639 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18cea67 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cea66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x1e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:964 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x299ba09 0x6b76bd 0x6b767b 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b76bc crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x1dc crypto/internal/fips140/tls13/tls13.go:131 # 0x6b767a crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x19a crypto/tls/handshake_client_tls13.go:712 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x605fc5 0x605f98 0x60575b 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 512] @ 0x48dd05 0x492ae9 0x4a2f72 0x4a2565 0x7744cf 0x77930d 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2f71 sync.(*poolChain).pushHead+0x131 sync/poolqueue.go:245 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x7744ce net/http.putBufioReader+0x12e net/http/server.go:870 # 0x77930c net/http.(*conn).finalFlush+0x2c net/http/server.go:1740 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x18c8e2f 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x18c8e2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x52e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:488 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a05030 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0502f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xc6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:329 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417314 0x6614e8 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6614e7 crypto/x509.newPolicyGraphNode+0xbc7 crypto/x509/verify.go:1058 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [13: 176384] @ 0x48dd0c 0x428505 0x136e476 0x137d69c 0x137d7e5 0x138fdc6 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x136e475 github.com/yuin/goldmark/parser.NewParser+0xf5 github.com/yuin/goldmark@v1.8.2/parser/parser.go:759 # 0x137d69b github.com/yuin/goldmark.DefaultParser+0x2db github.com/yuin/goldmark@v1.8.2/markdown.go:16 # 0x137d7e4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.8.2/markdown.go:102 # 0x138fdc5 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x105 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:68 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a0373c 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 192] @ 0x48dd05 0x428505 0x1368045 0x1368000 0x1366f4c 0x1372019 0x136f89d 0x13715f9 0x13715cc 0x136f78e 0x137d9ac 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1368044 github.com/yuin/goldmark/ast.NewLink+0x224 github.com/yuin/goldmark@v1.8.2/ast/inline.go:483 # 0x1367fff github.com/yuin/goldmark/parser.(*linkParser).parseLink+0x1df github.com/yuin/goldmark@v1.8.2/parser/link.go:335 # 0x1366f4b github.com/yuin/goldmark/parser.(*linkParser).Parse+0x30b github.com/yuin/goldmark@v1.8.2/parser/link.go:171 # 0x1372018 github.com/yuin/goldmark/parser.(*parser).parseBlock+0x9d8 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1225 # 0x136f89c github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.8.2/parser/parser.go:904 # 0x13715f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1150 # 0x13715cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.8.2/parser/parser.go:1148 # 0x136f78d github.com/yuin/goldmark/parser.(*parser).Parse+0x1cd github.com/yuin/goldmark@v1.8.2/parser/parser.go:903 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18476ab 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x2656f9a 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2656f99 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x9d9 github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:78 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x19eb119 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x19eb118 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x198 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:82 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd25 0x493412 0x53e105 0x53e1f0 0x543e45 0x183f327 0x183f2e1 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x543e44 strings.Repeat+0x2e4 strings/strings.go:677 # 0x183f326 github.com/mattermost/squirrel.Placeholders+0xe46 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x183f2e0 github.com/mattermost/squirrel.Eq.toSQL+0xe00 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28cacd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caccf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x42f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3744 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19477f4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x19477f3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x1247585 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x1247584 github.com/lib/pq/scram.(*Client).saltPassword+0xc4 github.com/lib/pq@v1.12.3/scram/scram.go:217 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x492ae9 0x5171c5 0x516019 0x895c46 0x890fd8 0x88f83f 0x88e8ee 0x88e305 0x88c276 0x88c4b1 0x88bc7c 0x8aa545 0x8aa524 0x1397ad0 0x1397932 0x258fafe 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x5171c4 reflect.Value.call+0xf64 reflect/value.go:608 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0x895c45 text/template.safeCall+0x85 text/template/funcs.go:366 # 0x890fd7 text/template.(*state).evalCall+0xa37 text/template/exec.go:870 # 0x88f83e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x88e8ed text/template.(*state).evalCommand+0x1cd text/template/exec.go:563 # 0x88e304 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x88c275 text/template.(*state).walk+0xd5 text/template/exec.go:267 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8aa544 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x8aa523 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1397acf github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:69 # 0x1397931 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:56 # 0x258fafd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xb1d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [6: 1536] @ 0x48dd2c 0x492ae9 0x296b1f4 0x296b231 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296b1f3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x296b230 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:552 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0xb645c5 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb645c4 encoding/gob.(*Encoder).encodeInterface+0x7e4 encoding/gob/encode.go:417 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [4: 192] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x4adb0f 0x4ade1a 0x4e4a85 0x4e4a4c 0x4e4494 0x5776ce 0x577118 0x578b18 0x1220045 0x121c566 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4adb0e syscall.SlicePtrFromStrings+0xee syscall/exec_unix.go:93 # 0x4ade19 syscall.forkExec+0x119 syscall/exec_unix.go:166 # 0x4e4a84 syscall.StartProcess+0x284 syscall/exec_unix.go:258 # 0x4e4a4b os.startProcess+0x24b os/exec_posix.go:55 # 0x4e4493 os.StartProcess+0x53 os/exec.go:272 # 0x5776cd os/exec.(*Cmd).Start+0x56d os/exec/exec.go:733 # 0x577117 os/exec.(*Cmd).Run+0x17 os/exec/exec.go:629 # 0x578b17 os/exec.(*Cmd).Output+0xb7 os/exec/exec.go:1026 # 0x1220044 code.sajari.com/docconv/v2.Tidy+0x2a4 code.sajari.com/docconv/v2@v2.0.0-pre.4/tidy.go:24 # 0x121c565 code.sajari.com/docconv/v2.ConvertHTML+0x65 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:25 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 240] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 7744] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 192] @ 0x48dd05 0x493087 0x736efb 0x736dab 0x7405f9 0x75ce9b 0x75ac16 0x759c12 0x498001 # 0x736efa net/http.(*http2dataBuffer).lastChunkOrAlloc+0x9a net/http/h2_bundle.go:1329 # 0x736daa net/http.(*http2dataBuffer).Write+0x8a net/http/h2_bundle.go:1311 # 0x7405f8 net/http.(*http2pipe).Write+0x178 net/http/h2_bundle.go:3955 # 0x75ce9a net/http.(*http2clientConnReadLoop).processData+0x21a net/http/h2_bundle.go:10014 # 0x75ac15 net/http.(*http2clientConnReadLoop).run+0x4b5 net/http/h2_bundle.go:9584 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x28bdad7 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x28bdad6 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x6b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2710 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1222e2c 0x12227c5 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x1222e2b gopkg.in/mail%2ev2.(*messageWriter).writePart+0xeb gopkg.in/mail.v2@v2.3.1/writeto.go:112 # 0x12227c4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x204 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd05 0x493087 0x1844505 0x184518b 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 128] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a04b65 0x1a04adf 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a04b64 github.com/mattermost/squirrel.CaseBuilder.Else+0x7a4 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1a04ade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126a7fe 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7fd github.com/lib/pq.binaryDecode+0x5d github.com/lib/pq@v1.12.3/encode.go:68 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x778d57 0x778baa 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x778d56 net/http.(*response).write+0x116 net/http/server.go:1644 # 0x778ba9 net/http.(*response).Write+0x29 net/http/server.go:1621 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0x4e75ea 0x4e75e1 0x17da065 0x266b88c 0x266b4fc 0x28a4d46 0x28a4d29 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x4e75e9 os.Open+0x49 os/file.go:390 # 0x4e75e0 os.ReadFile+0x40 os/file.go:865 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x28a4d45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x28a4d28 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1a8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:584 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x184be65 0x18e5639 0x18e560a 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184be64 github.com/mattermost/squirrel.UpdateBuilder.Table+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:222 # 0x18e5638 github.com/mattermost/squirrel.StatementBuilderType.Update+0x3d8 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x18e5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2767 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x192280e 0x192280f 0x186815b 0x218b3f7 0x2118fc8 0x258127d 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x192280d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x192280e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:374 # 0x186815a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5499 # 0x218b3f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4505 # 0x2118fc7 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 # 0x258127c 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 [2: 524288] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2113536] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 6912] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x24adbe9 0x2766ce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2766ce4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x584 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1395 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x199ad05 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ad04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0xc6149a 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61499 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x39 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 704] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x1a06def 0x1a06dcb 0x1309f10 0x498001 # 0x1a06dee github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 528] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x5469b7 0xc5bb2e 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a0423c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0423b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:261 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 864] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a289dd 0x1890a51 0x21b9ffd 0x255bf48 0x255b2f6 0x28b6d5e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a289dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetForLogin+0x25c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1396 # 0x1890a50 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetForLogin+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16614 # 0x21b9ffc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetForLogin+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13136 # 0x255bf47 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserForLogin+0x107 github.com/mattermost/mattermost/server/v8/channels/app/login.go:117 # 0x255b2f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AuthenticateUserForLogin+0x155 github.com/mattermost/mattermost/server/v8/channels/app/login.go:46 # 0x28b6d5d github.com/mattermost/mattermost/server/v8/channels/api4.login+0x61d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1a061f5 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a061f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x2d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:419 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x1a06b87 0x1309f10 0x498001 # 0x1a06b86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x466 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 560] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a07269 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846b2b 0x1a047e5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a047e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:294 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x41d554 0x5fd63a 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5fd639 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x19038ad 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19038ac github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc2c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x55730a 0x556e3d 0x5469d4 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x557309 encoding/json.stateBeginValueOrEmpty+0x49 encoding/json/scanner.go:213 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 32] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8cf25 0xb8d15d 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8cf24 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0x4c4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:548 # 0xb8d15c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x15c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a06d8f 0x1a06d06 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a06d8e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06d05 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:442 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19e0c3e 0x19e0be3 0x19e0bf1 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e0c3d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e0be2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e0bf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:52 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 256] @ 0x48dd05 0x493087 0x183f290 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x183b0cc 0x183b938 0x198d2ca 0x1879d84 0x219f744 0x263172a 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x183b0cb github.com/mattermost/squirrel.(*deleteData).ToSql+0x36b github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x198d2c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:51 # 0x1879d83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10149 # 0x219f743 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8102 # 0x2631729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x9c9 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 448] @ 0x48dd2c 0x41d5e6 0xb83c7e 0xb83ac5 0x498001 # 0xb83c7d github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xbd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:178 # 0xb83ac4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:156 0: 0 [2: 512] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227f549 0x27013d8 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27013d7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x637 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:280 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f71ff 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f71fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x1845065 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1845064 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x2e4 github.com/mattermost/squirrel@v0.5.0/select.go:96 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 10752] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x493087 0x212845a 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2128459 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x739 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x20dae11 0x498001 # 0x20dae10 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0x150 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:51 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 64] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc97b89 0xc97b8a 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97b88 github.com/tinylib/msgp/msgp.ReadStringBytes+0xb08 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97b89 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb09 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x184afae 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x1247802 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x1247801 github.com/lib/pq/scram.(*Client).clientProof+0x101 github.com/lib/pq@v1.12.3/scram/scram.go:237 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x41d56d 0x5fd63a 0x61dd05 0x61b973 0x604c05 0x6058a5 0x78e8f4 0x7918e7 0x790332 0x790175 0x498001 # 0x5fd639 internal/singleflight.(*Group).DoChan+0x39 internal/singleflight/singleflight.go:70 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e8f3 net/http.(*Transport).dial+0xb3 net/http/transport.go:1320 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x19f1df4 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f1df3 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xb3 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x4b72c6 0x533094 0x5338ae 0x5363ac 0x5305d3 0x20e3834 0x20e32cd 0x498001 # 0x4b72c5 time.Time.String+0x165 time/format.go:570 # 0x533093 fmt.(*pp).handleMethods+0x2f3 fmt/print.go:674 # 0x5338ad fmt.(*pp).printArg+0x42d fmt/print.go:757 # 0x5363ab fmt.(*pp).doPrintf+0x3eb fmt/print.go:1075 # 0x5305d2 fmt.Sprintf+0x52 fmt/print.go:239 # 0x20e3833 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0x3f3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:155 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x26bc87d 0x27372f9 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bc87c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:2798 # 0x27372f8 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x4d8 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de990 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de98f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:419 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 1408] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x1252cd9 0x1252155 0x125d165 0x801017 0x8093ee 0x810451 0x80912b 0x80902d 0x808ede 0x806822 0x808e2c 0x13a172f 0x13a1718 0x19db71f 0x1a0d92c 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x1252cd8 github.com/lib/pq.(*conn).simpleExec+0x298 github.com/lib/pq@v1.12.3/conn.go:596 # 0x1252154 github.com/lib/pq.(*conn).begin+0x94 github.com/lib/pq@v1.12.3/conn.go:489 # 0x125d164 github.com/lib/pq.(*conn).BeginTx+0xe4 github.com/lib/pq@v1.12.3/conn_go18.go:75 # 0x801016 database/sql.ctxDriverBegin+0x76 database/sql/ctxutil.go:104 # 0x8093ed database/sql.(*DB).beginDC.func1+0xad database/sql/sql.go:1906 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80912a database/sql.(*DB).beginDC+0xaa database/sql/sql.go:1902 # 0x80902c database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x808edd database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x808e2b database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x13a172e database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x13a1717 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x19db71e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Begin+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:169 # 0x1a0d92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:839 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [7: 4480] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1ccb2d0 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccb2cf github.com/gorilla/mux.(*Route).Match+0x2ef github.com/gorilla/mux@v1.8.1/route.go:102 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x281b815 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x281b814 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:98 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 720] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18df325 0x18df2d7 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18df324 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x2e4 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18df2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2157 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x196681a 0x196679d 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1966819 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x5f9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196679c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x57c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:641 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x552305 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x552304 encoding/json.arrayEncoder.encode+0x104 encoding/json/encode.go:888 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1903405 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x784 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:430 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x184b9b4 0x19dc226 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1966667 0x196657b 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1966666 github.com/mattermost/squirrel.StatementBuilderType.Select+0x446 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196657a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x35a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:638 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x4246eb 0x212b56a 0x24b77a8 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x24b77a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe9c25 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x2625354 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2625353 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1536] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x54d9be 0x54d413 0x2249a85 0x224c270 0x224c0d3 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54d9bd encoding/json.newEncodeState+0x1d encoding/json/encode.go:316 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0x2249a84 github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0x24 github.com/getsentry/sentry-go@v0.46.2/report/report.go:18 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x18d1d37 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1d36 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1227 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227f549 0x27019b2 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0xb8d2c6 0xb8d37b 0xb8d27b 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x2622785 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d2c5 container/list.New+0x65 container/list/list.go:62 # 0xb8d37a github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb8d27a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x2622784 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:815 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x21f91ae 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f91ad 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 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19e2aa5 0x19e29b2 0x19e29b1 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e2aa4 github.com/lann/builder.Append+0x6c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e29b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5d1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e29b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:147 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x85a585 0x85987c 0x858b5e 0x498001 # 0x85a584 github.com/mattermost/logr/v2.calcCaller+0x144 github.com/mattermost/logr/v2@v2.0.22/logrec.go:179 # 0x85987b github.com/mattermost/logr/v2.(*LogRec).prep+0x3db github.com/mattermost/logr/v2@v2.0.22/logrec.go:86 # 0x858b5d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [1: 16] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x184ce0c 0x184ce90 0x19457c7 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184ce0b github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xab github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19457c6 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 16] @ 0x48dd25 0x493412 0x53e105 0x53e1f0 0x543e45 0x183f327 0x183f2e1 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x543e44 strings.Repeat+0x2e4 strings/strings.go:677 # 0x183f326 github.com/mattermost/squirrel.Placeholders+0xe46 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x183f2e0 github.com/mattermost/squirrel.Eq.toSQL+0xe00 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1945485 0x194537d 0x194536b 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1945484 github.com/lann/builder.Append+0x244 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194537c github.com/mattermost/squirrel.UpdateBuilder.Set+0x13c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x194536a 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19ca070 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ca06f 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x428505 0x70a371 0x70d226 0x70cb05 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x55a668 0x55a265 0x559f35 0x220bfb3 0x25adb94 0x262420b 0x26234f4 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a370 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x220bfb2 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x25adb93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:165 # 0x262420a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1016 # 0x26234f3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x3f3 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:930 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ef85 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183ef84 github.com/mattermost/squirrel.Eq.toSQL+0xaa4 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x1840199 0x184063a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840198 github.com/mattermost/squirrel.Lt.toSql+0x438 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2560] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [170: 48960] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f71ff 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19f71fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd05 0x428505 0x56fd48 0x60ab1b 0x60aae6 0x60c005 0x60f66c 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x60ab1a context.WithDeadline+0x2fa context/context.go:626 # 0x60aae5 net.(*Resolver).exchange+0x2c5 net/dnsclient_unix.go:182 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a035fb 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1a035fa github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1da github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 1408] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1536] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [12: 786432] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x1b8e506 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:147 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5b3d 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5b3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x17c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:142 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x63f648 0x63f5df 0x262525c 0x2623195 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f647 net/url.(*URL).ResolveReference+0x27 net/url/url.go:1113 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1200] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [407: 234432] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eda12 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eda11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0x171 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:337 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a0d0b6 0x1a0d0a4 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [60: 4800] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 768] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 64] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4e8a73 0x4e64de 0xc40413 0xc4040a 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e8a72 os.openFileNolog+0xf2 os/file_unix.go:265 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc40412 os.Open+0x132 os/file.go:390 # 0xc40409 github.com/mattermost/mattermost/server/public/model.FindManifest+0x129 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28a27a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28a27a4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x944 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd2c 0x41d5e6 0x726e59 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x726e58 net/http.setRequestCancel+0x178 net/http/client.go:381 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 1152] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x27031b8 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x27031b7 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:645 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1966667 0x196657b 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1966666 github.com/mattermost/squirrel.StatementBuilderType.Select+0x446 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196657a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x35a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:638 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd0c 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x428505 0x1920dee 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920ded 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:221 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1664] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x54295f 0x223d459 0x223d45f 0x225c134 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223d458 strings.Split+0x138 strings/strings.go:361 # 0x223d45e github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x13e github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:466 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1792] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x40d656 0xca24b1 0xca24a7 0xca24a3 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0x40d655 internal/strconv.FormatInt+0xd5 internal/strconv/itoa.go:43 # 0xca24b0 internal/strconv.Itoa+0x30 internal/strconv/itoa.go:51 # 0xca24a6 strconv.Itoa+0x26 strconv/number.go:215 # 0xca24a2 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x22 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [4: 576] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x76bd45 0x2596666 0x2596632 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x76bd44 net/http.NewRequestWithContext+0x164 net/http/request.go:902 # 0x2596665 net/http.NewRequest+0x385 net/http/request.go:863 # 0x2596631 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x351 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:565 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ca9d7 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ca9d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0xb64785 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0xb64784 encoding/gob.(*Encoder).encodeInterface+0x9a4 encoding/gob/encode.go:426 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [8: 3584] @ 0x48dd05 0x428505 0x259266b 0x2594292 0x2594edf 0x498001 # 0x259266a github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x290a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:207 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1920] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3520] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x1cce7eb 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x1cce7ea github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x1ca github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:126 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a0359e 0x1a0351a 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0359d github.com/mattermost/squirrel.SelectBuilder.From+0x17d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a03519 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:195 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1a19370 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a1936f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc5582c 0x281b9ec 0x281b9a4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5582b github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x4b github.com/mattermost/mattermost/server/public/model/post.go:168 # 0x281b9eb github.com/mattermost/mattermost/server/public/model.AddEventParameterAuditableToAuditRec+0x2cb github.com/mattermost/mattermost/server/public/model/audit_record.go:97 # 0x281b9a3 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x283 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:108 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18469d0 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 47360] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 4224] @ 0x48dd05 0x428505 0x261cbd2 0x261cbc6 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261cbd1 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0x261cbc5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:190 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x2622785 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x2622784 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:815 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x184af7f 0x184ad99 0x184babf 0x19deec6 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x184af7e bytes.(*Buffer).String+0xabe bytes/buffer.go:77 # 0x184ad98 github.com/mattermost/squirrel.(*updateData).ToSql+0x8d8 github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [3: 1056] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0xc57f57 0xc57f2c 0x1961235 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc57f56 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0xd96 github.com/mattermost/mattermost/server/public/model/utils.go:587 # 0xc57f2b github.com/mattermost/mattermost/server/public/model.(*Post).IsValid+0xd6b github.com/mattermost/mattermost/server/public/model/post.go:565 # 0x1961234 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x434 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:174 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x428505 0x4b0745 0x4b0af7 0x6276b0 0x62717b 0x61c3d8 0x62f787 0x62dfdf 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x4b0744 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:669 # 0x4b0af6 syscall.Getsockname+0x76 syscall/syscall_linux.go:715 # 0x6276af net.(*netFD).dial+0x42f net/sock_posix.go:139 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x62dfde net.dialUDP+0x29e net/udpsock.go:304 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x251374d 0x251373f 0x2513567 0x498001 # 0x251374c io.Pipe+0x6c io/pipe.go:197 # 0x251373e github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1+0x5e github.com/mattermost/mattermost/server/v8/channels/app/file.go:966 # 0x2513566 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x86 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 10289152] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 12976128] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 245760] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 16367616] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3456] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474b30 0x62c8f4 0x62c836 0x62dec5 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x62c8f3 net.JoinHostPort+0x233 net/ipsock.go:242 # 0x62c835 net.(*UDPAddr).String+0x175 net/udpsock.go:52 # 0x62dec4 net.dialUDP+0x184 net/udpsock.go:300 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [3: 864] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x130d3c5 0x130d39e 0x130d37d 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x130d3c4 net/textproto.MIMEHeader.Set+0x64 net/textproto/header.go:22 # 0x130d39d net/http.Header.Set+0x3d net/http/header.go:40 # 0x130d37c github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0x1c github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:18 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x5ccf85 0x5ca685 0x5cf6cf 0x5cf638 0x5ccbc4 0x5cd01c 0x5ca685 0x5cf517 0x5d5a3e 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x5ca684 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x1a4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5cf6ce crypto/ecdsa.addASN1IntBytes+0x6e crypto/ecdsa/ecdsa.go:483 # 0x5cf637 crypto/ecdsa.encodeSignature.func1+0x57 crypto/ecdsa/ecdsa.go:468 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x5ca684 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x1a4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5cf516 crypto/ecdsa.encodeSignature+0x96 crypto/ecdsa/ecdsa.go:466 # 0x5d5a3d crypto/ecdsa.signFIPS[...]+0x13d crypto/ecdsa/ecdsa.go:423 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x26ade2b 0x257a4a9 0x257a22b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x257a4a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0xc368 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x257a22a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0ea github.com/mattermost/mattermost/server/v8/channels/app/notification.go:844 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 3112960] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0c51e 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c51d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x69d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:748 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0xca121d 0xca1bfc 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca121c github.com/mattermost/mattermost/server/public/model.(*WebsocketBroadcast).copy+0x3c github.com/mattermost/mattermost/server/public/model/websocket_message.go:174 # 0xca1bfb github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x5b github.com/mattermost/mattermost/server/public/model/websocket_message.go:317 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 256] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x2626a29 0x283130c 0x281b595 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2626a28 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x283130b github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:39 # 0x281b594 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x234 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:83 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x428505 0x70301b 0x70310e 0x703a05 0x703a0d 0x97e758 0x97e851 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x70301a compress/flate.newHuffmanBitWriter+0x19a compress/flate/huffman_bit_writer.go:95 # 0x70310d compress/flate.(*compressor).init+0x28d compress/flate/deflate.go:572 # 0x703a04 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:666 # 0x703a0c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:680 # 0x97e757 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x97e850 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 7905280] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [87: 11136] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [29: 928] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [64: 1024] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1969949 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1969948 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 2304] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2880e99 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2880e98 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMember+0x378 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a04ee5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04ee4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:319 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cad25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cad24 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x484 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3745 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d1305 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1179 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28002b2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28002b1 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x271 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28bb5e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28bb5e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2501 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x21f9e0b 0x21d4da2 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 1728] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3360] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x25d4b05 0x127ee08 0x12c8e95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x25d4b04 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).RolesGrantPermission+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1132 # 0x127ee07 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).RolesGrantPermission+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x12c8e94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).RolesGrantPermission+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6395 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x48dd05 0x493087 0x1840894 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 122880] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18eb2e8 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb2e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3176 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a060c5 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a060c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:406 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 7840] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [219: 70080] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 192] @ 0x48dd05 0x492ae9 0x54295f 0x8fc1d4 0x8fc16b 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc1d3 strings.Split+0xd3 strings/strings.go:361 # 0x8fc16a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f7265 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x25d4698 0x25d4603 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x25d4697 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xd7 github.com/mattermost/mattermost/server/public/model/websocket_message.go:292 # 0x25d4602 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x42 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1109 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18cee70 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cee6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x20f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:982 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0492d 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a0492c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:299 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18eb44f 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18eb44e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x34e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3171 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x428505 0x26bd951 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bd950 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x330 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2916 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1a25c25 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25c24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1139 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 640] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 9072] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e231f 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e231e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 524288] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 7200768] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3168] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4930f3 0x54d4e5 0xca6bee 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6bed github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x2d github.com/mattermost/mattermost/server/public/model/channel.go:575 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 8848] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184418e 0x18442bd 0x183a417 0x183a6bc 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x183a416 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x183a6bb github.com/mattermost/squirrel.(*caseData).ToSql+0x13b github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48dd2c 0x4752f7 0x5305e6 0x25d4689 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x25d4688 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1109 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x19f1e66 0x19f1e20 0x19f71a5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 36864] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x21fb6cd 0x21fb6c3 0x21fadd7 0x4a3a6a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x21fb6cc bytes.(*Buffer).Grow+0xec bytes/buffer.go:186 # 0x21fb6c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:562 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 14592] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x4ce234 0x18444c5 0x184a5be 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184a5bd github.com/mattermost/squirrel.(*updateData).ToSql+0xfd github.com/mattermost/squirrel@v0.5.0/update.go:70 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2113ae8 0x220189a 0x25f59cf 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2113ae7 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 # 0x2201899 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateCacheForChannel+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:207 # 0x25f59ce github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x60e github.com/mattermost/mattermost/server/v8/channels/app/post.go:668 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4284416] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 4481024] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [3: 860160] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4694016] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1b1d0dd 0x1b1e3a8 0x1b1cd65 0x1b19225 0x1b188d7 0x1b1aa7a 0x1b2ada5 0x251281a 0x2510c0d 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b1d0dc github.com/bep/imagemeta.(*metaDecoderEXIF).decodeTag+0x27c github.com/bep/imagemeta@v0.12.0/metadecoder_exif.go:334 # 0x1b1e3a7 github.com/bep/imagemeta.(*metaDecoderEXIF).decodeTags+0x87 github.com/bep/imagemeta@v0.12.0/metadecoder_exif.go:474 # 0x1b1cd64 github.com/bep/imagemeta.(*metaDecoderEXIF).decode+0x144 github.com/bep/imagemeta@v0.12.0/metadecoder_exif.go:283 # 0x1b19224 github.com/bep/imagemeta.(*imageDecoderPNG).decode.func2+0x2c4 github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:52 # 0x1b188d6 github.com/bep/imagemeta.(*imageDecoderPNG).decode+0x356 github.com/bep/imagemeta@v0.12.0/imagedecoder_png.go:53 # 0x1b1aa79 github.com/bep/imagemeta.Decode+0x699 github.com/bep/imagemeta@v0.12.0/imagemeta.go:234 # 0x1b2ada4 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GetImageOrientation+0x304 github.com/mattermost/mattermost/server/v8/channels/app/imaging/orientation.go:154 # 0x2512819 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).preprocessImage+0x899 github.com/mattermost/mattermost/server/v8/channels/app/file.go:918 # 0x2510c0c github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x68c github.com/mattermost/mattermost/server/v8/channels/app/file.go:818 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x1847b0b 0x19038ad 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19038ac github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc2c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a22bce 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1a22bcd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:926 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 32] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x2880816 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2880815 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x2d5 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4930f3 0x63ed65 0x63ece6 0x25e9e48 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63ed64 strings.(*Builder).WriteString+0x5c4 strings/builder.go:114 # 0x63ece5 net/url.Values.Encode+0x545 net/url/url.go:1017 # 0x25e9e47 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x607 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:206 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28bb5e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28bb5e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2501 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 18432] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a4085 0x6a4086 0x7944e7 0x57b3c3 0x57b4f3 0x794ff2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a4084 crypto/tls.(*Conn).readRecord+0x144 crypto/tls/conn.go:588 # 0x6a4085 crypto/tls.(*Conn).Read+0x145 crypto/tls/conn.go:1393 # 0x7944e6 net/http.(*persistConn).Read+0x46 net/http/transport.go:2174 # 0x57b3c2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x57b4f2 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x794ff1 net/http.(*persistConn).readLoop+0x171 net/http/transport.go:2330 0: 0 [3: 2112] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a041e9 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a041e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:261 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a06e69 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 6144] @ 0x48dd2c 0x4930f3 0x6bde95 0x6bde65 0x6bdd77 0x5ccbc4 0x5cd01c 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bde94 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bde64 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bdd76 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e2272 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e2271 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x428505 0x2598157 0x257de6c 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2598156 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ShouldSendPushNotification+0x13b6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:639 # 0x257de6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfd2b github.com/mattermost/mattermost/server/v8/channels/app/notification.go:559 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x18eba95 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18eba94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x19034e5 0x19034c7 0x19034c6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19034e4 github.com/mattermost/squirrel.newPart+0x864 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x19034c6 github.com/mattermost/squirrel.SelectBuilder.From+0x846 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19034c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x845 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x191e60d 0x1867292 0x218a2b6 0x21187a4 0x24f69d7 0x2621a65 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191e60c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlEmojiStore.GetMultipleByName+0x10c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/emoji_store.go:66 # 0x1867291 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5262 # 0x218a2b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4314 # 0x21187a3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x3c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x24f69d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x216 github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x2621a64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:740 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 24320] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2833045 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2833044 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0xc3e925 0xc3e7b4 0xc3e611 0x2623265 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0xc3e924 github.com/mattermost/mattermost/server/public/model.IsSVGImageURL+0x44 github.com/mattermost/mattermost/server/public/model/link_metadata.go:122 # 0xc3e7b3 github.com/mattermost/mattermost/server/public/model.FilterSVGImages+0xb3 github.com/mattermost/mattermost/server/public/model/link_metadata.go:102 # 0xc3e610 github.com/mattermost/mattermost/server/public/model.TruncateOpenGraph+0x450 github.com/mattermost/mattermost/server/public/model/link_metadata.go:83 # 0x2623264 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x164 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:907 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x286690d 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x286690c github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x156c github.com/mattermost/mattermost/server/v8/channels/api4/system.go:220 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x126a385 0x126a368 0x126a395 0x12726c5 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x126a384 internal/strconv.AppendBool+0xc4 internal/strconv/atob.go:34 # 0x126a367 strconv.AppendBool+0xa7 strconv/number.go:35 # 0x126a394 github.com/lib/pq.encode+0xd4 github.com/lib/pq@v1.12.3/encode.go:46 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x190344a 0x1903418 0x1903426 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903449 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7c9 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1903417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x797 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1903425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:431 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2114fef 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x2114fee github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:303 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x2979e90 0x299b2b5 0x299bfa6 0x299b430 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b42f crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x8f crypto/internal/fips140/tls13/tls13.go:98 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x28cb5ab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x28cb5aa github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3788 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 1344] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28b0a87 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28b0a86 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x1226 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1601 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x428505 0x19601be 0x1960813 0x1962645 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x1960812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:106 # 0x1962644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1844 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:254 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e6605 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e6604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x13a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2800 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1847b1c 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19ca8c5 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x19ca8c4 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 864] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x54d4e5 0x257a592 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x257a591 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:863 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184648c 0x18463bb 0x18464b0 0x18e5545 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184648b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x18e5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2765 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x192101a 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1921019 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x299 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 90112] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 5376] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61592 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1974a65 0x1974a36 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1974a64 github.com/mattermost/squirrel.StatementBuilderType.Select+0x4a4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1974a35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1834 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x46be75 0x99fb53 0x9a35e6 0x9a393c 0x12f192a 0x1287a0c 0x498001 # 0x99fb52 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x372 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x9a35e5 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x9a393b github.com/hashicorp/yamux.(*Stream).Close+0x1db github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0x12f1929 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2e9 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:46 # 0x1287a0b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x28b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:488 0: 0 [1: 48] @ 0x48dd05 0x428505 0x727050 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x72704f net/http.setRequestCancel+0x36f net/http/client.go:406 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0d1bc 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0d1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:801 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x1846b3c 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 13568] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 4224] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x28a51f1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28a51f0 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x670 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:598 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x4b7aa7 0x732352 0x7302ca 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4b7aa6 time.Time.Format+0xe6 time/format.go:650 # 0x732351 net/http.setLastModified+0x131 net/http/fs.go:623 # 0x7302c9 net/http.serveContent+0x89 net/http/fs.go:275 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a07fef 0x1a07f66 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a07fee github.com/mattermost/squirrel.SelectBuilder.From+0x12e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07f65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:556 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1939391 0x193930d 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1939390 github.com/mattermost/squirrel.SelectBuilder.From+0x250 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x193930c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x1cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1491 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x428505 0x196a45f 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196a45e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x43e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:931 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x19580ef 0x1958095 0x1958030 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x19580ee github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x14e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1958094 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x195802f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:147 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x415da5 0xb8e35e 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8e35d github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1bd github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:54 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19748f5 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19748f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1831 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x428505 0x19601be 0x1960813 0x19662aa 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x1960812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:106 # 0x19662a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:626 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x493087 0x6598ee 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6598ed crypto/x509.parseCertificate+0x11ad crypto/x509/parser.go:1052 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x1a231a8 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x1a231a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:945 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9c67 0x28ae0fb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2599 # 0x28ae0fa github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x65a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28adc67 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28adc66 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x1c6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1355 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 720] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227f549 0x27019b2 0x2700c90 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2700c8f github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5ef github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:211 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 8448] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 57344] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 344064] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4784128] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 286720] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 7118848] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 10600448] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 288] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 29184] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x62f79d 0x62f7be 0x62dfdf 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x62f79c net.newUDPConn+0xbc net/udpsock.go:278 # 0x62f7bd net.(*sysDialer).dialUDP+0xdd net/udpsock_posix.go:224 # 0x62dfde net.dialUDP+0x29e net/udpsock.go:304 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c6010 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c600f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x64f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:158 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 13440] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x63f5c5 0x262525c 0x2623195 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x63f5c4 net/url.(*URL).Parse+0x24 net/url/url.go:1099 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x458d18 0x46be75 0x125d6c7 0x498001 # 0x125d6c6 github.com/lib/pq.(*conn).watchCancel.func1+0x86 github.com/lib/pq@v1.12.3/conn_go18.go:99 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1a1f009 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a1f008 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x4246eb 0x13981b4 0x270f109 0x270edf5 0x281ea9b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13981b3 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x253 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:41 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x281ea9a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x151a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:356 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a06e69 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 3840] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x6598b2 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6598b1 crypto/x509.parseCertificate+0x1171 crypto/x509/parser.go:1051 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 8] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a0ee45 0x1a0ee27 0x1a0ee26 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0ee44 github.com/mattermost/squirrel.newPart+0xe4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a0ee26 github.com/mattermost/squirrel.SelectBuilder.From+0xc6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0ee25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1045 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a07f65 0x1a07f43 0x1a07f28 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a07f64 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a07f42 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a07f27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:555 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 6912] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 425984] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d8727 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d8726 github.com/mattermost/mattermost/server/v8/channels/api4.getFile+0x1506 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:627 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a08054 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08053 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x193 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x2245e36 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x2245e35 github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x275 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:159 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x197260f 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x197260e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1688 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x199ac36 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ac35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19f7db8 0x19f7d86 0x19f7d94 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f7db7 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x97 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19f7d85 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19f7d93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1171 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28ca089 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28ca088 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x188 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3668 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0x13304e5 0x13344f7 0x1334b6d 0x1314202 0x2626432 0x26260ed 0x2624e65 0x262352c 0x2620c65 0x261e377 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13304e4 image/png.(*decoder).parsePLTE+0x104 image/png/reader.go:241 # 0x13344f6 image/png.(*decoder).parseChunk+0x236 image/png/reader.go:892 # 0x1334b6c image/png.DecodeConfig+0x12c image/png/reader.go:1006 # 0x1314201 image.DecodeConfig+0x241 image/format.go:107 # 0x2626431 github.com/mattermost/mattermost/server/v8/channels/app.parseImages+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1203 # 0x26260ec github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x32c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1181 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 262144] @ 0x48dd33 0x492ae9 0x9163fe 0x916926 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916925 golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x85 golang.org/x/net@v0.54.0/html/token.go:337 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 368640] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [3: 491520] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 4915200] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 88] @ 0x48dd05 0x428505 0xb59006 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 336] @ 0x48dd05 0x428505 0x41d554 0x60dad8 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60dad7 net.(*Resolver).goLookupIPCNAMEOrder+0x157 net/dnsclient_unix.go:642 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x247a52d 0x24798fc 0x28b00ae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x247a52c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToManageBot+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x24798fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUserOrBot+0xdb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x28b00ad github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x84d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1540 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x223d427 0x225c134 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d426 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x106 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:465 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 2688] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 800] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1a2a6f5 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x1a2a6f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1552 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x21f9d85 0x21d4da2 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0c5a5 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:749 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 11304960] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 712704] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 14229504] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979dfb 0x299af5a 0x299be65 0x299ba09 0x6dfb65 0x6dfb3a 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6dfb64 crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x64 crypto/internal/fips140/tls13/tls13.go:155 # 0x6dfb39 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x39 crypto/tls/key_schedule.go:48 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 40704] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x28a4d46 0x28a4d29 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x28a4d45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x28a4d28 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1a8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:584 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xca23cb 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xca23ca github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x4a github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 10649600] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x27d3e2e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27d3e2d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x86d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:324 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x6598b2 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6598b1 crypto/x509.parseCertificate+0x1171 crypto/x509/parser.go:1051 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x184b9b4 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 720] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x198dd66 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198dd65 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1920] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1008] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 5760] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 160] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5fbf 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5fbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x5fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:157 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x7fc177 0x7fcea5 0x7fd37f 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fc176 database/sql/driver.defaultConverter.ConvertValue+0x4d6 database/sql/driver/types.go:292 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1248] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19e0fc6 0x19e0dfe 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e0fc5 github.com/mattermost/squirrel.InsertBuilder.Values+0x425 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x470e65 0x21285ed 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21285ec github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x8cc github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:217 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0xb62a71 0xb62a13 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62a70 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xb62a12 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1920f7d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920f7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120165 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x484 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:125 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19448f5 0x19447ff 0x19447ed 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19448f4 github.com/lann/builder.Append+0x2f4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19447fe github.com/mattermost/squirrel.UpdateBuilder.Set+0x1fe github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19447ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:154 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x54295f 0x8fc252 0x8fc1de 0x27169c5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc251 strings.Split+0x151 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1903473 0x1903418 0x1903426 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1903472 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7f2 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1903417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x797 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1903425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:431 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0423c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0423b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x6bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:261 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x428505 0x19ec92c 0x19f76dd 0x19f74cb 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ec92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:186 # 0x19f76dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x5bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:204 # 0x19f74ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1143 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x18476bc 0x1a06e69 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 352] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x12e3652 0x4a3dbf 0x4a3e57 0x12e352e 0x12e3501 0x25c46aa 0x2817367 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12e3651 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf1 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e352d sync.(*Map).Range+0x4d sync/map.go:114 # 0x12e3500 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x25c46a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetActivePluginManifests+0x29 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:402 # 0x2817366 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x66 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:256 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 11520] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0x1a1e6aa 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e6a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:599 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1920] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18c6265 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c6264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x8a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:170 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x56fc19 0x60ab1b 0x60aae6 0x60c005 0x60f66c 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x60ab1a context.WithDeadline+0x2fa context/context.go:626 # 0x60aae5 net.(*Resolver).exchange+0x2c5 net/dnsclient_unix.go:182 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce9b0 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:966 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a06dea 0x1a06dcb 0x1309f10 0x498001 # 0x1a06de9 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 192] @ 0x48dd05 0x428505 0x270f345 0x282512c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x282512b github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xf0b github.com/mattermost/mattermost/server/v8/channels/api4/post.go:908 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 2973696] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0xbed209 0xbed1fd 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbed208 github.com/vmihailenco/msgpack/v5.GetEncoder+0x28 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:51 # 0xbed1fc github.com/vmihailenco/msgpack/v5.Marshal+0x1c github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:61 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x428505 0x2249aa9 0x2249b4e 0x224c270 0x224c0d3 0x498001 # 0x2249aa8 github.com/getsentry/sentry-go/internal/protocol.NewClientReportItem+0x48 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:246 # 0x2249b4d github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0xed github.com/getsentry/sentry-go@v0.46.2/report/report.go:22 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc976bb 0xc976bc 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc976ba github.com/tinylib/msgp/msgp.ReadStringBytes+0x63a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc976bb github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x63b github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:565 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x492ae9 0x9a1576 0x498001 # 0x9a1575 github.com/hashicorp/yamux.(*Session).handlePing.func1+0x35 github.com/hashicorp/yamux@v0.1.2/session.go:638 0: 0 [5: 320] @ 0x48dd05 0x493087 0x1904afd 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x8dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 960] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [7: 168] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x4246eb 0x1846025 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 168] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x6dfbeb 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6dfbea crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0xea crypto/tls/key_schedule.go:49 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f495 0x281e805 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f494 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x314 github.com/mattermost/mattermost/server/v8/channels/web/context.go:78 # 0x281e804 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1284 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x12534f8 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x12534f7 github.com/lib/pq.(*conn).simpleQuery+0x3d7 github.com/lib/pq@v1.12.3/conn.go:664 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x27177c9 0x271779c 0x2717787 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27177c8 net/textproto.MIMEHeader.Set+0x10e8 net/textproto/header.go:22 # 0x271779b net/http.Header.Set+0x10bb net/http/header.go:40 # 0x2717786 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x10a6 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:239 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184648c 0x18463bb 0x18464b0 0x19030a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184648b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x19030a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e2272 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e2271 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ba7fe 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x194333f 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 48] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1989f34 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1989f33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Get+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:118 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x128c21d 0x128c1d1 0x12ec124 0x25f2f9a 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x25f09b7 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x128c21c net/rpc.(*Client).Call+0x11c net/rpc/client.go:321 # 0x128c1d0 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageWillBePosted+0xd0 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:898 # 0x12ec123 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageWillBePosted+0x63 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:94 # 0x25f2f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func4+0x79 github.com/mattermost/mattermost/server/v8/channels/app/post.go:325 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x25f09b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x13d6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:324 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x7ab985 0x7ab900 0x7af13a 0x7bd4f0 0x7bd4eb 0x2679f25 0x2679f0b 0x2679a4b 0x26cf95b 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7ab984 regexp/syntax.(*parser).newRegexp+0xa4 regexp/syntax/parse.go:147 # 0x7ab8ff regexp/syntax.(*parser).literal+0x1f regexp/syntax/parse.go:369 # 0x7af139 regexp/syntax.parse+0xbd9 regexp/syntax/parse.go:931 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x2679f24 regexp.Compile+0x64 regexp/regexp.go:131 # 0x2679f0a github.com/mattermost/mattermost/server/v8/channels/app.replaceUserIds+0x4a github.com/mattermost/mattermost/server/v8/channels/app/slack.go:126 # 0x2679a4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessSlackText+0x8a github.com/mattermost/mattermost/server/v8/channels/app/slack.go:82 # 0x26cf95a github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x3fa github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:806 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3072] @ 0x48dd2c 0x4930f3 0x6bc895 0x6bc865 0x6bc777 0x5ccbc4 0x5cd01c 0x6bc72d 0x6bc4f7 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6bc894 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bc864 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bc776 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc72c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x30c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc4f6 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd6 crypto/tls/handshake_messages.go:366 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd2c 0x428505 0xbd7991 0xbd7934 0xc9d313 0xc9d330 0x27168e5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0xbd7990 github.com/google/uuid.NewRandomFromReader+0x30 github.com/google/uuid@v1.6.0/version4.go:48 # 0xbd7933 github.com/google/uuid.NewRandom+0x53 github.com/google/uuid@v1.6.0/version4.go:41 # 0xc9d312 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc9d32f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x27168e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [8: 38912] @ 0x48dd2c 0x4930f3 0x69ccb0 0x6a17ed 0x6a2dbe 0x57cf32 0x57d315 0x6f2b25 0x1223593 0x700d32 0x6fc8b7 0x6fc579 0x6fc57a 0x6fc345 0x4ce262 0x12220c5 0x122424f 0x1222f85 0x12227c5 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x69ccaf crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:519 # 0x6a17ec crypto/tls.(*Conn).writeRecordLocked+0x62c crypto/tls/conn.go:1031 # 0x6a2dbd crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1254 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x57d314 bufio.(*Writer).WriteByte+0x34 bufio/bufio.go:705 # 0x6f2b24 net/textproto.(*dotWriter).Write+0x144 net/textproto/writer.go:95 # 0x1223592 gopkg.in/mail%2ev2.(*messageWriter).Write+0x32 gopkg.in/mail.v2@v2.3.1/writeto.go:158 # 0x700d31 mime/multipart.(*part).Write+0x31 mime/multipart/writer.go:209 # 0x6fc8b6 mime/quotedprintable.(*Writer).flush+0x36 mime/quotedprintable/writer.go:162 # 0x6fc578 mime/quotedprintable.(*Writer).insertCRLF+0xb8 mime/quotedprintable/writer.go:158 # 0x6fc579 mime/quotedprintable.(*Writer).write+0xb9 mime/quotedprintable/writer.go:92 # 0x6fc344 mime/quotedprintable.(*Writer).Write+0xa4 mime/quotedprintable/writer.go:42 # 0x4ce261 io.WriteString+0x81 io/io.go:318 # 0x12220c4 gopkg.in/mail%2ev2.(*Message).AddAlternative.newCopier.func1+0x24 gopkg.in/mail.v2@v2.3.1/message.go:215 # 0x122424e gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x1ee gopkg.in/mail.v2@v2.3.1/writeto.go:277 # 0x1222f84 gopkg.in/mail%2ev2.(*messageWriter).writePart+0x244 gopkg.in/mail.v2@v2.3.1/writeto.go:115 # 0x12227c4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x204 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19c9878 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c9877 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21f2185 0x22065e7 0x21d4da2 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21f2184 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x22065e6 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:660 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb8b0b1 0xb8d1aa 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8b0b0 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x3f0 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:245 # 0xb8d1a9 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1a9 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x184bfac 0x19e24b7 0x19e2491 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x19e24b6 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x19e2490 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:137 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183f3a9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3a8 github.com/mattermost/squirrel.Eq.toSQL+0xec8 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 4014080] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x2824f70 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x2824f6f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xd4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:904 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x1267df6 0x1267d38 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1267df5 strings.NewReplacer+0x1d5 strings/replace.go:36 # 0x1267d37 github.com/lib/pq.convertURL+0x117 github.com/lib/pq@v1.12.3/connector.go:1126 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 1568] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [4: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479dea 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184ce6c 0x184cd9b 0x184ce90 0x19457c7 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19457c6 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x258cab4 0x257f730 0x21d4da2 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x258cab3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xca172d 0x2204e27 0x2204837 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca172c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:250 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a1bf7 0x19de5b4 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a1bf6 github.com/jmoiron/sqlx.(*Tx).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:405 # 0x19de5b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:405 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0d1bc 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1a0d1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:801 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x1947da5 0x1947d71 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1947da4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1947d70 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a0d0d3 0x1a0d0b8 0x1a0d0b7 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1a0d0d2 github.com/mattermost/squirrel.newPart+0x1b2 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a0d0b7 github.com/mattermost/squirrel.SelectBuilder.From+0x197 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19644e5 0x1964476 0x1963950 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19644e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x764 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1964475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:378 # 0x196394f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2b4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:333 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2824630 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x282462f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x40f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:838 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd05 0x428505 0x261cc45 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261cc44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:197 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x55a01f 0x2595bef 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x2595bee github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x66e github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 1760] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x22067f0 0x220694e 0x2205131 0x2204837 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x22067ef 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:759 # 0x220694d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6d maps/iter.go:28 # 0x2205130 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8d0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [7: 2464] @ 0x48dd05 0x428505 0xc61565 0xc61514 0x261f86a 0x2824c79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61564 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x104 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc61513 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xb3 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x2824c78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa58 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:896 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 655360] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x55a8fa 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x55a8f9 encoding/json.(*Encoder).Encode+0x239 encoding/json/stream.go:236 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x184bfac 0x1a0bf65 0x1a0bf31 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1a0bf64 github.com/mattermost/squirrel.StatementBuilderType.Update+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1a0bf30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:742 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a06e69 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [13: 6656] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x99d19d 0x4a2651 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x99d19c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19033eb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19033ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0x71d79b 0x71d555 0x71cd94 0x71c7b2 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x71d79a vendor/golang.org/x/net/http2/hpack.huffmanDecode+0x11a vendor/golang.org/x/net/http2/hpack/huffman.go:70 # 0x71d554 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0x94 vendor/golang.org/x/net/http2/hpack/hpack.go:516 # 0x71cd93 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x333 vendor/golang.org/x/net/http2/hpack/hpack.go:386 # 0x71c7b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x54d545 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54d544 encoding/json.Marshal+0x184 encoding/json/encode.go:215 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x19eb6ca 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eb6c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5ddf 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5dde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x41e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:151 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a291ec 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a291eb github.com/mattermost/squirrel.StatementBuilderType.Select+0xeb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 560] @ 0x48dd2c 0x41d5e6 0x7579d6 0x756208 0x498001 # 0x7579d5 net/http.(*http2clientStream).cleanupWriteRequest+0xd5 net/http/h2_bundle.go:8951 # 0x756207 net/http.(*http2clientStream).doRequest+0x27 net/http/h2_bundle.go:8719 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x22027c6 0x22028c8 0x21f8f3e 0x28ebdf1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x22027c5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).CheckConn+0x5c5 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:418 # 0x22028c7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).CheckWebConn+0x6c7 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:284 # 0x21f8f3d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).PopulateWebConnConfig+0x17d github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:182 # 0x28ebdf0 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7b0 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 1376256] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f84f 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f84e encoding/json.boolEncoder+0x1ee encoding/json/encode.go:550 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 5184] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x195d946 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195d945 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x6611e9 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6611e8 crypto/x509.policiesValid+0x8c8 crypto/x509/verify.go:1239 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [9: 2592] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18df387 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df386 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2158 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x1267df6 0x1267d38 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1267df5 strings.NewReplacer+0x1d5 strings/replace.go:36 # 0x1267d37 github.com/lib/pq.convertURL+0x117 github.com/lib/pq@v1.12.3/connector.go:1126 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 960] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc97d65 0xc97d66 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97d64 github.com/tinylib/msgp/msgp.ReadStringBytes+0xce4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97d65 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xce5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x21f9285 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f9284 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x144 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:204 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x63f648 0x63f5df 0x262525c 0x2620b9b 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f647 net/url.(*URL).ResolveReference+0x27 net/url/url.go:1113 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2620b9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x7da github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:656 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd05 0x428505 0x270f345 0x28cb5ab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x28cb5aa github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3788 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2626a29 0x283130c 0x281b595 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2626a28 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x283130b github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:39 # 0x281b594 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x234 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:83 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0f0ea 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0f0e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1046 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x276ebab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x276ebaa github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x26a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1995 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a03a0d 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03a0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x56fc19 0x726e14 0x726e15 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x726e13 context.WithDeadline+0x133 context/context.go:626 # 0x726e14 net/http.setRequestCancel+0x134 net/http/client.go:378 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x28cb6a5 0x28cb5f3 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28cb6a4 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x184 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x28cb5f2 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0xd2 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3790 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x428505 0x76e74f 0x796331 0x79515d 0x498001 # 0x76e74e net/http.ReadResponse+0x4e net/http/response.go:156 # 0x796330 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2518 # 0x79515c net/http.(*persistConn).readLoop+0x2dc net/http/transport.go:2345 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56fddc 0x605fc5 0x605f98 0x60575b 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a0d309 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19726ce 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19726cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x18d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1690 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 16] @ 0x48dd05 0x493087 0x18c8c38 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c8c37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:479 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x726f25 0x7263fd 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x726f24 net/http.setRequestCancel+0x244 net/http/client.go:395 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x80a2e2 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x80a2e1 database/sql.(*Tx).awaitDone+0x21 database/sql/sql.go:2212 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee71 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08752 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x891 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:582 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [2: 1280] @ 0x48dd2c 0x4930f3 0x54d4e5 0x25955d2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x25955d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184c99b 0x184c893 0x1a0abf1 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0abf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:689 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x54d4e5 0x272fd48 0x272fcdb 0x286f2ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x272fd47 github.com/mattermost/mattermost/server/public/model.MapToJSON+0x87 github.com/mattermost/mattermost/server/public/model/utils.go:496 # 0x272fcda github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x1a github.com/mattermost/mattermost/server/v8/channels/web/web.go:130 # 0x286f2ab github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x15ab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a084ba 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a084b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x5f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 9216] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a05f77 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a05f76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:403 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191a30c 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191a30b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:77 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 208] @ 0x48dd2c 0x475974 0x475486 0x1cce6f7 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x1cce6f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xd6 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:108 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x5ca685 0x5cf517 0x5d5a3e 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x5ca684 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddASN1+0x1a4 vendor/golang.org/x/crypto/cryptobyte/asn1.go:241 # 0x5cf516 crypto/ecdsa.encodeSignature+0x96 crypto/ecdsa/ecdsa.go:466 # 0x5d5a3d crypto/ecdsa.signFIPS[...]+0x13d crypto/ecdsa/ecdsa.go:423 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1944bb8 0x1944ab2 0x1944a96 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1944bb7 github.com/lann/builder.Append+0x5b7 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1944ab1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x4b1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:156 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 144] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x299af25 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299af24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a0c08f 0x1a0bf92 0x1a0bf76 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0c08e github.com/lann/builder.Append+0x20e github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0bf91 github.com/mattermost/squirrel.UpdateBuilder.Set+0x111 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0bf75 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0xf5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:743 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x726f25 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x726f24 net/http.setRequestCancel+0x244 net/http/client.go:395 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x18df325 0x18df2d7 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18df324 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x2e4 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18df2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2157 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x195b113 0x18786ba 0x219dcba 0x2627aa7 0x25f1ee6 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x195b112 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPersistentNotificationStore).GetSingle+0x372 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_persistent_notification_store.go:35 # 0x18786b9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9729 # 0x219dcb9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPersistentNotificationStore).GetSingle+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7782 # 0x2627aa6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ResolvePersistentNotification+0xc6 github.com/mattermost/mattermost/server/v8/channels/app/post_persistent_notification.go:31 # 0x25f1ee5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2905 github.com/mattermost/mattermost/server/v8/channels/app/post.go:450 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5704f3 0xccbe25 0xccbdf9 0x25f31eb 0x25f31d6 0x25f3184 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0xccbe24 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0xccbdf8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x25f31ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0xaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x25f31d5 github.com/mattermost/mattermost/server/v8/channels/app.RequestContextWithMaster+0x95 github.com/mattermost/mattermost/server/v8/channels/app/context.go:15 # 0x25f3183 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x43 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x493087 0x12e3652 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e352e 0x12e3501 0x12e9865 0x498001 # 0x12e3651 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf1 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e352d sync.(*Map).Range+0x4d sync/map.go:114 # 0x12e3500 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x12e9864 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x124 github.com/mattermost/mattermost/server/public/plugin/health_check.go:40 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x28046fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28046fd github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 96] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a1f705 0x1a1f03a 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1f704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:688 # 0x1a1f039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x199 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:657 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199ad05 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ad04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x428505 0x19b8465 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19b8464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:76 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 49152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0xc3e90e 0x26232a5 0x2623292 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0xc3e90d github.com/mattermost/mattermost/server/public/model.IsSVGImageURL+0x2d github.com/mattermost/mattermost/server/public/model/link_metadata.go:118 # 0x26232a4 github.com/mattermost/mattermost/server/v8/channels/app.filterSVGImage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:883 # 0x2623291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x191 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:908 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x281d892 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x281d891 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x311 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:270 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd25 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 672] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x661625 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661624 crypto/x509.policiesValid+0xd04 crypto/x509/verify.go:1264 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 128] @ 0x48dd2c 0x475974 0x475486 0x299b06c 0x299be65 0x299ba09 0x6b6085 0x6b6046 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299b06b crypto/internal/fips140/hkdf.Expand[...]+0x1ab crypto/internal/fips140/hkdf/hkdf.go:43 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6084 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x204 crypto/internal/fips140/tls13/tls13.go:112 # 0x6b6045 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x1c5 crypto/tls/handshake_client_tls13.go:494 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2688] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd25 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 320] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 256] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 286720] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28046fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28046fd github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 9216] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a02a93 0x1a02a18 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a02a92 github.com/mattermost/squirrel.SelectBuilder.From+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x18e53b0 0x18e5381 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e53af github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e5380 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2761 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 312] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x19e0cde 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e0cdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x13d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x19e0c9e 0x19e0c57 0x19e0c56 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e0c9d github.com/mattermost/squirrel.InsertBuilder.Into+0xfd github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19e0c56 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19e0c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:53 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb62a71 0xb62a13 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62a70 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xb62a12 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [4: 512] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 192] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 128] @ 0x48dd05 0x428505 0x66096c 0x660960 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x66096b crypto/x509.newPolicyGraph+0x4b crypto/x509/verify.go:1073 # 0x66095f crypto/x509.policiesValid+0x3f crypto/x509/verify.go:1195 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 1600] @ 0x48dd05 0x428505 0x726335 0x7263e6 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x726334 net/http.send.func1+0x554 net/http/client.go:238 # 0x7263e5 net/http.send+0x605 net/http/client.go:260 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18d1205 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1174 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 288] @ 0x48dd05 0x492ae9 0x1846885 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [13: 11648] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a0d0b6 0x1a0d0a4 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0aacd 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0aacc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x14c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:688 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19725b3 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19725b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1688 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417314 0x662b09 0x662997 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x662b08 crypto/x509.newPolicyGraphNode+0x21e8 crypto/x509/verify.go:1057 # 0x662996 crypto/x509.policiesValid+0x2076 crypto/x509/verify.go:1275 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 1728] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x25917a8 0x25916fe 0x2594292 0x2594edf 0x498001 # 0x25917a7 github.com/golang-jwt/jwt/v5.NewWithClaims+0x1a47 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:49 # 0x25916fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x199d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:169 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 8960] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x493087 0x60e913 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60e912 net.(*Resolver).goLookupIPCNAMEOrder+0xf92 net/dnsclient_unix.go:735 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0xc840b7 0xc840b8 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc840b6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x2b6 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc840b7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x2b7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:498 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x1a08429 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x568 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:571 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x288075d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x288075c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x21c github.com/mattermost/mattermost/server/v8/channels/api4/team.go:640 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 28160] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 864] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 5120] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc977d7 0xc977d8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc977d6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x756 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc977d7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x757 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:575 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x196082c 0x1a0827a 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196082b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:107 # 0x1a08279 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:565 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd2c 0x4752f7 0x184af7f 0x184ad99 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184af7e bytes.(*Buffer).String+0xabe bytes/buffer.go:77 # 0x184ad98 github.com/mattermost/squirrel.(*updateData).ToSql+0x8d8 github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 73728] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x196e4f9 0x196e4de 0x196e4dd 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e4f8 github.com/mattermost/squirrel.newPart+0x398 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x196e4dd github.com/mattermost/squirrel.SelectBuilder.From+0x37d github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196e4dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18469e9 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a02a17 0x1a029f1 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x126a35c 0x126a368 0x126a395 0x12726c5 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x126a35b internal/strconv.AppendBool+0x9b internal/strconv/atob.go:32 # 0x126a367 strconv.AppendBool+0xa7 strconv/number.go:35 # 0x126a394 github.com/lib/pq.encode+0xd4 github.com/lib/pq@v1.12.3/encode.go:46 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846fab 0x196fadc 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fadb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x45b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x652788 0x652a3e 0x658c7d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x652787 crypto/x509.parseASN1String+0x687 crypto/x509/parser.go:84 # 0x652a3d crypto/x509.parseName+0x1fd crypto/x509/parser.go:170 # 0x658c7c crypto/x509.parseCertificate+0x53c crypto/x509/parser.go:963 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x190388c 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190388b github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc0b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1344] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 1600] @ 0x48dd05 0x428505 0x20e2fa5 0x20e2f51 0x498001 # 0x20e2fa4 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x844 github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x20e2f50 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x7f0 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:90 0: 0 [4: 896] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x18e1e65 0x185c851 0x217de5d 0x2478e43 0x283c251 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e1e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberForPost+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2430 # 0x185c850 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberForPost+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2478 # 0x217de5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberForPost+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2099 # 0x2478e42 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannelByPost+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:212 # 0x283c250 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:38 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x492ae9 0x292eec6 0x293b5d2 0x12475f0 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x292eec5 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:66 # 0x293b5d1 crypto/internal/fips140/hmac.(*HMAC).Reset+0x151 crypto/internal/fips140/hmac/hmac.go:122 # 0x12475ef github.com/lib/pq/scram.(*Client).saltPassword+0x12f github.com/lib/pq@v1.12.3/scram/scram.go:221 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1a0c6ad 0x1a0e2b4 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0e2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x213 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:925 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [3: 1536] @ 0x48dd05 0x428505 0x273688b 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x273688a github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).websocketNotificationAck+0x58a github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:28 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a078b6 0x1a0783d 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a078b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x455 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0783c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:519 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x25efbc2 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x25efbc1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x5e1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:235 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299bf4f 0x299d075 0x6b5f85 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299bf4e crypto/internal/fips140/tls13.extract[...]+0x4e crypto/internal/fips140/tls13/tls13.go:44 # 0x299d074 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x6b5f84 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x104 crypto/tls/handshake_client_tls13.go:487 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x1a25d58 0x1a25cf5 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc97866 0xc97867 0xc99d65 0x1134f0f 0x1133ed2 0x211e48f 0x212758b 0x1134550 0x21271fe 0x2201e0b 0x2201c05 0x26af72e 0x26af706 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133ed1 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).GetMulti+0xf1 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:81 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212758a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).InvalidateProfilesInChannelCacheByUser.func1+0x1ca github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:87 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x21271fd 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 # 0x2201e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateChannelCacheForUser+0x8a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:253 # 0x2201c04 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).InvalidateCacheForUser+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:234 # 0x26af72d github.com/mattermost/mattermost/server/v8/channels/app.(*App).InvalidateCacheForUser+0xacd github.com/mattermost/mattermost/server/v8/channels/app/web_hub.go:48 # 0x26af705 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xaa5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1578 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 224] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x21eb359 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21eb358 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0x58 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x2979e90 0x2979a85 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x2979a84 crypto/internal/fips140/ecdsa.newDRBG[...]+0x564 crypto/internal/fips140/ecdsa/hmacdrbg.go:111 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979dfb 0x299af5a 0x299be65 0x299ba09 0x299b3fa 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b3f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1962925 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1962924 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1b24 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846fab 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cafc5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cafc4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3765 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1974bac 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1974bab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1837 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x493087 0xb8a905 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8a904 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x1c4 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:222 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x428505 0x7bf196 0x7bec52 0xc9e96a 0x25f05a5 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf195 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:597 # 0x7bec51 regexp.(*Regexp).ReplaceAllString+0xd1 regexp/regexp.go:557 # 0xc9e969 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xe9 github.com/mattermost/mattermost/server/public/model/utils.go:761 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8057f 0xc80634 0x21faa25 0x21f9a0f 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8057e github.com/mattermost/mattermost/server/public/model.CopyStringMap+0xfe github.com/mattermost/mattermost/server/public/model/utils.go:489 # 0xc80633 github.com/mattermost/mattermost/server/public/model.(*Session).DeepCopy+0x1b3 github.com/mattermost/mattermost/server/public/model/session.go:102 # 0x21faa24 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 # 0x21f9a0e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x8ce github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:264 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xc9276e 0xc9256a 0x17ef010 0x17edc19 0x17edbe5 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9276d github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x30d github.com/mattermost/mattermost/server/public/model/user.go:704 # 0xc92569 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x109 github.com/mattermost/mattermost/server/public/model/user.go:748 # 0x17ef00f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:45 # 0x17edc18 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x98 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x17edbe4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x64 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:150 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x199808f 0x1998035 0x1998033 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199808e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x8e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1998034 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1998032 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:76 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x1a016e5 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a016e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:159 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x48dd05 0x492ae9 0x1846885 0x190436f 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x190436e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x63f5c5 0x262525c 0x2623195 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x63f5c4 net/url.(*URL).Parse+0x24 net/url/url.go:1099 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x55a8fa 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x55a8f9 encoding/json.(*Encoder).Encode+0x239 encoding/json/stream.go:236 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x1907c25 0x1861987 0x2183c64 0x24b88c4 0x278959f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x1907c24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateSidebarCategories+0x1a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:748 # 0x1861986 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateSidebarCategories+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3717 # 0x2183c63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3116 # 0x24b88c3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateSidebarCategories+0xc3 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:143 # 0x278959e github.com/mattermost/mattermost/server/v8/channels/api4.updateCategoryForTeamForUser+0x69e github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:350 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a0688f 0x1a06806 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0688e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06805 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:454 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x4d67f7 0x4d67f8 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d67f6 internal/filepathlite.(*lazybuf).string+0x916 internal/filepathlite/path.go:61 # 0x4d67f7 internal/filepathlite.Clean+0x917 internal/filepathlite/path.go:137 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 640] @ 0x48dd05 0x493087 0x19049f3 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19049f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x7d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:528 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x493087 0x12e3652 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e352e 0x12e3501 0x25c46aa 0x2817367 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12e3651 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf1 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e352d sync.(*Map).Range+0x4d sync/map.go:114 # 0x12e3500 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x25c46a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetActivePluginManifests+0x29 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:402 # 0x2817366 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x66 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:256 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c0ae5 0x226da88 0x226f097 0x226545d 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c0ae4 regexp.(*Regexp).FindSubmatch+0x84 regexp/regexp.go:865 # 0x226da87 github.com/getsentry/sentry-go.(*Span).updateFromSentryTrace+0x27 github.com/getsentry/sentry-go@v0.46.2/tracing.go:523 # 0x226f096 github.com/getsentry/sentry-go.ParseTraceParentContext+0x76 github.com/getsentry/sentry-go@v0.46.2/tracing.go:764 # 0x226545c github.com/getsentry/sentry-go.PropagationContextFromHeaders+0xbc github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:50 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3328] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18cee46 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18cee45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x1e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:982 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x199f19d 0x199f0b1 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x199f19c github.com/mattermost/squirrel.StatementBuilderType.Select+0x19c github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199f0b0 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 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x19980e5 0x19980c7 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19980e4 github.com/mattermost/squirrel.newPart+0xe4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x19980c6 github.com/mattermost/squirrel.SelectBuilder.From+0xc6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x21f0abc 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0abb github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837b12 0x18390d5 0x1839345 0x183aaed 0x183a953 0x1a04ade 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x183aaec github.com/lann/builder.Append+0x1ac github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x183a952 github.com/mattermost/squirrel.CaseBuilder.When+0x12 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a04add github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:305 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x458d18 0x46be75 0x99fb53 0x9a2e1c 0x9a29aa 0x673d17 0xb834b7 0x1287b9d 0x498001 # 0x99fb52 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x372 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x673d16 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [4: 256] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x18e6332 0x18e6321 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x18e6331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x10d1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x18e6320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2784 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 5184] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 672] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 393216] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x1846fbc 0x19f7fc9 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f7fc8 github.com/mattermost/squirrel.SelectBuilder.Join+0x2a8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1947dc5 0x1947da7 0x1947da6 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1947dc4 github.com/mattermost/squirrel.newPart+0x124 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1947da6 github.com/mattermost/squirrel.SelectBuilder.From+0x106 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1947da5 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 6784] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x1a06e13 0x1a06dcb 0x1309f10 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06e12 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x26252ed 0x26231ec 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26252ec github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x2c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1090 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x606d37 0x605b65 0x78e8f4 0x7918e7 0x790332 0x790175 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x606d36 net.(*sysDialer).dialParallel+0x216 net/dial.go:689 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e8f3 net/http.(*Transport).dial+0xb3 net/http/transport.go:1320 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x4d67f7 0x4d67f8 0x573885 0x573851 0x17d9e9b 0x17d9e53 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4d67f6 internal/filepathlite.(*lazybuf).string+0x916 internal/filepathlite/path.go:61 # 0x4d67f7 internal/filepathlite.Clean+0x917 internal/filepathlite/path.go:137 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x17d9e9a path/filepath.Join+0x15a path/filepath/path.go:131 # 0x17d9e52 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x54eb98 0x54eb8a 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eb97 bytes.(*Buffer).Grow+0xd7 bytes/buffer.go:186 # 0x54eb89 encoding/json.marshalerEncoder+0xc9 encoding/json/encode.go:485 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x196fadc 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fadb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x45b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a03d89 0x1a03d3c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03d3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18df465 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18df464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2158 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184816c 0x184809b 0x1848190 0x18e556e 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e556d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x30d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2765 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x492ae9 0x2979e90 0x29796a9 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x29796a8 crypto/internal/fips140/ecdsa.newDRBG[...]+0x188 crypto/internal/fips140/ecdsa/hmacdrbg.go:71 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 864] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1152] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x18e20df 0x18e2085 0x18e2084 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x18e20de github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xde github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18e2084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18e2083 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2437 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 672] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c61bc 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c61bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x18476bc 0x18d25d2 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d25d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1847b1c 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1120] @ 0x48dd05 0x428505 0x21f2231 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f2230 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:278 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x48dd05 0x493087 0x1902b0b 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902b0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7b1fb7 0x7b1f0d 0x7aef85 0x7bd4f0 0x7bd4eb 0x7beaf0 0x7beae4 0x2622ec5 0x262342d 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b1fb6 regexp/syntax.(*parser).newRegexp+0x116 regexp/syntax/parse.go:147 # 0x7b1f0c regexp/syntax.(*parser).parseClass+0x6c regexp/syntax/parse.go:1829 # 0x7aef84 regexp/syntax.parse+0xa24 regexp/syntax/parse.go:974 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7beaef regexp.Compile+0x2f regexp/regexp.go:131 # 0x7beae3 regexp.MatchString+0x23 regexp/regexp.go:531 # 0x2622ec4 github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:857 # 0x262342c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x32c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:924 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x428505 0x7ae60a 0x7bd4f0 0x7bd4eb 0x7beaf0 0x7beae4 0x2622ec5 0x262342d 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7ae609 regexp/syntax.parse+0xa9 regexp/syntax/parse.go:915 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7beaef regexp.Compile+0x2f regexp/regexp.go:131 # 0x7beae3 regexp.MatchString+0x23 regexp/regexp.go:531 # 0x2622ec4 github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:857 # 0x262342c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x32c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:924 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x28321cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28321cc github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x28c github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x24adbe9 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x1846885 0x1966667 0x196657b 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1966666 github.com/mattermost/squirrel.StatementBuilderType.Select+0x446 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196657a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x35a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:638 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28caf18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caf17 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3763 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x19037ba 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19037b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:439 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a1e6aa 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e6a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:599 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x190312f 0x19030a6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x190312e github.com/mattermost/squirrel.SelectBuilder.From+0x4ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19030a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a06045 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a06044 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:405 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551365 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551364 encoding/json.mapEncoder.encode+0x484 encoding/json/encode.go:802 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 19584] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a05030 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0502f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xc6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:329 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0xc3e925 0xc3e797 0xc3e611 0x2623265 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0xc3e924 github.com/mattermost/mattermost/server/public/model.IsSVGImageURL+0x44 github.com/mattermost/mattermost/server/public/model/link_metadata.go:122 # 0xc3e796 github.com/mattermost/mattermost/server/public/model.FilterSVGImages+0x96 github.com/mattermost/mattermost/server/public/model/link_metadata.go:102 # 0xc3e610 github.com/mattermost/mattermost/server/public/model.TruncateOpenGraph+0x450 github.com/mattermost/mattermost/server/public/model/link_metadata.go:83 # 0x2623264 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x164 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:907 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 320] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18d24cd 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d24cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a02a17 0x1a029f1 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x184af7f 0x184ad99 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184af7e bytes.(*Buffer).String+0xabe bytes/buffer.go:77 # 0x184ad98 github.com/mattermost/squirrel.(*updateData).ToSql+0x8d8 github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [12: 768] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 384] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18412b2 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18412b1 github.com/mattermost/squirrel.(*insertData).ToSql+0x271 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a03c79 0x1a03c53 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a03c78 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a03c52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:233 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a02a69 0x1a02a18 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02a68 github.com/mattermost/squirrel.SelectBuilder.From+0x128 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 480] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [7: 168] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02b65 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02b64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 4928] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x7bf065 0x7bf512 0x7bef4b 0x19dbe07 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf064 regexp.(*Regexp).ReplaceAllStringFunc.func1+0xc4 regexp/regexp.go:578 # 0x7bf511 regexp.(*Regexp).replaceAll+0x3f1 regexp/regexp.go:616 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1936] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca172d 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca172c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:250 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8ec69 0xc8ed1c 0x26ae5b6 0x26af705 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8ec68 github.com/mattermost/mattermost/server/public/model.CopyStringMap+0x268 github.com/mattermost/mattermost/server/public/model/utils.go:489 # 0xc8ed1b github.com/mattermost/mattermost/server/public/model.(*User).DeepCopy+0x31b github.com/mattermost/mattermost/server/public/model/user.go:360 # 0x26ae5b5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x75 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1418 # 0x26af704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1575 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x192106d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x192106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 2112] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x63f0ed 0x63f118 0x63f733 0x63f5df 0x262525c 0x2620b9b 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f0ec strings.(*Builder).WriteByte+0x2ac strings/builder.go:97 # 0x63f117 net/url.resolvePath+0x2d7 net/url/url.go:1070 # 0x63f732 net/url.(*URL).ResolveReference+0x112 net/url/url.go:1121 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2620b9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x7da github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:656 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x19ca8df 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x19ca8de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 448] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x28b0c34 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x28b0c33 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x13d3 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1604 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5f70 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5f6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:156 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd0c 0x492ae9 0x7bb33d 0x7bd165 0x7bd54f 0x7beaf0 0x7beae4 0x2622ec5 0x262342d 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bb33c regexp.onePassCopy+0x3c regexp/onepass.go:226 # 0x7bd164 regexp.compileOnePass+0x1a4 regexp/onepass.go:499 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x7beaef regexp.Compile+0x2f regexp/regexp.go:131 # 0x7beae3 regexp.MatchString+0x23 regexp/regexp.go:531 # 0x2622ec4 github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:857 # 0x262342c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x32c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:924 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd0c 0x493087 0x7aa46a 0x7aa4a9 0x7a9b9c 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9b72 0x7a9e0f 0x7a9e0f 0x7a8acb 0x7bd537 0x7beaf0 0x7beae4 0x2622ec5 0x262342d 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 # 0x7aa469 regexp/syntax.(*compiler).inst+0x89 regexp/syntax/compile.go:164 # 0x7aa4a8 regexp/syntax.(*compiler).quest+0xc8 regexp/syntax/compile.go:220 # 0x7a9b9b regexp/syntax.(*compiler).compile+0xf3b regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9b71 regexp/syntax.(*compiler).compile+0xf11 regexp/syntax/compile.go:137 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7beaef regexp.Compile+0x2f regexp/regexp.go:131 # 0x7beae3 regexp.MatchString+0x23 regexp/regexp.go:531 # 0x2622ec4 github.com/mattermost/mattermost/server/v8/channels/app.looksLikeAPermalink+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:857 # 0x262342c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x32c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:924 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a249ca 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a249c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1057 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x1920e85 0x1920e60 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd05 0x492ae9 0x54295f 0x223bb10 0x223bac0 0x223d4d3 0x225c134 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223bb0f strings.SplitN+0x48f strings/strings.go:333 # 0x223babf github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x43f github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:312 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1c92f12 0x1c9a698 0x1c92889 0x4d2afe 0x4d398d 0x4d3c5a 0x1cbba89 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1c92f11 github.com/mholt/archives.(*ArchiveFS).ReadDir.func1+0x351 github.com/mholt/archives@v0.1.5/fs.go:662 # 0x1c9a697 github.com/mholt/archives.Zip.Extract+0x457 github.com/mholt/archives@v0.1.5/zip.go:248 # 0x1c92888 github.com/mholt/archives.(*ArchiveFS).ReadDir+0x388 github.com/mholt/archives@v0.1.5/fs.go:710 # 0x4d2afd io/fs.ReadDir+0x13d io/fs/readdir.go:31 # 0x4d398c io/fs.walkDir+0x12c io/fs/walk.go:81 # 0x4d3c59 io/fs.WalkDir+0x99 io/fs/walk.go:122 # 0x1cbba88 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*archiveExtractor).Extract+0x508 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/archive.go:72 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dd1f7 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 4096] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1958287 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958286 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x2e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 880] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x428505 0x726fd6 0x726f2b 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x726fd5 sync.OnceFunc+0x2f5 sync/oncefunc.go:21 # 0x726f2a net/http.setRequestCancel+0x24a net/http/client.go:396 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x48d725 0x1a1e10e 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a1e10d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:572 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1248] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1944a58 0x1944950 0x1944933 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1944a57 github.com/lann/builder.Append+0x457 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194494f github.com/mattermost/squirrel.UpdateBuilder.Set+0x34f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944932 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:155 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2620425 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2620424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:612 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xbe6c6a 0xbe6a9e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2127a87 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe6c69 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0x169 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:130 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127a86 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 960] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846b3c 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1344] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x281c534 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x281c533 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:181 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 344064] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 548864] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 7348224] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 262144] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [3: 540672] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [4: 327680] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 614400] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 9232384] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x18e5e85 0x18e5fac 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5e84 github.com/mattermost/squirrel.Expr+0xc24 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x18e5fab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2774 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28243a7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28243a6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x186 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:809 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a22cd4 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a22cd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:930 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26390f0 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26390ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:19 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x2520411 0x27dacbf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2520410 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0xd0 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1984 # 0x27dacbe github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x5be github.com/mattermost/mattermost/server/v8/channels/api4/file.go:807 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x12874cf 0x12ebcf2 0x25e903c 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12874ce github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2ee github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25e903b github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x91b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd05 0x493087 0x24ada05 0x2766ce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2766ce4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x584 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1395 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a01605 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a01604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:157 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x17d9e19 0x17d9d53 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x17d9e18 path/filepath.Join+0xd8 path/filepath/path.go:131 # 0x17d9d52 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x12 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1152] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x54d9be 0x54d413 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54d9bd encoding/json.newEncodeState+0x1d encoding/json/encode.go:316 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 270336] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a0d0b6 0x1a0d0a4 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0d0b5 github.com/mattermost/squirrel.StatementBuilderType.Select+0x195 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0d0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x183 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:791 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4930f3 0x292fb85 0x664b2d 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x664b2c crypto/x509.checkSignature+0x22c crypto/x509/x509.go:1011 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd05 0x493087 0x605d6b 0x605e02 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x605d6a net.addrList.partition+0x68a net/ipsock.go:123 # 0x605e01 net.(*Dialer).DialContext+0x721 net/dial.go:552 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [7: 448] @ 0x48dd05 0x493087 0x21f11ca 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f11c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x7a9 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1b8e3a5 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd2c 0x41d5e6 0x755729 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x755728 net/http.(*http2ClientConn).roundTrip+0x148 net/http/h2_bundle.go:8618 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18e86e7 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e86e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x826 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2978 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x125c767 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c766 github.com/lib/pq.parsePortalRowDescribe+0xe6 github.com/lib/pq@v1.12.3/conn.go:1793 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x271758c 0x271755f 0x271754a 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271758b net/textproto.MIMEHeader.Set+0xeab net/textproto/header.go:22 # 0x271755e net/http.Header.Set+0xe7e net/http/header.go:40 # 0x2717549 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xe69 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:233 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x4cdc27 0x4cdc0f 0x4ce005 0x272f785 0x272b79d 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cdc26 path.(*lazybuf).append+0x606 path/path.go:39 # 0x4cdc0e path.Clean+0x5ee path/path.go:127 # 0x4ce004 path.Join+0x1e4 path/path.go:172 # 0x272f784 github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x64 github.com/mattermost/mattermost/server/v8/channels/web/web.go:102 # 0x272b79c github.com/mattermost/mattermost/server/v8/channels/web.root+0x41c github.com/mattermost/mattermost/server/v8/channels/web/static.go:98 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x8f9c07 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc30b 0x27169c5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8f9c06 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x166 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8fc610 0x8fc30b 0x27169c5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8fc60f github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x2f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:297 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0xbe3668 0xbe3357 0x4a2651 0xbe3498 0xbe348c 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe3667 github.com/vmihailenco/msgpack/v5.NewDecoder+0x27 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:85 # 0xbe3356 github.com/vmihailenco/msgpack/v5.init.func1+0x16 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:38 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 672] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725c94 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725c93 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1073 github.com/mattermost/mattermost/server/v8/channels/web/params.go:199 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726e77 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726e76 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2256 github.com/mattermost/mattermost/server/v8/channels/web/params.go:305 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x2717231 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2717230 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb50 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725ce5 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725ce4 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/web/params.go:200 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x6a1565 0x6a2dbe 0x73f8fa 0x75171d 0x57cf32 0x758248 0x757545 0x7569ac 0x7561f8 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x6a1564 crypto/tls.(*Conn).writeRecordLocked+0x3a4 crypto/tls/conn.go:994 # 0x6a2dbd crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1254 # 0x73f8f9 net/http.http2writeWithByteTimeout+0x59 net/http/h2_bundle.go:3771 # 0x75171c net/http.http2stickyErrWriter.Write+0x3c net/http/h2_bundle.go:7813 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x758247 net/http.(*http2ClientConn).writeHeaders+0x167 net/http/h2_bundle.go:9089 # 0x757544 net/http.(*http2clientStream).encodeAndWriteHeaders+0x3a4 net/http/h2_bundle.go:8910 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x4e929e 0x4e5645 0x4e5633 0x13385fe 0x1338601 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e929d os.readlink+0x13d os/file_unix.go:442 # 0x4e5644 os.Readlink+0x24 os/file.go:447 # 0x4e5632 os.executable+0x12 os/executable_procfs.go:23 # 0x13385fd os.Executable+0x11d os/executable.go:19 # 0x1338600 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x120 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:46 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x54da26 0x54d413 0x2249a85 0x224c270 0x224c0d3 0x498001 # 0x54da25 encoding/json.newEncodeState+0x85 encoding/json/encode.go:325 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0x2249a84 github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0x24 github.com/getsentry/sentry-go@v0.46.2/report/report.go:18 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1962a19 0x19629bb 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1962a18 github.com/mattermost/squirrel.InsertBuilder.Values+0x1c18 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19629ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1bba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:258 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1ccb2d0 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccb2cf github.com/gorilla/mux.(*Route).Match+0x2ef github.com/gorilla/mux@v1.8.1/route.go:102 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x271677d 0x2716725 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271677c github.com/mattermost/mattermost/server/v8/channels/web.newWrappedWriter+0x9c github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:24 # 0x2716724 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x44 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:146 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x272b7f4 0x272b7c7 0x272b7a9 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272b7f3 net/textproto.MIMEHeader.Set+0x473 net/textproto/header.go:22 # 0x272b7c6 net/http.Header.Set+0x446 net/http/header.go:40 # 0x272b7a8 github.com/mattermost/mattermost/server/v8/channels/web.root+0x428 github.com/mattermost/mattermost/server/v8/channels/web/static.go:103 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a1f705 0x1a1f03a 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1f704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:688 # 0x1a1f039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x199 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:657 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726b72 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726b71 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1f51 github.com/mattermost/mattermost/server/v8/channels/web/params.go:296 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a03690 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a0368f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x26f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 192] @ 0x48dd05 0x428505 0x2716e07 0x2716dd4 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716e06 net/http.MaxBytesReader+0x726 net/http/request.go:1190 # 0x2716dd3 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x6f3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:216 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27271b1 0x272be7b 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x272be7a github.com/mattermost/mattermost/server/v8/channels/web.root+0xafa github.com/mattermost/mattermost/server/v8/channels/web/static.go:123 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 288] @ 0x48dd05 0x493087 0x1338587 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1338586 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0xa6 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:40 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27267de 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27267dd github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1bbd github.com/mattermost/mattermost/server/v8/channels/web/params.go:280 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27269d4 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27269d3 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1db3 github.com/mattermost/mattermost/server/v8/channels/web/params.go:288 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x272b8d5 0x272b896 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x272b8d4 path/filepath.Join+0x554 path/filepath/path.go:131 # 0x272b895 github.com/mattermost/mattermost/server/v8/channels/web.root+0x515 github.com/mattermost/mattermost/server/v8/channels/web/static.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725dcc 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725dcb github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x11ab github.com/mattermost/mattermost/server/v8/channels/web/params.go:203 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x272cb3f 0x272bcba 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272cb3e github.com/mattermost/mattermost/server/v8/channels/web.getOpenGraphMetaTags+0xde github.com/mattermost/mattermost/server/v8/channels/web/static.go:213 # 0x272bcb9 github.com/mattermost/mattermost/server/v8/channels/web.root+0x939 github.com/mattermost/mattermost/server/v8/channels/web/static.go:117 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 960] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0x4e75ea 0x4e75e1 0x272b8da 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x4e75e9 os.Open+0x49 os/file.go:390 # 0x4e75e0 os.ReadFile+0x40 os/file.go:865 # 0x272b8d9 github.com/mattermost/mattermost/server/v8/channels/web.root+0x559 github.com/mattermost/mattermost/server/v8/channels/web/static.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x2726127 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x2726126 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1506 github.com/mattermost/mattermost/server/v8/channels/web/params.go:214 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1394651 0x272f750 0x272b79d 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1394650 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x272f74f github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x2f github.com/mattermost/mattermost/server/v8/channels/web/web.go:100 # 0x272b79c github.com/mattermost/mattermost/server/v8/channels/web.root+0x41c github.com/mattermost/mattermost/server/v8/channels/web/static.go:98 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x54295f 0x8fc228 0x8fc1de 0x27169c5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc227 strings.Split+0x127 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x4752f7 0x5305e6 0x27172f0 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x27172ef github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xc0f github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725c47 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725c46 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1026 github.com/mattermost/mattermost/server/v8/channels/web/params.go:198 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x573a3a 0x572a98 0x572a99 0x1338610 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x573a39 path/filepath.walkSymlinks+0x179 path/filepath/symlink.go:81 # 0x572a97 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x572a98 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x133860f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:47 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x60ce54 0x60dd05 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60ce53 net.(*dnsConfig).nameList+0xd3 net/dnsclient_unix.go:513 # 0x60dd04 net.(*Resolver).goLookupIPCNAMEOrder+0x384 net/dnsclient_unix.go:677 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 8] @ 0x48dd05 0x493087 0x8b1bf4 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc30b 0x27169c5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b1bf3 github.com/mattermost/go-i18n/i18n/language.Parse+0x533 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x27179c5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x27179c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x12e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:244 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x272bc9d 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x272bc9c github.com/mattermost/mattermost/server/v8/channels/web.root+0x91c github.com/mattermost/mattermost/server/v8/channels/web/static.go:116 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd05 0x493087 0x1338c8f 0x1338beb 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1338c8e github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.CommonBaseSearchPaths+0xce github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:25 # 0x1338bea github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x2a github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x573a17 0x572a98 0x572a99 0x1338610 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x573a16 path/filepath.walkSymlinks+0x156 path/filepath/symlink.go:78 # 0x572a97 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x572a98 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x133860f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:47 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x272642b 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x272642a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x180a github.com/mattermost/mattermost/server/v8/channels/web/params.go:248 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0x2716f79 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716f78 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x898 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:219 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1a02e39 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:140 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 240] @ 0x48dd2c 0x4752f7 0x1cd7648 0x1cd74e5 0x272ed1d 0x272ecfb 0x272b3d7 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1cd7647 github.com/avct/uasurfer.normalise+0xa7 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:243 # 0x1cd74e4 github.com/avct/uasurfer.parse+0x24 github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:216 # 0x272ed1c github.com/avct/uasurfer.Parse+0x3c github.com/avct/uasurfer@v0.0.0-20250915105040-a942f6fb6edc/uasurfer.go:204 # 0x272ecfa github.com/mattermost/mattermost/server/v8/channels/web.CheckClientCompatibility+0x1a github.com/mattermost/mattermost/server/v8/channels/web/web.go:53 # 0x272b3d6 github.com/mattermost/mattermost/server/v8/channels/web.root+0x56 github.com/mattermost/mattermost/server/v8/channels/web/static.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x272bdd2 0x272bda5 0x272bcec 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272bdd1 net/textproto.MIMEHeader.Set+0xa51 net/textproto/header.go:22 # 0x272bda4 net/http.Header.Set+0xa24 net/http/header.go:40 # 0x272bceb github.com/mattermost/mattermost/server/v8/channels/web.root+0x96b github.com/mattermost/mattermost/server/v8/channels/web/static.go:122 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x6f20c7 0x6f1ef2 0x6ef888 0x2477789 0x2477770 0x2717c6f 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x6ef887 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x2477788 net/http.Header.Get+0x268 net/http/header.go:50 # 0x247776f github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x24f github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:478 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 144] @ 0x48dd05 0x428505 0xbe3668 0xbe3357 0x4a2651 0xbe3498 0xbe348c 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe3667 github.com/vmihailenco/msgpack/v5.NewDecoder+0x27 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:85 # 0xbe3356 github.com/vmihailenco/msgpack/v5.init.func1+0x16 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:38 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726a9d 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726a9c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1e7c github.com/mattermost/mattermost/server/v8/channels/web/params.go:291 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726e28 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726e27 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2207 github.com/mattermost/mattermost/server/v8/channels/web/params.go:304 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x1338925 0x1338880 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x1338924 path/filepath.Join+0x444 path/filepath/path.go:131 # 0x133887f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x39f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:57 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 6336] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x27170f9 0x271706e 0x2717033 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27170f8 net/textproto.MIMEHeader.Set+0xa18 net/textproto/header.go:22 # 0x271706d net/http.Header.Set+0x98d net/http/header.go:40 # 0x2717032 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x952 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:225 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1267c4a 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1267c49 github.com/lib/pq.convertURL+0x29 github.com/lib/pq@v1.12.3/connector.go:1116 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 4224] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x26ff90a 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x26ff909 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:61 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a016c5 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a016c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:158 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 256] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7ac794 0x7ac6f1 0x7ac30a 0x7af59d 0x7bd4f0 0x7bd4eb 0x7be04c 0x7be040 0x1165956 0x11657a8 0x1166625 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7ac793 regexp/syntax.(*parser).newRegexp+0xf3 regexp/syntax/parse.go:147 # 0x7ac6f0 regexp/syntax.(*parser).collapse+0x50 regexp/syntax/parse.go:553 # 0x7ac309 regexp/syntax.(*parser).concat+0x129 regexp/syntax/parse.go:493 # 0x7af59c regexp/syntax.parse+0x103c regexp/syntax/parse.go:1085 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1165955 github.com/JalfResi/justext.addKwTags+0x35 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/preprocess.go:32 # 0x11657a7 github.com/JalfResi/justext.preprocess+0x87 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/preprocess.go:16 # 0x1166624 github.com/JalfResi/justext.(*Reader).ReadAll+0x64 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:43 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 1024] @ 0x48dd2c 0x492ae9 0x296ea30 0x296e993 0x296e99c 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296ea2f crypto/internal/fips140/bigmod.(*Nat).reset+0x12f crypto/internal/fips140/bigmod/nat.go:96 # 0x296e992 crypto/internal/fips140/bigmod.(*Nat).set+0x92 crypto/internal/fips140/bigmod/nat.go:133 # 0x296e99b crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x9b crypto/internal/fips140/bigmod/nat.go:1049 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 192] @ 0x48dd05 0x428505 0x6058d2 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x6058d1 net.(*Dialer).DialContext+0x1f1 net/dial.go:544 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x62b225 0x6277fb 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x62b224 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x6277fa net.(*netFD).dial+0x57a net/sock_posix.go:141 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x428505 0x78f5e5 0x78b4bf 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x78f5e4 net/http.(*Transport).getConn+0x224 net/http/transport.go:1531 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x224c42a 0x224c0d3 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x224c429 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x209 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:532 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd2c 0x4930f3 0x6d0995 0x6d0965 0x6d0877 0x5ccbc4 0x5cd01c 0x6d0812 0x6d070c 0x5ccbc4 0x5cd01c 0x6d05c5 0x6d051c 0x6d0e38 0x6b7374 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6d0994 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6d0964 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6d0876 crypto/tls.(*certificateVerifyMsg).marshal.func1.1+0x16 crypto/tls/handshake_messages.go:1862 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6d0811 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b1 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6d070b crypto/tls.(*certificateVerifyMsg).marshal.func1+0xab crypto/tls/handshake_messages.go:1861 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6d05c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6d051b crypto/tls.(*certificateVerifyMsg).marshal+0x9b crypto/tls/handshake_messages.go:1857 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b7373 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x6b3 crypto/tls/handshake_client_tls13.go:676 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x19ba865 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ba864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x7738e5 0x788754 0x7884df 0x4cedee 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7738e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:698 # 0x788753 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7884de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4ceded io.(*teeReader).Read+0x2d io/io.go:628 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a29505 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a25cf4 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x224a1a9 0x224a17f 0x224a0cd 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a1a8 net/textproto.MIMEHeader.Set+0x148 net/textproto/header.go:22 # 0x224a17e net/http.Header.Set+0x11e net/http/header.go:40 # 0x224a0cc github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x6c github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:84 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e1065 0x19e0f9c 0x19e0dfe 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1064 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e0f9b github.com/mattermost/squirrel.InsertBuilder.Values+0x3fb github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474c05 0x1268198 0x126813d 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x1268197 github.com/lib/pq.convertURL.func1+0x577 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x126813c github.com/lib/pq.convertURL+0x51c github.com/lib/pq@v1.12.3/connector.go:1142 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a29505 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x1a0734f 0x1a072af 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1a0734e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x32e github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a072ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x190367d 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190367c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:438 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x296cab4 0x296ec45 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296ec44 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x344 crypto/internal/fips140/bigmod/nat.go:1054 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1280] @ 0x48dd2c 0x4752f7 0x695266 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x695265 crypto/tls.(*weakCertCache).newCert+0x45 crypto/tls/cache.go:20 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 128] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18e22f6 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18e22f5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2f5 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 480] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [4: 256] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 8064] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x4930f3 0x561feb 0x5504d3 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x561fea encoding/json.appendString[...]+0x7ca encoding/json/encode.go:1063 # 0x5504d2 encoding/json.stringEncoder+0x412 encoding/json/encode.go:632 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 192] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a04f2b 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04f2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xb6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:330 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x428505 0x224a27e 0x224a250 0x224a239 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a27d net/textproto.MIMEHeader.Set+0x21d net/textproto/header.go:22 # 0x224a24f net/http.Header.Set+0x1ef net/http/header.go:40 # 0x224a238 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x1d8 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:85 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [11: 1760] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x475974 0x475486 0x299b06c 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299b06b crypto/internal/fips140/hkdf.Expand[...]+0x1ab crypto/internal/fips140/hkdf/hkdf.go:43 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x493087 0xb8ac17 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8ac16 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x4d6 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 6272] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x54d9be 0x54d413 0x28669eb 0x28669ec 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54d9bd encoding/json.newEncodeState+0x1d encoding/json/encode.go:316 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0x28669ea github.com/mattermost/mattermost/server/public/model.ToJSON+0x164a github.com/mattermost/mattermost/server/public/model/utils.go:612 # 0x28669eb github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x164b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 6400] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x69e91d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x69e91c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:786 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 96] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x546e9e 0x546a79 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 192] @ 0x48dd05 0x428505 0xb63f65 0xb63f2a 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63f64 encoding/gob.(*Encoder).newEncoderState+0x184 encoding/gob/encode.go:82 # 0xb63f29 encoding/gob.(*Encoder).encodeInterface+0x149 encoding/gob/encode.go:392 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [4: 448] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x190439f 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190439e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x17e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0397d 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0397c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:206 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x19e0c9e 0x19e0c57 0x19e0c56 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e0c9d github.com/mattermost/squirrel.InsertBuilder.Into+0xfd github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19e0c56 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19e0c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:53 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x6dfa3e 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x6dfa3d crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:40 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x78f52d 0x78b4bf 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x78f52c net/http.(*Transport).getConn+0x16c net/http/transport.go:1529 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726b72 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726b71 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1f51 github.com/mattermost/mattermost/server/v8/channels/web/params.go:296 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x75573f 0x751c2d 0x751c19 0x751817 0x78b4eb 0x79b318 0x72642b 0x725c78 0x728217 0x1395f9d 0x1395f90 0x2631589 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x75573e net/http.(*http2ClientConn).roundTrip+0x15e net/http/h2_bundle.go:8619 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x751816 net/http.(*http2Transport).RoundTrip+0x16 net/http/h2_bundle.go:7852 # 0x78b4ea net/http.(*Transport).roundTrip+0xaaa net/http/transport.go:702 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1395f9c net/http.(*Client).Do+0x33c net/http/client.go:592 # 0x1395f8f github.com/mattermost/mattermost/server/v8/channels/utils.GetURLWithCache+0x32f github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:146 # 0x2631588 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x828 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:344 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 400] @ 0x48dd05 0x4246eb 0x13980f3 0x270f109 0x270edf5 0x281ea9b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13980f2 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x192 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:40 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x281ea9a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x151a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:356 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0x17daad7 0x17d9e30 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17daad6 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x96 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:160 # 0x17d9e2f github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xef github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 24] @ 0x48dd05 0x428505 0x271683f 0x27167fe 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x271683e github.com/mattermost/mattermost/server/v8/channels/app.New+0x15e github.com/mattermost/mattermost/server/v8/channels/app/app.go:30 # 0x27167fd github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x11d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:149 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x4c7afa 0x4c67ea 0x4c7471 0x4c7567 0x4c5130 0x13953c5 0x258e350 0x258b5d4 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x4c7af9 time.readFile+0x1d9 time/zoneinfo_read.go:589 # 0x4c67e9 time.loadTzinfoFromDirOrZip+0x69 time/zoneinfo_read.go:374 # 0x4c7470 time.loadTzinfo+0x70 time/zoneinfo_read.go:524 # 0x4c7566 time.loadLocation+0xa6 time/zoneinfo_read.go:533 # 0x4c512f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x13953c4 github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2c4 github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x258e34f github.com/mattermost/mattermost/server/v8/channels/app.getDirectMessageNotificationEmailSubject+0x4f github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:274 # 0x258b5d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x5d3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:59 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1531904] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3584] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 294912] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [5: 778240] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 5636096] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a08245 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18412c5 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18412c4 github.com/mattermost/squirrel.(*insertData).ToSql+0x284 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [11: 12075008] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183efb1 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183efb0 github.com/mattermost/squirrel.Eq.toSQL+0xad0 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28046fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28046fd github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 10880] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0x21d1bb3 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665e92 0x2665e8d 0x2664777 0xc7b03a 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x21d1bb2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x472 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:240 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665e91 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665e8c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1472 # 0x2664776 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1323 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1248] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x492ae9 0x54295f 0x223b853 0x223b83a 0x223d4d3 0x225c134 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223b852 strings.SplitN+0x1d2 strings/strings.go:333 # 0x223b839 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:296 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299af5a 0x299be65 0x299ba09 0x6b6085 0x6b6046 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6084 crypto/internal/fips140/tls13.(*HandshakeSecret).ServerHandshakeTrafficSecret+0x204 crypto/internal/fips140/tls13/tls13.go:112 # 0x6b6045 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x1c5 crypto/tls/handshake_client_tls13.go:494 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 37888] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27269d4 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27269d3 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1db3 github.com/mattermost/mattermost/server/v8/channels/web/params.go:288 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19f8191 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f8190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x470 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd2c 0x4930f3 0x54d4e5 0x288b6f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x288b6f3 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1350 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x26980dc 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x26980db github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0x15b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1977 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x6dfa3e 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x6dfa3d crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:40 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21f2185 0x22065e7 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21f2184 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusLastActivityAt+0x64 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:272 # 0x22065e6 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:660 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x12874e8 0x12874a9 0x12ebcf2 0x25e903c 0x1308006 0x72642b 0x725c78 0x728217 0x1306d12 0x1306cfe 0x246c130 0x246b1f8 0x246b565 0x28ae3e9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12874e7 net/rpc.(*Client).Call+0x307 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25e903b github.com/mattermost/mattermost/server/v8/channels/app.(*App).ServeInternalPluginRequest+0x91b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:104 # 0x1308005 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*appAPIRoundTripper).RoundTrip+0xe5 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/transport.go:56 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x1306d11 net/http.(*Client).Do+0x311 net/http/client.go:592 # 0x1306cfd github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x2fd github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:29 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x246b564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersForAgents+0x44 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:55 # 0x28ae3e8 github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x948 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1429 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28ae55f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28ae55e github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0xabe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1434 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c54a 0x1a3591e 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c549 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchNotInChannel+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1685 # 0x1a3591d 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:2299 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0813d 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0813c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:560 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c6297 0x18d0f05 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c6296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:170 # 0x18d0f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 245760] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x492ae9 0x296a2cd 0x2990b05 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x2990b04 crypto/internal/fips140/rsa.encrypt+0x124 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 1499136] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x27d3e2e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27d3e2d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x86d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:324 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1440] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x1967eba 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1967eb9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:758 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x282483d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x282483c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x61c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:853 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0xb64785 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0xb64784 encoding/gob.(*Encoder).encodeInterface+0x9a4 encoding/gob/encode.go:426 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [4: 1280] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 2048] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x28ec8ed 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x28ec8ec github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1920f38 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920f37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc849e5 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd365 0x28bd328 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xbe4 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x4c4 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd327 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x487 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2658 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x26ade2b 0x26bed13 0x26bec05 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26bed12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1f2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bec04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2999 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183e437 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183e436 github.com/mattermost/squirrel.aliasExpr.ToSql+0x76 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x18e6332 0x18e6321 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x18e6331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x10d1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x18e6320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2784 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a078b6 0x1a0783d 0x188bfc4 0x21b4936 0x25811b8 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a078b5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x455 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0783c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadFollowers+0x3dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:519 # 0x188bfc3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadFollowers+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15345 # 0x21b4935 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadFollowers+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12114 # 0x25811b7 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: 960] @ 0x48dd2c 0x475974 0x475486 0x1cce6f7 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x1cce6f6 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0xd6 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:108 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a085a6 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a085a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a086a5 0x1a0861f 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a086a4 github.com/mattermost/squirrel.CaseBuilder.Else+0x7e4 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1a0861e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x75e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:579 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x26bc89b 0x27372f9 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bc89a github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x5a github.com/mattermost/mattermost/server/v8/channels/app/user.go:2799 # 0x27372f8 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x4d8 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x184bf85 0x18e5639 0x18e560a 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184bf84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x164 github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x18e5638 github.com/mattermost/squirrel.StatementBuilderType.Update+0x3d8 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x18e5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2767 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a25e54 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4121bf 0x48e488 0xca1bd5 0xca1bb8 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0xca1bd4 maps.Clone[...]+0x34 maps/maps.go:55 # 0xca1bb7 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x17 github.com/mattermost/mattermost/server/public/model/websocket_message.go:316 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [18: 27648] @ 0x48dd2c 0x4930f3 0x6bc895 0x6bc865 0x6bc777 0x5ccbc4 0x5cd01c 0x6bc72d 0x6bc4f7 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bc894 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bc864 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bc776 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc72c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x30c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc4f6 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd6 crypto/tls/handshake_messages.go:366 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd0c 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1152] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x54d9be 0x54d413 0x28669eb 0x28669ec 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54d9bd encoding/json.newEncodeState+0x1d encoding/json/encode.go:316 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0x28669ea github.com/mattermost/mattermost/server/public/model.ToJSON+0x164a github.com/mattermost/mattermost/server/public/model/utils.go:612 # 0x28669eb github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x164b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 47360] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 27648] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x299ba09 0x6b7731 0x6b76f7 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b7730 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x250 crypto/internal/fips140/tls13/tls13.go:137 # 0x6b76f6 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x216 crypto/tls/handshake_client_tls13.go:713 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x605fc5 0x605f98 0x60575b 0x1224d98 0x1224d70 0x122599f 0x122599a 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x1224d97 net.(*Dialer).Dial+0x197 net/dial.go:505 # 0x1224d6f github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServerAdvanced+0x16f github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:144 # 0x122599e github.com/mattermost/mattermost/server/v8/platform/shared/mail.ConnectToSMTPServer+0x3e github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:154 # 0x1225999 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x39 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:269 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 128] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 384] @ 0x48dd05 0x428505 0x26bd6ef 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bd6ee github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0xce github.com/mattermost/mattermost/server/v8/channels/app/user.go:2891 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299af5a 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 8257536] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 8478720] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 8716288] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x631799 0x6136bb 0x632376 0x630f10 0x77f64c 0x2663c1b 0x498001 # 0x631798 net.sockaddrToUnix+0x38 net/unixsock_posix.go:54 # 0x6136ba net.(*netFD).accept+0x25a net/fd_unix.go:167 # 0x632375 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x630f0f net.(*UnixListener).Accept+0x2f net/unixsock.go:267 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [14: 2240] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x196fd07 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x26213ee 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26213ed github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0xad github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:696 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199f32a 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f329 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x329 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x18e44fc 0x185c107 0x217d5ad 0x2113f86 0x249f269 0x2761f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e44fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2663 # 0x185c106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2367 # 0x217d5ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2003 # 0x2113f85 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 # 0x249f268 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2575 # 0x2761f1a github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:998 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x1a03c79 0x1a03c53 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a03c78 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a03c52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:233 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x196fe3f 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196fe3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1428 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1152] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x78b385 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x78b384 net/http.(*Transport).roundTrip+0x944 net/http/transport.go:682 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [8: 2560] @ 0x48dd05 0x428505 0xccbc68 0xccbc5c 0xccbc38 0x260a309 0x266c765 0xc7b03a 0x498001 # 0xccbc67 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x47 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbc5b github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x3b github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0xccbc37 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x17 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x260a308 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x168 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2796 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x428505 0x76be50 0x2596666 0x2596632 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76be4f net/http.NewRequestWithContext+0x26f net/http/request.go:912 # 0x2596665 net/http.NewRequest+0x385 net/http/request.go:863 # 0x2596631 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x351 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:565 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x492ae9 0x2979ece 0x2979d33 0x297343f 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x2979d32 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:58 # 0x297343e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:170 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6b6f7a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6f79 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x2b9 crypto/tls/handshake_client_tls13.go:642 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0ef33 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0ef32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1047 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1a0c669 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1a0c668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:747 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 13824] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x5305e6 0x184ab46 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x261b691 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b690 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x70 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:57 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 7168] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 512] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0xb62805 0xb626aa 0xb63783 0xb63cd6 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62804 encoding/gob.(*encBuffer).WriteString+0x264 encoding/gob/encode.go:60 # 0xb626a9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63cd5 encoding/gob.(*Encoder).encodeMap+0x4f5 encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0x54c097 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c096 encoding/json.(*decodeState).literalStore+0x20d6 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd05 0x428505 0x5fd785 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5fd784 internal/singleflight.(*Group).DoChan+0x184 internal/singleflight/singleflight.go:81 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19e252b 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e252a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x14a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:141 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 384] @ 0x48dd05 0x428505 0x6058d2 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x6058d1 net.(*Dialer).DialContext+0x1f1 net/dial.go:544 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [6: 2496] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 4480] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0x661365 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661364 crypto/x509.newPolicyGraphNode+0xa44 crypto/x509/verify.go:1050 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 6062080] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 7168] @ 0x48dd0c 0x492ae9 0x85977f 0x858b5e 0x498001 # 0x85977e github.com/mattermost/logr/v2.(*LogRec).prep+0x2de github.com/mattermost/logr/v2@v2.0.22/logrec.go:67 # 0x858b5d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [1: 32768] @ 0x48dd33 0x492ae9 0x7bdae9 0x7ba2c8 0x7c1b99 0x13853c8 0x1372019 0x136f89d 0x13715f9 0x13715cc 0x136f78e 0x137d9ac 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x7bdae8 regexp.(*Regexp).get+0x248 regexp/regexp.go:254 # 0x7ba2c7 regexp.(*Regexp).doExecute+0x107 regexp/exec.go:538 # 0x7c1b98 regexp.(*Regexp).FindSubmatchIndex+0x58 regexp/regexp.go:1010 # 0x13853c7 github.com/yuin/goldmark/extension.(*linkifyParser).Parse+0x247 github.com/yuin/goldmark@v1.8.2/extension/linkify.go:190 # 0x1372018 github.com/yuin/goldmark/parser.(*parser).parseBlock+0x9d8 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1225 # 0x136f89c github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.8.2/parser/parser.go:904 # 0x13715f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1150 # 0x13715cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.8.2/parser/parser.go:1148 # 0x136f78d github.com/yuin/goldmark/parser.(*parser).Parse+0x1cd github.com/yuin/goldmark@v1.8.2/parser/parser.go:903 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x797825 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x797824 net/http.(*persistConn).roundTrip+0x684 net/http/transport.go:2884 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4930f3 0x6bfd11 0x6bfce1 0x6bfbd7 0x5ccbc4 0x5cd01c 0x6bfb78 0x6bfa75 0x5ccbc4 0x5cd01c 0x6bf9b4 0x6bf993 0x5ccbc4 0x5cd01c 0x6b924a 0x6b910f 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bfd10 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x150 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bfce0 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x120 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bfbd6 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1.1+0x16 crypto/tls/handshake_messages.go:113 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bfb77 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x197 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bfa74 crypto/tls.(*clientHelloMsg).marshalMsg.func1.1+0x94 crypto/tls/handshake_messages.go:112 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bf9b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bf992 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b9249 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x209 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b910e crypto/tls.(*clientHelloMsg).marshalMsg+0xce crypto/tls/handshake_messages.go:109 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e0dc6 0x19e0cd3 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [4: 96] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 2688] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 2688] @ 0x48dd05 0x428505 0x2719891 0x27194e2 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719890 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x250 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 9856] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a0ad25 0x1a0ac24 0x1a0ac0f 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0ad24 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0ac23 github.com/mattermost/squirrel.UpdateBuilder.Set+0x2a3 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0ac0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:690 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x24a3ac5 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x24a3ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3023 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a0373c 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e833c 0x18e8239 0x18e816e 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e833b github.com/lann/builder.Append+0x47b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e8238 github.com/mattermost/squirrel.UpdateBuilder.Set+0x378 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e816d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x2ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2975 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x80a34a 0x80b7b1 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x1984807 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x80a349 database/sql.(*Tx).grabConn+0x29 database/sql/sql.go:2248 # 0x80b7b0 database/sql.(*Tx).QueryContext+0x50 database/sql/sql.go:2530 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x1984806 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0xe26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3151 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 384] @ 0x48dd2c 0x4752f7 0xb7b549 0xb7b54a 0x498001 # 0xb7b548 bufio.(*Scanner).Text+0x168 bufio/scan.go:115 # 0xb7b549 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x169 github.com/hashicorp/go-plugin@v1.8.0/client.go:804 0: 0 [4: 1664] @ 0x48dd05 0x492ae9 0x1846885 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x1a0830e 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0830d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x44d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196a0b7 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196a0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:919 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19eac4f 0x19eaba5 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19eac4e github.com/lann/builder.Append+0x4ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaba4 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x444 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 393216] @ 0x48dd33 0x492ae9 0x7b72fe 0x7b81bf 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x7b72fd regexp.(*bitState).reset+0xfd regexp/backtrack.go:91 # 0x7b81be regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x7ab745 0x7ab59b 0x7aba05 0x7af13a 0x7bd4f0 0x7bd4eb 0x7be04c 0x7be040 0x1164e3e 0x116664e 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7ab744 regexp/syntax.(*parser).maybeConcat+0xc4 regexp/syntax/parse.go:352 # 0x7ab59a regexp/syntax.(*parser).push+0x21a regexp/syntax/parse.go:322 # 0x7aba04 regexp/syntax.(*parser).literal+0x124 regexp/syntax/parse.go:376 # 0x7af139 regexp/syntax.parse+0xbd9 regexp/syntax/parse.go:931 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1164e3d github.com/JalfResi/justext.paragraphObjectModel+0x7d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/paragraphObjectModel.go:70 # 0x116664d github.com/JalfResi/justext.(*Reader).ReadAll+0x8d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:56 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e231f 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e231e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [7: 1120] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x28aa076 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x28aa075 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x23d5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x28ec8ed 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x28ec8ec github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x27d9393 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x27d9392 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa92 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:694 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x2979d33 0x297343f 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x2979d32 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:58 # 0x297343e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:170 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x258cab4 0x257f730 0x21d4da2 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x258cab3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:149 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 896] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 53504] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28ca089 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28ca088 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x188 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3668 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x196e4dc 0x196e3eb 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x196e4db github.com/mattermost/squirrel.StatementBuilderType.Select+0x37b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196e3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x475974 0x475486 0x7bd7a5 0x7be04c 0x7be040 0x1164e3e 0x116664e 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7bd7a4 regexp.compile+0x2e4 regexp/regexp.go:204 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1164e3d github.com/JalfResi/justext.paragraphObjectModel+0x7d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/paragraphObjectModel.go:70 # 0x116664d github.com/JalfResi/justext.(*Reader).ReadAll+0x8d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:56 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [7: 3584] @ 0x48dd2c 0x428505 0x64415e 0x644173 0x6e9c34 0x69bab6 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64415d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x644172 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6e9c33 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:555 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x7b2785 0x7b2c85 0x7b1bf9 0x7b21c7 0x7aef85 0x7bd4f0 0x7bd4eb 0x7be04c 0x7be040 0x121a045 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7b2784 regexp/syntax.appendRange+0xa4 regexp/syntax/parse.go:1999 # 0x7b2c84 regexp/syntax.appendTable+0x84 regexp/syntax/parse.go:2083 # 0x7b1bf8 regexp/syntax.(*parser).parseUnicodeClass+0x278 regexp/syntax/parse.go:1803 # 0x7b21c6 regexp/syntax.(*parser).parseClass+0x326 regexp/syntax/parse.go:1869 # 0x7aef84 regexp/syntax.parse+0xa24 regexp/syntax/parse.go:974 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x121a044 github.com/advancedlogic/GoOse.init+0x544 github.com/advancedlogic/GoOse@v0.0.0-20231203033844-ae6b36caf275/stopwords.go:12 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28bb5e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28bb5e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2501 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e62b3 0x18e6204 0x18e61d8 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e62b2 github.com/lann/builder.Append+0x1052 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e6203 github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0xfa3 github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x18e61d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2777 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x191fbfb 0x191fb95 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x191fbfa github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x191fb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x25fd4f5 0x25fd4ae 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25fd4f4 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x94 github.com/mattermost/mattermost/server/public/model/config.go:5186 # 0x25fd4ad github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x7584c8 0x756c4d 0x7561f8 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7584c7 net/http.(*http2clientStream).writeRequestBody+0x207 net/http/h2_bundle.go:9168 # 0x756c4c net/http.(*http2clientStream).writeRequest+0xa0c net/http/h2_bundle.go:8833 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x54da26 0x54d413 0x22464d9 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x54da25 encoding/json.newEncodeState+0x85 encoding/json/encode.go:325 # 0x54d412 encoding/json.Marshal+0x52 encoding/json/encode.go:206 # 0x22464d8 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x78 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [5: 24320] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x264b5b7 0x266cce5 0xc7b03a 0x498001 # 0x264b5b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessScheduledPosts+0xd6 github.com/mattermost/mattermost/server/v8/channels/app/scheduled_post_job.go:26 # 0x266cce4 github.com/mattermost/mattermost/server/v8/channels/app.doRunScheduledPostJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1977 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1024] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 160] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a04734 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a04733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a02a93 0x1a02a18 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a02a92 github.com/mattermost/squirrel.SelectBuilder.From+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 240] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1945485 0x194537d 0x194536b 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1945484 github.com/lann/builder.Append+0x244 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194537c github.com/mattermost/squirrel.UpdateBuilder.Set+0x13c github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x194536a 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x414ff7 0x414d65 0x417d91 0xc61592 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x493087 0xb8c1d6 0xb8d20a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8c1d5 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).lookForLinkOrImage+0x975 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:364 # 0xb8d209 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x209 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:583 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 9856] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 224] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x79a6b6 0x79a846 0x728bab 0x727a73 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x79a6b5 net/http.Header.Clone+0xd5 net/http/header.go:105 # 0x79a845 net/http.cloneOrMakeHeader+0x265 net/http/clone.go:116 # 0x728baa net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:764 # 0x727a72 net/http.(*Client).do+0x232 net/http/client.go:614 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a04e28 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04e27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:322 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x7642b9 0x764765 0x77823d 0x777fd5 0x7729a9 0x779085 0x779e95 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7642b8 net/http.Header.sortedKeyValues+0x38 net/http/header.go:168 # 0x764764 net/http.Header.writeSubset+0xc4 net/http/header.go:195 # 0x77823c net/http.Header.WriteSubset+0x193c net/http/header.go:187 # 0x777fd4 net/http.(*chunkWriter).writeHeader+0x16d4 net/http/server.go:1533 # 0x7729a8 net/http.(*chunkWriter).close+0x28 net/http/server.go:410 # 0x779084 net/http.(*response).finishRequest+0x64 net/http/server.go:1673 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a04734 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a04733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x299bf4f 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x299bf4e crypto/internal/fips140/tls13.extract[...]+0x4e crypto/internal/fips140/tls13/tls13.go:44 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x6b2646 0x6b271f 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6b2645 crypto/x509.NewCertPool+0x645 crypto/x509/cert_pool.go:65 # 0x6b271e crypto/tls.(*Conn).verifyServerCertificate+0x71e crypto/tls/handshake_client.go:1152 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 128] @ 0x48dd05 0x493087 0x198d0ae 0x1879d84 0x219f744 0x263172a 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x198d0ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x14d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:49 # 0x1879d83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10149 # 0x219f743 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8102 # 0x2631729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x9c9 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x48dd2c 0x492ae9 0x5cb485 0x6532f4 0x6597c5 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6532f3 crypto/x509.parseExtension+0x73 crypto/x509/parser.go:233 # 0x6597c4 crypto/x509.parseCertificate+0x1084 crypto/x509/parser.go:1043 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 384] @ 0x48dd05 0x428505 0x6058d2 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6058d1 net.(*Dialer).DialContext+0x1f1 net/dial.go:544 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x428505 0x18e152c 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e152b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x1cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2359 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19e2966 0x19e289e 0x19e289d 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2965 github.com/lann/builder.Append+0x585 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e289d github.com/mattermost/squirrel.UpdateBuilder.Set+0x4bd github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e289c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:146 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846fbc 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1376733 0x137671d 0x138f9c5 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1376732 github.com/yuin/goldmark/renderer.NewConfig+0x32 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:22 # 0x137671c github.com/yuin/goldmark/renderer.NewRenderer+0x1c github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:107 # 0x138f9c4 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x124 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:24 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0399a 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a03999 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x579 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183fdc5 0x18405fa 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x183fdc4 github.com/mattermost/squirrel.Lt.toSql+0x64 github.com/mattermost/squirrel@v0.5.0/expr.go:319 # 0x18405f9 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x184c974 0x184c893 0x1945747 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184c973 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1945746 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 144] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 43776] @ 0x48dd0c 0x492ae9 0x542c16 0x19b8447 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x19b8446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:84 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28caf6d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caf6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x6cc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3764 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 256] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184418e 0x18442bd 0x183a417 0x183a6bc 0x183a8a7 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x183a416 github.com/mattermost/squirrel.(*sqlizerBuffer).WriteSql+0x36 github.com/mattermost/squirrel@v0.5.0/case.go:30 # 0x183a6bb github.com/mattermost/squirrel.(*caseData).ToSql+0x13b github.com/mattermost/squirrel@v0.5.0/case.go:79 # 0x183a8a6 github.com/mattermost/squirrel.CaseBuilder.ToSql+0xc6 github.com/mattermost/squirrel@v0.5.0/case.go:100 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a054ce 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a054cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x110d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:357 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a051d5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a051d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xe14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:337 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd25 0x48d69b 0x20c5f14 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5f13 runtime/pprof.printStackRecord+0x2d3 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd25 0x48d69b 0x20c5ec5 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5ec4 runtime/pprof.printStackRecord+0x284 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd25 0x48d69b 0x20c5f69 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5f68 runtime/pprof.printStackRecord+0x328 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 784] @ 0x48dd05 0x48d725 0x20c5eeb 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5eea runtime/pprof.printStackRecord+0x2aa runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 12480] @ 0x48dd05 0x428505 0x20c5c9a 0x20c5c8e 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5c8d runtime/pprof.printStackRecord+0x4d runtime/pprof/pprof.go:580 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 832] @ 0x48dd05 0x48d725 0x20c5f45 0x20c66b3 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c5f44 runtime/pprof.printStackRecord+0x304 runtime/pprof/pprof.go:591 # 0x20c66b2 runtime/pprof.writeHeapInternal+0x4b2 runtime/pprof/pprof.go:714 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 480] @ 0x48dd25 0x48d69b 0x20c683f 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c683e runtime/pprof.writeHeapInternal+0x63e runtime/pprof/pprof.go:711 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3981312] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20cbc0e 0x20c7c25 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 16] @ 0x48dd25 0x428505 0x20cab71 0x20cc425 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cab70 runtime/pprof.allFrames+0x30 runtime/pprof/proto.go:214 # 0x20cc424 runtime/pprof.(*profileBuilder).appendLocsForStack+0x3c4 runtime/pprof/proto.go:454 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x428505 0x4940ea 0x20d154d 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d154c runtime/pprof.writeHeapProto+0x6cc runtime/pprof/protomem.go:39 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 163584] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414dee 0x414d70 0x417d91 0x20cdd2b 0x20cdc0d 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdd2a runtime/pprof.(*profileBuilder).stringIndex+0xf4a runtime/pprof/proto.go:138 # 0x20cdc0c runtime/pprof.(*profileBuilder).emitLocation+0xe2c runtime/pprof/proto.go:651 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 499712] @ 0x48dd33 0x492ae9 0x20c62b1 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c62b0 runtime/pprof.writeHeapInternal+0xb0 runtime/pprof/pprof.go:653 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18d23d6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d23d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x975 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1259 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x2726127 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x2726126 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1506 github.com/mattermost/mattermost/server/v8/channels/web/params.go:214 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x18d1dc5 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1226 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x1847d54 0x18d2005 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847d53 github.com/mattermost/squirrel.SelectBuilder.Limit+0x73 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18d2004 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1237 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a02a93 0x1a02a18 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a02a92 github.com/mattermost/squirrel.SelectBuilder.From+0x152 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1259aaa 0x125beee 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x125beed github.com/lib/pq.(*conn).readExecuteResponse+0x10d github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x99febb 0x99fbe2 0x9a2e1c 0x9a29aa 0x673d17 0xb834b7 0x1287b9d 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x673d16 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x299ba09 0x6b7731 0x6b76f7 0x6b4125 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b7730 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x250 crypto/internal/fips140/tls13/tls13.go:137 # 0x6b76f6 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x216 crypto/tls/handshake_client_tls13.go:713 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 8] @ 0x48dd05 0x493087 0x660f69 0x6610bb 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x660f68 crypto/x509.(*policyGraph).incrDepth+0x648 crypto/x509/verify.go:1169 # 0x6610ba crypto/x509.policiesValid+0x79a crypto/x509/verify.go:1233 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 6144] @ 0x48dd2c 0x4930f3 0x6bc895 0x6bc865 0x6bc777 0x5ccbc4 0x5cd01c 0x6bc72d 0x6bc4f7 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6bc894 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bc864 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bc776 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc72c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x30c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc4f6 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd6 crypto/tls/handshake_messages.go:366 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce9b0 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x18ce9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:966 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x195d885 0x195d7fc 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x195d884 github.com/mattermost/squirrel.SelectBuilder.From+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x195d7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:54 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x1a03f5d 0x1a03f15 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03f5c github.com/mattermost/squirrel.SelectBuilder.Join+0x3dc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03f14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:243 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x428505 0x2943ad2 0x6e9c79 0x69bab6 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2943ad1 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x91 crypto/internal/fips140/aes/gcm/gcm_nonces.go:174 # 0x6e9c78 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:564 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 336] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a04094 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a04093 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:252 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a068ea 0x1a068cb 0x1309f10 0x498001 # 0x1a068e9 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x428505 0x20e38bf 0x20e32cd 0x498001 # 0x20e38be github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0x47e github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:155 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 128] @ 0x48dd05 0x428505 0x65e7ed 0x65ee76 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x65e7ec crypto/x509.alreadyInChain+0xcc crypto/x509/verify.go:681 # 0x65ee75 crypto/x509.(*Certificate).buildChains.func1+0x2d5 crypto/x509/verify.go:741 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19dbace 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19dbacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4752f7 0x69532b 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x69532a crypto/tls.(*weakCertCache).newCert+0x10a crypto/tls/cache.go:32 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 48] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5a2f 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5a2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x6e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:133 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c605f 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c605e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x69e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:159 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd25 0x492ae9 0x99f46a 0x99f6e5 0x498001 # 0x99f469 github.com/hashicorp/yamux.(*Session).Ping+0xe9 github.com/hashicorp/yamux@v0.1.2/session.go:339 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a014bb 0x1a01437 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a014ba github.com/mattermost/squirrel.SelectBuilder.From+0x17a github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a01436 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:155 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 560] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd2c 0x492ae9 0x292eec6 0x293b5d2 0x12475f0 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x292eec5 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:66 # 0x293b5d1 crypto/internal/fips140/hmac.(*HMAC).Reset+0x151 crypto/internal/fips140/hmac/hmac.go:122 # 0x12475ef github.com/lib/pq/scram.(*Client).saltPassword+0x12f github.com/lib/pq@v1.12.3/scram/scram.go:221 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 2112] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x54c097 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c096 encoding/json.(*decodeState).literalStore+0x20d6 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [3: 24] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x493087 0x7aa99b 0x7aa9e0 0x7aa025 0x7a9e0f 0x7a8acb 0x7bd537 0x7be04c 0x7be040 0x1164e3e 0x116664e 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7aa024 regexp/syntax.(*compiler).compile+0x13c4 regexp/syntax/compile.go:101 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1164e3d github.com/JalfResi/justext.paragraphObjectModel+0x7d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/paragraphObjectModel.go:70 # 0x116664d github.com/JalfResi/justext.(*Reader).ReadAll+0x8d github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:56 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [12: 8448] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cad7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cad7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3746 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x5305e6 0x18401d1 0x184063a 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18401d0 github.com/mattermost/squirrel.Lt.toSql+0x470 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1200] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 960] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x12617c5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x12617c4 github.com/lib/pq.(*Config).fromDSN+0xe4 github.com/lib/pq@v1.12.3/connector.go:703 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x262f82b 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x262f82a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x16a github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:214 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1248] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 8448] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cabae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cabad github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x30d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3732 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 72] @ 0x48dd05 0x428505 0xb59006 0xb595ff 0xb598d7 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb598d6 encoding/gob.(*Decoder).decOpFor+0x996 encoding/gob/decode.go:866 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1902ceb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902cea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 13440] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 448] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 294912] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a04b65 0x1a04adf 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a04b64 github.com/mattermost/squirrel.CaseBuilder.Else+0x7a4 github.com/mattermost/squirrel@v0.5.0/case.go:127 # 0x1a04ade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:306 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x492ae9 0x292eec6 0x293b574 0x12475f0 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x292eec5 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:66 # 0x293b573 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:115 # 0x12475ef github.com/lib/pq/scram.(*Client).saltPassword+0x12f github.com/lib/pq@v1.12.3/scram/scram.go:221 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd05 0x428505 0x412f72 0x414ff7 0x414d65 0x417d91 0x730e65 0x730dd3 0x730d94 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730e64 net/textproto.MIMEHeader.Set+0xc24 net/textproto/header.go:22 # 0x730dd2 net/http.Header.Set+0xb92 net/http/header.go:40 # 0x730d93 net/http.serveContent+0xb53 net/http/fs.go:424 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x199f225 0x199f19e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199f224 github.com/mattermost/squirrel.SelectBuilder.From+0x224 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x199f19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:93 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 19584] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 4160] @ 0x48dd05 0x428505 0x1a28525 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1a28524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1372 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0x4e75ea 0x4e75e1 0x272b8da 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x4e75e9 os.Open+0x49 os/file.go:390 # 0x4e75e0 os.ReadFile+0x40 os/file.go:865 # 0x272b8d9 github.com/mattermost/mattermost/server/v8/channels/web.root+0x559 github.com/mattermost/mattermost/server/v8/channels/web/static.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a04851 0x1a04806 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a04850 github.com/mattermost/squirrel.SelectBuilder.Join+0x490 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a04805 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 49152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6b7516 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b7515 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x35 crypto/tls/handshake_client_tls13.go:689 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1b8e3a5 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf3b9 0x21fb63c 0x21fadd7 0x4a3a6a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf3b8 time.NewTicker+0x78 time/tick.go:44 # 0x21fb63b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:518 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18480fb 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18480fa github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x9a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261e55 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1261e54 github.com/lib/pq.(*Config).fromDSN+0x774 github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2880] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 262144] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x129cbea 0x129cb9f 0x12ed392 0x21fad43 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21facb8 0x21d4da2 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129cbe9 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x129cb9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1086 # 0x12ed391 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:222 # 0x21fad42 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:427 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21facb7 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:426 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e0dc6 0x19e0cd3 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261e55 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e54 github.com/lib/pq.(*Config).fromDSN+0x774 github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1945510 0x19454c3 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x194550f github.com/mattermost/squirrel.UpdateBuilder.Set+0x2cf github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19454c2 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 1920] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [4: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x224619c 0x2249f7a 0x224c44f 0x224c0d3 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x224619b github.com/getsentry/sentry-go/internal/protocol.Dsn.GetAPIURL+0x1db github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:221 # 0x2249f79 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x661cbf 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661cbe crypto/x509.policiesValid+0x139e crypto/x509/verify.go:1371 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 19584] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 4864] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a0533 0x69e86d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b64fb 0x6b40f6 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a0532 crypto/tls.(*Conn).retryReadRecord+0x72 crypto/tls/conn.go:800 # 0x69e86c crypto/tls.(*Conn).readRecordOrCCS+0x12ec crypto/tls/conn.go:759 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b64fa crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x5a crypto/tls/handshake_client_tls13.go:525 # 0x6b40f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x755 crypto/tls/handshake_client_tls13.go:133 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 352] @ 0x48dd05 0x428505 0x261cbd2 0x261cbc6 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261cbd1 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0x261cbc5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:190 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2880] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2880] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1664] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [4: 256] @ 0x48dd2c 0x475974 0x475486 0x299b06c 0x299be65 0x299ba09 0x299b525 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299b06b crypto/internal/fips140/hkdf.Expand[...]+0x1ab crypto/internal/fips140/hkdf/hkdf.go:43 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b524 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2114fef 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2114fee github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:303 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1344] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x6e9c8f 0x69bab6 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6e9c8e crypto/tls.aeadAESGCMTLS13+0x8e crypto/tls/cipher_suites.go:570 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x184b9b4 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x2575928 0x2575931 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x2575927 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0x77e7 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x2575930 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x77f0 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:639 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 1802240] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x428505 0x2736e78 0x2736e4e 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2736e77 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x57 github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x2736e4d github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x2d github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:17 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x183a82d 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x183a82c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x661056 0x6610bb 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661055 crypto/x509.(*policyGraph).incrDepth+0x735 crypto/x509/verify.go:1174 # 0x6610ba crypto/x509.policiesValid+0x79a crypto/x509/verify.go:1233 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 1792] @ 0x48dd05 0x428505 0x19601be 0x1960813 0x1a0827a 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x1960812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:106 # 0x1a08279 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x3b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:565 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6dfa05 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [6: 2688] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 5376] @ 0x48dd2c 0x4930f3 0x54d4e5 0x257a592 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x257a591 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:863 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 122880] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 9043968] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 565248] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 4608] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9101312] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19e0310 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19e030f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:529 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de990 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de98f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:419 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x184bbd1 0x184bc90 0x18e61ae 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184bbd0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x184bc8f github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x18e61ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0xccbe47 0x25f31eb 0x25f31d6 0x25f3184 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0xccbe46 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x66 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x25f31ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0xaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x25f31d5 github.com/mattermost/mattermost/server/v8/channels/app.RequestContextWithMaster+0x95 github.com/mattermost/mattermost/server/v8/channels/app/context.go:15 # 0x25f3183 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x43 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2472e98 0x257a785 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2472e97 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MakeAuditRecord+0xf7 github.com/mattermost/mattermost/server/v8/channels/app/audit.go:105 # 0x257a784 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc644 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:871 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd2c 0x492ae9 0x2938cc6 0x293b574 0x29798dc 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2938cc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:134 # 0x293b573 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:115 # 0x29798db crypto/internal/fips140/ecdsa.newDRBG[...]+0x3bb crypto/internal/fips140/ecdsa/hmacdrbg.go:93 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846b2b 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2824333 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2824332 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x112 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:800 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19644e5 0x1964476 0x1963950 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19644e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x764 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1964475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:378 # 0x196394f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2b4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:333 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x428505 0x7738e5 0x788754 0x7884df 0x4cedee 0x76ce06 0x55a668 0x55a265 0x559f35 0x276ebab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7738e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:698 # 0x788753 net/http.(*body).readLocked+0x1b3 net/http/transfer.go:883 # 0x7884de net/http.(*body).Read+0xfe net/http/transfer.go:837 # 0x4ceded io.(*teeReader).Read+0x2d io/io.go:628 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x276ebaa github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x26a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1995 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e319 0x56e2dd 0x78b22c 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e318 context.withCancel+0x58 context/context.go:278 # 0x56e2dc context.WithCancelCause+0x1c context/context.go:269 # 0x78b22b net/http.(*Transport).roundTrip+0x7eb net/http/transport.go:654 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 896] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979dfb 0x2979a85 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x2979a84 crypto/internal/fips140/ecdsa.newDRBG[...]+0x564 crypto/internal/fips140/ecdsa/hmacdrbg.go:111 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 64] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a25cf4 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x784b68 0x76b126 0x796a34 0x498001 # 0x784b67 net/http.newTransferWriter+0x27 net/http/transfer.go:79 # 0x76b125 net/http.(*Request).write+0x7a5 net/http/request.go:706 # 0x796a33 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2655 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x13a0503 0x19df4af 0x19df488 0x1984c34 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19df4ae github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x19df487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:480 # 0x1984c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x1253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3185 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3456] @ 0x48dd05 0x428505 0x18c5a48 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5a47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:138 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 13312000] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 196608] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 16384] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 14417920] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 901120] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 15622144] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 11640832] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 11780096] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 737280] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [3: 565248] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 11919360] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19e0310 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19e030f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:529 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 950272] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x6fe54f 0x6fe4e8 0x27d1a4d 0x27d5711 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6fe54e bufio.NewReaderSize+0xce bufio/bufio.go:57 # 0x6fe4e7 mime/multipart.NewReader+0x67 mime/multipart/multipart.go:122 # 0x27d1a4c github.com/mattermost/mattermost/server/v8/channels/api4.multipartReader+0x6c github.com/mattermost/mattermost/server/v8/channels/api4/file.go:71 # 0x27d5710 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2150 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:224 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x493087 0x4af378 0x4aee73 0x615e65 0x614c45 0x130bee5 0x130cf9e 0x130c890 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x4af377 syscall.ParseNetlinkMessage+0x137 syscall/netlink_linux.go:133 # 0x4aee72 syscall.NetlinkRIB+0x4d2 syscall/netlink_linux.go:98 # 0x615e64 net.interfaceAddrTable+0x24 net/interface_linux.go:124 # 0x614c44 net.(*Interface).Addrs+0x24 net/interface.go:82 # 0x130bee4 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0xe4 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:53 # 0x130cf9d github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0x5d github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x130c88f github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x22f github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:159 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19eaad0 0x19eaa08 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19eaacf github.com/lann/builder.Append+0x36f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaa07 github.com/mattermost/squirrel.InsertBuilder.Values+0x2a7 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x76bd45 0x259578a 0x2595754 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x76bd44 net/http.NewRequestWithContext+0x164 net/http/request.go:902 # 0x2595789 net/http.NewRequest+0x209 net/http/request.go:863 # 0x2595753 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x1d3 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:492 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e8130 0x18e8032 0x18e8144 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e812f github.com/lann/builder.Append+0x26f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e8031 github.com/mattermost/squirrel.UpdateBuilder.Set+0x171 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e8143 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x283 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2974 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2560] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x428505 0xccbc68 0xccbc5c 0xccbc38 0x286eaac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccbc67 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x47 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbc5b github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x3b github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0xccbc37 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x17 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x286eaab github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:717 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 81920] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0x7bf025 0x7bf512 0x7bef4b 0x19dbe07 0x191f832 0x1868fc7 0x2150cf8 0x218c56d 0x25116b0 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0x7bf024 regexp.(*Regexp).ReplaceAllStringFunc.func1+0x84 regexp/regexp.go:578 # 0x7bf511 regexp.(*Regexp).replaceAll+0x3f1 regexp/regexp.go:616 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x191f831 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 # 0x1868fc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5757 # 0x2150cf7 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 # 0x218c56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4712 # 0x25116af github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x112f github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1920f55 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920f54 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x22050d9 0x2204837 0x498001 # 0x22050d8 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x878 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 2592] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19caa17 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x19caa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x1b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:186 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 2240] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 2560] @ 0x48dd2c 0x4930f3 0x54d4e5 0x257a592 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x257a591 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc451 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:863 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0xca6bdf 0x54eb71 0x5529c3 0x54dd73 0x55087a 0x5513b0 0x550e0a 0x54dd73 0x54db31 0x55a790 0xca243b 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca6bde github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x1e github.com/mattermost/mattermost/server/public/model/channel.go:575 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xca243a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xba github.com/mattermost/mattermost/server/public/model/websocket_message.go:387 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a0c1f0 0x1a0c0e7 0x1a0c0ce 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0c1ef github.com/lann/builder.Append+0x36f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1a0c0e6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x266 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1a0c0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:744 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [4: 1664] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1cd084d 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x1cd084c github.com/golang-jwt/jwt/v5.(*Token).SignedString+0xcc github.com/golang-jwt/jwt/v5@v5.3.1/token.go:76 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 3456] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 224] @ 0x48dd05 0x428505 0x41d554 0x78f5ce 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x78f5cd net/http.(*Transport).getConn+0x20d net/http/transport.go:1536 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 448] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x28cc09d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x28cc09c github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0xb7c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3819 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2560] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd2c 0x492ae9 0x4c209c 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2249a85 0x224c270 0x224c0d3 0x498001 # 0x4c209b time.Time.MarshalJSON+0x3b time/time.go:1592 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2249a84 github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0x24 github.com/getsentry/sentry-go@v0.46.2/report/report.go:18 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [6: 6912] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x26c0c91 0x26c0c51 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26c0c90 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x6b0 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x26c0c50 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x670 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3174 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e62b3 0x18e6204 0x18e61d8 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e62b2 github.com/lann/builder.Append+0x1052 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e6203 github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0xfa3 github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x18e61d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2777 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e54c7 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e54c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x266 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2763 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x29731e6 0x2979b68 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x29731e5 crypto/internal/fips140/ecdsa.pad000+0x65 crypto/internal/fips140/ecdsa/hmacdrbg.go:132 # 0x2979b67 crypto/internal/fips140/ecdsa.newDRBG[...]+0x647 crypto/internal/fips140/ecdsa/hmacdrbg.go:104 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08429 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x568 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:571 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1972725 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1972724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1690 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191a35f 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191a35e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x4fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:77 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x493087 0x71bdaa 0x71bcab 0x71ce45 0x71c7c5 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x71bda9 vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x149 vendor/golang.org/x/net/http2/hpack/tables.go:60 # 0x71bcaa vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x71ce44 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x3e4 vendor/golang.org/x/net/http2/hpack/hpack.go:393 # 0x71c7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xe4 vendor/golang.org/x/net/http2/hpack/hpack.go:316 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [6: 1248] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x199062d 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199062c github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ac github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x76c2f1 0x76c2f9 0x2249fb5 0x224c44f 0x224c0d3 0x498001 # 0x76c2f0 io.NopCloser+0x710 io/io.go:684 # 0x76c2f8 net/http.NewRequestWithContext+0x718 net/http/request.go:908 # 0x2249fb4 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1f4 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [5: 560] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x72702b 0x7263fd 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x72702a net/http.setRequestCancel+0x34a net/http/client.go:403 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x19ec56b 0x19ec836 0x19f76dd 0x19f74cb 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ec56a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x7aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:156 # 0x19ec835 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:184 # 0x19f76dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRolesList.ToModel+0x5bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:204 # 0x19f74ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x3aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1143 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x19e22ce 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e22cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x10d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:126 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19448cb 0x19447ff 0x19447ed 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x19448ca github.com/lann/builder.Append+0x2ca github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19447fe github.com/mattermost/squirrel.UpdateBuilder.Set+0x1fe github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19447ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x1ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:154 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1a06d65 0x1a06d06 0x1309f10 0x498001 # 0x1a06d64 github.com/mattermost/squirrel.SelectBuilder.From+0x144 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06d05 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:442 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19eaad0 0x19eaa08 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19eaacf github.com/lann/builder.Append+0x36f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaa07 github.com/mattermost/squirrel.InsertBuilder.Values+0x2a7 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x124661f 0x124653a 0x1258f6a 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x124661e github.com/lib/pq/scram.(*Client).step1+0x5e github.com/lib/pq@v1.12.3/scram/scram.go:131 # 0x1246539 github.com/lib/pq/scram.(*Client).Step+0xd9 github.com/lib/pq@v1.12.3/scram/scram.go:119 # 0x1258f69 github.com/lib/pq.(*conn).auth+0x9a9 github.com/lib/pq@v1.12.3/conn.go:1369 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x2717285 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2717284 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xba4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 9152] @ 0x48dd0c 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x21f1a3e 0x21f1a07 0x21f1e29 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x21f1a3d github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x13d github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x21f1a06 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x106 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:211 # 0x21f1e28 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x308 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:223 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 288] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x125d4b5 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261e55 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e54 github.com/lib/pq.(*Config).fromDSN+0x774 github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x194a858 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x194a857 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1536] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1a06213 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a06212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x2f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:427 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc97b89 0xc97b8a 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97b88 github.com/tinylib/msgp/msgp.ReadStringBytes+0xb08 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97b89 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb09 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 2304] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x54d9be 0x55a727 0x21fb94a 0x21fadd7 0x4a3a6a 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x54d9bd encoding/json.newEncodeState+0x1d encoding/json/encode.go:316 # 0x55a726 encoding/json.(*Encoder).Encode+0x66 encoding/json/stream.go:209 # 0x21fb949 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:588 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [4: 4096] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x7584c8 0x756c4d 0x7561f8 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7584c7 net/http.(*http2clientStream).writeRequestBody+0x207 net/http/h2_bundle.go:9168 # 0x756c4c net/http.(*http2clientStream).writeRequest+0xa0c net/http/h2_bundle.go:8833 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [8: 1664] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x17eeffe 0x17edc19 0x17edbe5 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x17eeffd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x17edc18 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x98 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x17edbe4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x64 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:150 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 3168] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 480] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 432] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1998178 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 34048] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a07f65 0x1a07f43 0x1a07f28 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07f64 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a07f42 github.com/mattermost/squirrel.Select+0x82 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a07f27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:555 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03d89 0x1a03d3c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03d3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x664ae5 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x664ae4 crypto/x509.checkSignature+0x1e4 crypto/x509/x509.go:1009 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 13568] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc976bb 0xc976bc 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc976ba github.com/tinylib/msgp/msgp.ReadStringBytes+0x63a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc976bb github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x63b github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:565 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1a1f6a5 0x1a1f03a 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1a1f6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.applyRoleFilter+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:688 # 0x1a1f039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x199 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:657 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 576] @ 0x48dd05 0x493087 0x652b48 0x658c7d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x652b47 crypto/x509.parseName+0x307 crypto/x509/parser.go:177 # 0x658c7c crypto/x509.parseCertificate+0x53c crypto/x509/parser.go:963 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x18468ff 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a03ee6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03ee5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:236 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0efb2 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0efb1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x251 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1048 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x197c56b 0x1872d92 0x219762b 0x21207bb 0x263102e 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x197c56a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).AnalyticsPostCount+0xb0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:2491 # 0x1872d91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).AnalyticsPostCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8319 # 0x219762a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).AnalyticsPostCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6664 # 0x21207ba github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.AnalyticsPostCount+0x15a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:161 # 0x263102d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x2cd github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:327 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd2c 0x4752f7 0x54c6e7 0x54c6d0 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1962925 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1962924 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1b24 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a06805 0x1a067df 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06804 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a067de 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:453 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a02c11 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x805e25 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x805e24 database/sql.(*DB).addDepLocked+0xb64 database/sql/sql.go:759 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x6072fb 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x6072fa net.(*sysDialer).dialParallel.func1+0x7a net/dial.go:676 0: 0 [2: 64] @ 0x48dd05 0x428505 0xb8afd1 0xb8d1aa 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8afd0 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x310 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:267 # 0xb8d1a9 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1a9 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2560] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 2688] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 5184] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1ccac30 0x1cca8ce 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccac2f github.com/gorilla/mux.extractVars+0x4cf github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0x1cca8cd github.com/gorilla/mux.routeRegexpGroup.setMatch+0x16d github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128697 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128696 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x976 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x54c63c 0x54c419 0x54c748 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c63b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1079 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x2625274 0x2623195 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x2625273 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x53 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1086 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 288] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0xc3e90e 0xc3e797 0xc3e611 0x2623265 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0xc3e90d github.com/mattermost/mattermost/server/public/model.IsSVGImageURL+0x2d github.com/mattermost/mattermost/server/public/model/link_metadata.go:118 # 0xc3e796 github.com/mattermost/mattermost/server/public/model.FilterSVGImages+0x96 github.com/mattermost/mattermost/server/public/model/link_metadata.go:102 # 0xc3e610 github.com/mattermost/mattermost/server/public/model.TruncateOpenGraph+0x450 github.com/mattermost/mattermost/server/public/model/link_metadata.go:83 # 0x2623264 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x164 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:907 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x1a06805 0x1a067df 0x1309f10 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a06804 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a067de 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:453 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x18476bc 0x1a051d5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a051d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xe14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:337 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e6aa 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e6a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:599 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1945932 0x1945830 0x194581e 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1945931 github.com/lann/builder.Append+0x6f1 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194582f github.com/mattermost/squirrel.UpdateBuilder.Set+0x5ef github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x194581d 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x12636d2 0x1261eb6 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x12636d1 github.com/lib/pq.(*Config).setFromTag+0x11f1 github.com/lib/pq@v1.12.3/connector.go:853 # 0x1261eb5 github.com/lib/pq.(*Config).fromDSN+0x7d5 github.com/lib/pq@v1.12.3/connector.go:793 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 960] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 10752] @ 0x48dd2c 0x428505 0x2943ad2 0x6e9c79 0x69bab6 0x6a5afe 0x6b60c5 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2943ad1 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x91 crypto/internal/fips140/aes/gcm/gcm_nonces.go:174 # 0x6e9c78 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:564 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b60c4 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x244 crypto/tls/handshake_client_tls13.go:495 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19e0310 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19e030f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:529 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0xb7b549 0xb7b54a 0x498001 # 0xb7b548 bufio.(*Scanner).Text+0x168 bufio/scan.go:115 # 0xb7b549 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x169 github.com/hashicorp/go-plugin@v1.8.0/client.go:804 0: 0 [3: 960] @ 0x48dd05 0x428505 0x76be50 0x259578a 0x2595754 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x76be4f net/http.NewRequestWithContext+0x26f net/http/request.go:912 # 0x2595789 net/http.NewRequest+0x209 net/http/request.go:863 # 0x2595753 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x1d3 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:492 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19e00bb 0x19e0073 0x19e0345 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19e00ba github.com/jmoiron/sqlx.(*Tx).SelectContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x19e0072 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:525 # 0x19e0344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:534 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x546e9e 0x55a01f 0x286dded 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x286ddec github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xec github.com/mattermost/mattermost/server/v8/channels/api4/system.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 11648] @ 0x48dd2c 0x4930f3 0x54d4e5 0x25955d2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x25955d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x51 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:486 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 8064] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x19ea993 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x232 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a03f5d 0x1a03f15 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03f5c github.com/mattermost/squirrel.SelectBuilder.Join+0x3dc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03f14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:243 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 320] @ 0x48dd2c 0x4752f7 0x5305e6 0x183e486 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183e485 github.com/mattermost/squirrel.aliasExpr.ToSql+0xc5 github.com/mattermost/squirrel@v0.5.0/expr.go:131 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125bedb 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125beda github.com/lib/pq.(*conn).readExecuteResponse+0xfa github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x7fc177 0x7fcea5 0x7fd37f 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fc176 database/sql/driver.defaultConverter.ConvertValue+0x4d6 database/sql/driver/types.go:292 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 1152] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x224615c 0x2249f7a 0x224c44f 0x224c0d3 0x498001 # 0x224615b github.com/getsentry/sentry-go/internal/protocol.Dsn.GetAPIURL+0x19b github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:221 # 0x2249f79 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 34048] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [21: 6048] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1958368 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:152 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x428505 0x64415e 0x644173 0x6e9c34 0x69bab6 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64415d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x644172 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6e9c33 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:555 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18e231f 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e231e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x190381e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190381d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 10240] @ 0x48dd2c 0x4930f3 0x6bde95 0x6bde65 0x6bdd77 0x5ccbc4 0x5cd01c 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bde94 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bde64 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bdd76 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [9: 10368] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 384] @ 0x48dd05 0x428505 0x1a0611f 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0611e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:402 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd05 0x428505 0x73d3c5 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73d3c4 net/http.(*http2Framer).readMetaFrame+0x124 net/http/h2_bundle.go:3169 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 6144] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x415da5 0x71bd73 0x71bcab 0x71ce45 0x71c7c5 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x71bd72 vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x112 vendor/golang.org/x/net/http2/hpack/tables.go:59 # 0x71bcaa vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x71ce44 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x3e4 vendor/golang.org/x/net/http2/hpack/hpack.go:393 # 0x71c7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xe4 vendor/golang.org/x/net/http2/hpack/hpack.go:316 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 6912] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x428505 0xc9d0e9 0x249ee72 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9d0e8 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x249ee71 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x171 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2547 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02e5d 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02e5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x51c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:139 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1a06a7c 0x1309f10 0x498001 # 0x1a06a7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e54c7 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e54c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x266 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2763 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e2aa5 0x19e29b2 0x19e29b1 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e2aa4 github.com/lann/builder.Append+0x6c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e29b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5d1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e29b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:147 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1760] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28cafc5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cafc4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3765 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a04c7e 0x1a04c33 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a04c7d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8bd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a04c32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x223d427 0x225c134 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d426 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x106 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:465 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1920e4f 0x1920df4 0x1920e02 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1920e4e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xce github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1920df3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1920e01 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:223 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2824630 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x282462f github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x40f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:838 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x428505 0x445e91 0x48ecb3 0x6eb77d 0x69530c 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x48ecb2 weak.runtime_registerWeakPointer+0x12 runtime/mheap.go:2411 # 0x6eb77c weak.Make[...]+0x5c weak/pointer.go:74 # 0x69530b crypto/tls.(*weakCertCache).newCert+0xeb crypto/tls/cache.go:31 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725e19 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725e18 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x11f8 github.com/mattermost/mattermost/server/v8/channels/web/params.go:204 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x4cef85 0x4ce831 0x2596b30 0x2596992 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x4cef84 io.discard.ReadFrom+0xa4 io/io.go:669 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2596b2f io.Copy+0x84f io/io.go:388 # 0x2596991 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x6b1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:593 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184af13 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184af12 github.com/mattermost/squirrel.(*updateData).ToSql+0xa52 github.com/mattermost/squirrel@v0.5.0/update.go:137 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x55a01f 0x28ec8ed 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x28ec8ec github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 18432] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd2c 0x428505 0x4b0745 0x4b1897 0x62788f 0x62717b 0x61c3d8 0x62f787 0x607d4b 0x607688 0x606e19 0x605b65 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x4b0744 syscall.anyToSockaddr+0x64 syscall/syscall_linux.go:669 # 0x4b1896 syscall.Getpeername+0x76 syscall/syscall_unix.go:309 # 0x62788e net.(*netFD).dial+0x60e net/sock_posix.go:142 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x607d4a net.(*sysDialer).dialSingle+0x26a net/dial.go:795 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247850a 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 2112] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28caf18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caf17 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3763 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 6272] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 384] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0xc9bbd8 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9bbd7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0x72f38b 0x72f382 0x732882 0x7335b8 0x25e9765 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x72f38a os.Open+0xea os/file.go:390 # 0x72f381 net/http.Dir.Open+0xe1 net/http/fs.go:91 # 0x732881 net/http.serveFile+0xc1 net/http/fs.go:690 # 0x7335b7 net/http.ServeFile+0xf7 net/http/fs.go:825 # 0x25e9764 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginPublicRequest+0x2c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:153 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc00faa 0x275e5e5 0x275e5de 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc00fa9 github.com/mattermost/mattermost/server/public/model.(*Channel).Auditable+0x29 github.com/mattermost/mattermost/server/public/model/channel.go:143 # 0x275e5e4 github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0xac4 github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x275e5dd github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xabd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:668 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3072] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3612672] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1351680] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f7d09 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f7d08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1955945 0x19558f4 0x19558f3 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1955944 github.com/mattermost/squirrel.DeleteBuilder.From+0x104 github.com/mattermost/squirrel@v0.5.0/delete.go:175 # 0x19558f3 github.com/mattermost/squirrel.StatementBuilderType.Delete+0xb3 github.com/mattermost/squirrel@v0.5.0/statement.go:31 # 0x19558f2 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 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [105: 15120] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [116: 18560] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbedd76 0xbeeb75 0xbee9dc 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbedd75 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x115 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:204 # 0xbeeb74 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xbee9db github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd0c 0x492ae9 0x551136 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 12800] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 6144] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19687ed 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x19687ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0xc0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:797 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [3: 1056] @ 0x48dd05 0x428505 0xc56fa5 0xc56f94 0x25f9e97 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc56fa4 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc56f93 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x13 github.com/mattermost/mattermost/server/public/model/post.go:392 # 0x25f9e96 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1010 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28a27a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a27a4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x944 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 7168] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196a11c 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:919 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd2c 0x428505 0x7bf196 0x7bec52 0xc9e930 0x25f05a5 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf195 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:597 # 0x7bec51 regexp.(*Regexp).ReplaceAllString+0xd1 regexp/regexp.go:557 # 0xc9e92f github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xaf github.com/mattermost/mattermost/server/public/model/utils.go:757 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc63a9a 0xc55811 0x281beaf 0x281beaa 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc63a99 github.com/mattermost/mattermost/server/public/model.(*PostMetadata).Auditable+0x219 github.com/mattermost/mattermost/server/public/model/post_metadata.go:66 # 0xc55810 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x30 github.com/mattermost/mattermost/server/public/model/post.go:165 # 0x281beae github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x78e github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x281bea9 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x789 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:136 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x428505 0x5bca3a 0x5bca50 0x585a3d 0x299d197 0x2979daf 0x299b2b5 0x299bfa6 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5bca39 crypto/internal/fips140/sha512.New384+0x19 crypto/internal/fips140/sha512/sha512.go:226 # 0x5bca4f crypto/sha512.New384+0x2f crypto/sha512/sha512.go:80 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x78d7fc 0x795e54 0x795afc 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x78d7fb net/http.(*Transport).tryPutIdleConn+0x81b net/http/transport.go:1164 # 0x795e53 net/http.(*persistConn).readLoop.func2+0x33 net/http/transport.go:2303 # 0x795afb net/http.(*persistConn).readLoop+0xc7b net/http/transport.go:2456 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 13056] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184648c 0x18463bb 0x18464b0 0x18e5545 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184648b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x18e5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2765 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x197261e 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x197261d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1689 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a25c8d 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25c8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 5632] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a0d309 0x1a0ced7 0x188bb8e 0x21b447a 0x258025b 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0d308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:800 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x258025a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x15a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:290 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0d135 0x1a0d0b7 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25f25d9 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0d134 github.com/mattermost/squirrel.SelectBuilder.From+0x214 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0d0b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x196 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:799 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25f25d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x2ff8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:465 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 960] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196997d 0x19698fe 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196997c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1d9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19698fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x1d1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:883 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [6: 884736] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 393216] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2277376] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 18944] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53001e 0x5305b0 0x184ab46 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53001d fmt.newPrinter+0x1d fmt/print.go:152 # 0x5305af fmt.Sprintf+0x2f fmt/print.go:238 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x199f973 0x187c76e 0x21a26da 0x26393cf 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x199f972 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).ExistsOnPost+0x3d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:114 # 0x187c76d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).ExistsOnPost+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10842 # 0x21a26d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).ExistsOnPost+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8630 # 0x26393ce github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x32e github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:41 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e392 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 540672] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbee325 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115311 0x2581397 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbee324 github.com/vmihailenco/msgpack/v5.encodeMapValue+0x1c4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:25 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115310 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x130 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:338 # 0x2581396 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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26390f0 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26390ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:19 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0x1a1e63c 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:593 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0x61dc4c 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x61dc4b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 3211264] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cbeba 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cbeb9 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x999 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3814 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 384] @ 0x48dd05 0x492ae9 0x7c0b1d 0x226da88 0x22700ac 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7c0b1c regexp.(*Regexp).FindSubmatch+0xbc regexp/regexp.go:869 # 0x226da87 github.com/getsentry/sentry-go.(*Span).updateFromSentryTrace+0x27 github.com/getsentry/sentry-go@v0.46.2/tracing.go:523 # 0x22700ab github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0xeb github.com/getsentry/sentry-go@v0.46.2/tracing.go:1097 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a04c12 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a04c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:309 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 256] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4423680] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [2: 425984] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4874240] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 311296] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 5373952] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 4224] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x183a82d 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x183a82c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 6144] @ 0x48dd0c 0x493087 0x471429 0x18c61fa 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c61f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x839 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x61be25 0x61aae3 0x61bb45 0x604c05 0x6058a5 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x61be24 net.(*Resolver).internetAddrList.func1+0x1e4 net/ipsock.go:277 # 0x61aae2 net.filterAddrList+0x182 net/ipsock.go:137 # 0x61bb44 net.(*Resolver).internetAddrList+0x684 net/ipsock.go:308 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [7: 168] @ 0x48dd2c 0x4752f7 0xc8413d 0xc8413e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8413c github.com/tinylib/msgp/msgp.ReadStringBytes+0x33c github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8413d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x33d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x194796f 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x194796e 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18390f0 0x19ea7fe 0x19ea7a3 0x19ea7b1 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x19ea7fd github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19ea7a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19ea7b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80b825 0x13a7139 0x13a58e2 0x19de73b 0x19de6f3 0x19de9c5 0x1a0d35c 0x1a0e0fa 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a7138 github.com/jmoiron/sqlx.(*Tx).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:352 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19de73a github.com/jmoiron/sqlx.(*Tx).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:346 # 0x19de6f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:415 # 0x19de9c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:424 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0e0f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x59 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:886 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x1846885 0x1968205 0x19681d1 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1968204 github.com/mattermost/squirrel.StatementBuilderType.Select+0x624 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19681d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x5f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:781 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2821112 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2821111 github.com/mattermost/mattermost/server/v8/channels/api4.getPost+0x251 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:555 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x19663c9 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19663c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x1a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:627 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 7040] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227f549 0x27019b2 0x2700c90 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2700c8f github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5ef github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:211 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 720] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227f549 0x27019b2 0x2700c90 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2700c8f github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5ef github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:211 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 6912] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x299af5a 0x299be65 0x6dfa05 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [7: 448] @ 0x48dd05 0x428505 0x65e7ed 0x65ee76 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x65e7ec crypto/x509.alreadyInChain+0xcc crypto/x509/verify.go:681 # 0x65ee75 crypto/x509.(*Certificate).buildChains.func1+0x2d5 crypto/x509/verify.go:741 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x1960277 0x1960258 0x19629bf 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1960276 github.com/mattermost/mattermost/server/public/model.StringInterfaceToJSON+0x36 github.com/mattermost/mattermost/server/public/model/utils.go:587 # 0x1960257 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postToSlice+0x17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:96 # 0x19629be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1bbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:258 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x299b0d5 0x299be65 0x6df86e 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x299b0d4 crypto/internal/fips140/hkdf.Expand[...]+0x214 crypto/internal/fips140/hkdf/hkdf.go:45 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 3072] @ 0x48dd2c 0x4930f3 0x4aee26 0x6157f1 0x614d99 0x130be37 0x130cf9e 0x130c890 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x4aee25 syscall.NetlinkRIB+0x485 syscall/netlink_linux.go:97 # 0x6157f0 net.interfaceTable+0x30 net/interface_linux.go:17 # 0x614d98 net.Interfaces+0x18 net/interface.go:104 # 0x130be36 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0x36 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:47 # 0x130cf9d github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0x5d github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x130c88f github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x22f github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:159 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199f293 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f292 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x292 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199f24e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x24d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:94 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196de6b 0x196dd3f 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 448] @ 0x48dd05 0x493087 0x2719afe 0x27194e2 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719afd github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x4bd github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:166 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x21ebf97 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21ebf96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:130 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x136e865 0x136f9af 0x4a240c 0x136f62f 0x136f603 0x137d9ac 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x136e864 github.com/yuin/goldmark/parser.(*parser).addBlockParser+0x2a4 github.com/yuin/goldmark@v1.8.2/parser/parser.go:792 # 0x136f9ae github.com/yuin/goldmark/parser.(*parser).Parse.func1+0xee github.com/yuin/goldmark@v1.8.2/parser/parser.go:868 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x136f62e sync.(*Once).Do+0x6e sync/once.go:69 # 0x136f602 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.8.2/parser/parser.go:865 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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 [8: 2560] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x85d61b 0x85ce87 0x25d4c48 0x127ef22 0x128d348 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85ce86 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x25d4c47 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1140 # 0x127ef21 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1081 # 0x128d347 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1016 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 172032] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 12656640] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d671a 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d6719 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xd79 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:493 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x28619d5 0x286196e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x28619d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x286196d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x191fbfb 0x191fb95 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x191fbfa github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x191fb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 38912] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 128] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 32384] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x730e65 0x730dd3 0x730d94 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730e64 net/textproto.MIMEHeader.Set+0xc24 net/textproto/header.go:22 # 0x730dd2 net/http.Header.Set+0xb92 net/http/header.go:40 # 0x730d93 net/http.serveContent+0xb53 net/http/fs.go:424 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227f549 0x27019b2 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbf16c2 0xbf16ac 0xbf1a25 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf16c1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf16ab github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeArrayLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:93 # 0xbf1a24 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:130 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 320] @ 0x48dd2c 0x4752f7 0xc9711a 0xc9711b 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97119 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9711a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc9dad3 0x28518e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28518e5 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:90 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x607534 0x606e19 0x605b65 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x607533 net.(*sysDialer).dialSerial+0xf3 net/dial.go:734 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x125af57 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125af56 github.com/lib/pq.(*conn).processParameterStatus+0x356 github.com/lib/pq@v1.12.3/conn.go:1562 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 400] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x26089e5 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x26089e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2647 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18390f0 0x19e2479 0x19e241e 0x19e242c 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x19e2478 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x98 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e241d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e242b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:136 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725d32 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725d31 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1111 github.com/mattermost/mattermost/server/v8/channels/web/params.go:201 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28a9846 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28a9845 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x1ba5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x475974 0x475486 0xc9bbd8 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9bbd7 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x77 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x428505 0x6a2476 0x6a222f 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a2475 crypto/tls.(*Conn).unmarshalHandshakeMessage+0xb5 crypto/tls/conn.go:1131 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x136ce05 0x136f686 0x137d9ac 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x136ce04 github.com/yuin/goldmark/parser.NewContext+0xe4 github.com/yuin/goldmark@v1.8.2/parser/parser.go:267 # 0x136f685 github.com/yuin/goldmark/parser.(*parser).Parse+0xc5 github.com/yuin/goldmark@v1.8.2/parser/parser.go:896 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 896] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52060e 0xbe9d9b 0xbe9bd6 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52060d reflect.AppendSlice+0x12d reflect/value.go:2807 # 0xbe9d9a github.com/vmihailenco/msgpack/v5.growSliceValue+0xda github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:129 # 0xbe9bd5 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x455 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:112 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x5dfdbb 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5dfdba crypto/rsa.fipsPublicKey+0x3a crypto/rsa/rsa.go:670 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18e33d4 0x18e3321 0x18599a7 0x217ab2d 0x21152c6 0x2581397 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e33d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x133 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e3320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersNotifyPropsForChannel+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2530 # 0x18599a6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1821 # 0x217ab2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersNotifyPropsForChannel+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1587 # 0x21152c5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersNotifyPropsForChannel+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:332 # 0x2581396 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] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184816c 0x184809b 0x1848190 0x18e62fc 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e62fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x109b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2777 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a294d5 0x1a294e6 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a294d4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3d4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a294e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x3e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x125d43a 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 6144] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x493087 0x136fa4d 0x4a240c 0x136f62f 0x136f603 0x137d9ac 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x136fa4c github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x18c github.com/yuin/goldmark@v1.8.2/parser/parser.go:872 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x136f62e sync.(*Once).Do+0x6e sync/once.go:69 # 0x136f602 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.8.2/parser/parser.go:865 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x1a08752 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x891 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:582 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a084fe 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a084fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x63d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x17ef069 0x17ef057 0x26ade2b 0x26bed13 0x26bec05 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef068 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x28 github.com/mattermost/mattermost/server/public/model/config.go:5186 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26bed12 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x1f2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bec04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2999 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 4480] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x194a85d 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x194a85c 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551365 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551364 encoding/json.mapEncoder.encode+0x484 encoding/json/encode.go:802 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19f71ba 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f71b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x428505 0x779dc5 0x498001 # 0x779dc4 net/http.(*conn).serve+0x5c4 net/http/server.go:2060 0: 0 [1: 16] @ 0x48dd05 0x428505 0x26ff93e 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ff93d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:63 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd2c 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x17d9e9b 0x17d9e53 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x17d9e9a path/filepath.Join+0x15a path/filepath/path.go:131 # 0x17d9e52 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:82 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a06e13 0x1a06dcb 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06e12 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 3456] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4930f3 0xb62805 0xb626aa 0xb63783 0xb63cd6 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62804 encoding/gob.(*encBuffer).WriteString+0x264 encoding/gob/encode.go:60 # 0xb626a9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63cd5 encoding/gob.(*Encoder).encodeMap+0x4f5 encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [8: 640] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 262144] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a039bd 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a039bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19e2990 0x19e289e 0x19e289d 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e298f github.com/lann/builder.Append+0x5af github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e289d github.com/mattermost/squirrel.UpdateBuilder.Set+0x4bd github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e289c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:146 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 1024] @ 0x48dd2c 0x492ae9 0x296b1f4 0x296b231 0x5dfda5 0x5da4f7 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296b1f3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x296b230 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:552 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5da4f6 crypto/rsa.VerifyPSS+0x176 crypto/rsa/fips.go:157 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x2245d25 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x2245d24 github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x164 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:152 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [6: 1344] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [7: 560] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 5376] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x857f95 0x857e4a 0x855c65 0x8742a5 0x87422a 0x874261 0x122615a 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x857f94 github.com/mattermost/logr/v2.LimitString+0x514 github.com/mattermost/logr/v2@v2.0.22/formatter.go:44 # 0x857e49 github.com/mattermost/logr/v2.(*Logr).enqueue+0x3c9 github.com/mattermost/logr/v2@v2.0.22/logr.go:259 # 0x855c64 github.com/mattermost/logr/v2.Logger.Log+0x124 github.com/mattermost/logr/v2@v2.0.22/logger.go:55 # 0x8742a4 github.com/mattermost/logr/v2.Logger.Warn+0xc4 github.com/mattermost/logr/v2@v2.0.22/logger.go:83 # 0x874229 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).Warn+0x49 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:338 # 0x874260 github.com/mattermost/mattermost/server/public/shared/mlog.Warn+0x80 github.com/mattermost/mattermost/server/public/shared/mlog/global.go:101 # 0x1226159 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x439 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:299 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 4224] @ 0x48dd2c 0x4930f3 0x6bde95 0x6bde65 0x6bdd77 0x5ccbc4 0x5cd01c 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6bde94 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bde64 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bdd76 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x798659 0x7985b1 0x78cd73 0x78b414 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x798658 net.JoinHostPort+0x178 net/ipsock.go:242 # 0x7985b0 net/http.canonicalAddr+0xd0 net/http/transport.go:3038 # 0x78cd72 net/http.(*Transport).connectMethodForRequest+0x52 net/http/transport.go:986 # 0x78b413 net/http.(*Transport).roundTrip+0x9d3 net/http/transport.go:683 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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 [16: 2048] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x196fb97 0x196faea 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fb96 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x516 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fae9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ef2 0x271707f 0x271706e 0x2717033 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x271707e net/textproto.MIMEHeader.Set+0x99e net/textproto/header.go:22 # 0x271706d net/http.Header.Set+0x98d net/http/header.go:40 # 0x2717032 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x952 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:225 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 10560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x54c097 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c096 encoding/json.(*decodeState).literalStore+0x20d6 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 448] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x46ce57 0x491c05 0x4a18dd 0xb74bf1 0xb74bbe 0xb74bbd 0xb750d1 0x498001 # 0x491c04 internal/sync.runtime_SemacquireMutex+0x24 runtime/sema.go:95 # 0x4a18dc internal/sync.(*Mutex).lockSlow+0x15c internal/sync/mutex.go:149 # 0xb74bf0 internal/sync.(*Mutex).Lock+0x130 internal/sync/mutex.go:70 # 0xb74bbd sync.(*Mutex).Lock+0xfd sync/mutex.go:46 # 0xb74bbc net/rpc.(*Server).sendResponse+0xfc net/rpc/server.go:358 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 3840] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x19eaaa6 0x19eaa08 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eaaa5 github.com/lann/builder.Append+0x345 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaa07 github.com/mattermost/squirrel.InsertBuilder.Values+0x2a7 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184aca5 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184aca4 github.com/mattermost/squirrel.(*updateData).ToSql+0x7e4 github.com/mattermost/squirrel@v0.5.0/update.go:113 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1152] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a2514 0x77484e 0x77935b 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a2513 sync.(*Pool).Put+0x33 sync/pool.go:111 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x77935a net/http.(*conn).finalFlush+0x7a net/http/server.go:1748 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1a0679e 0x1a06746 0x1a06744 0x1309f10 0x498001 # 0x1a0679d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a06745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a06743 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:452 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 19584] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1a05f94 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a05f93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:403 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x184afae 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 5632] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8b02b 0xb8d1aa 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8b02a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseLinkOrImageDelimiter+0x36a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:267 # 0xb8d1a9 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1a9 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:581 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2560] @ 0x48dd05 0x428505 0x726335 0x7263e6 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x726334 net/http.send.func1+0x554 net/http/client.go:238 # 0x7263e5 net/http.send+0x605 net/http/client.go:260 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 18944] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3584] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 2496] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846b3c 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x184ab46 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x196fe3f 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196fe3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1428 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 11520] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0xb64425 0xb642a7 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb64424 encoding/gob.(*encBuffer).WriteString+0x644 encoding/gob/encode.go:60 # 0xb642a6 encoding/gob.(*Encoder).encodeInterface+0x4c6 encoding/gob/encode.go:409 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 16] @ 0x48dd25 0x428505 0x211fd72 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x211fd71 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x91 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:109 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x428505 0x26ff93e 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ff93d github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x9d github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:63 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ef2 0x2717312 0x2717301 0x2717138 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x2717311 net/textproto.MIMEHeader.Set+0xc31 net/textproto/header.go:22 # 0x2717300 net/http.Header.Set+0xc20 net/http/header.go:40 # 0x2717137 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa57 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1152] @ 0x48dd05 0x493087 0x183f290 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3072] @ 0x48dd2c 0x428505 0x64415e 0x644173 0x6e9c34 0x69bab6 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64415d crypto/internal/fips140/aes.New+0x3d crypto/internal/fips140/aes/aes.go:66 # 0x644172 crypto/aes.NewCipher+0x52 crypto/aes/aes.go:47 # 0x6e9c33 crypto/tls.aeadAESGCMTLS13+0x33 crypto/tls/cipher_suites.go:555 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x75d677 0x75d17f 0x75ac16 0x759c12 0x498001 # 0x75d676 net/http.(*http2clientConnReadLoop).endStream+0xb6 net/http/h2_bundle.go:10064 # 0x75d17e net/http.(*http2clientConnReadLoop).processData+0x4fe net/http/h2_bundle.go:10048 # 0x75ac15 net/http.(*http2clientConnReadLoop).run+0x4b5 net/http/h2_bundle.go:9584 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [3: 9216] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 128] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1024] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 1344] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 16] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x19e2450 0x19e241e 0x19e242c 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e244f github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x6f github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e241d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e242b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:136 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19035d6 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19035d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a06805 0x1a067df 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06804 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a067de 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:453 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 384] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 32] @ 0x48dd25 0x492ae9 0x422699 0x13384b5 0x1338c65 0x1338beb 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13384b4 github.com/mattermost/mattermost/server/v8.GetPackagePath+0x14 github.com/mattermost/mattermost/server/v8/path.go:14 # 0x1338c64 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.CommonBaseSearchPaths+0xa4 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:25 # 0x1338bea github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x2a github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x75b4a5 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b4a4 net/http.(*http2clientConnReadLoop).handleResponse+0x2c4 net/http/h2_bundle.go:9689 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [4: 576] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 9216] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04597 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04596 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 640] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 320] @ 0x48dd05 0x492ae9 0x7c1cf8 0x9026b7 0x902626 0x8ff1b4 0x8fe4c5 0x262e99d 0x2630485 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7c1cf7 regexp.(*Regexp).FindStringSubmatch+0xb7 regexp/regexp.go:1024 # 0x9026b6 github.com/Masterminds/semver/v3.coerceNewVersion+0x36 github.com/Masterminds/semver/v3@v3.5.0/version.go:253 # 0x902625 github.com/Masterminds/semver/v3.NewVersion+0x3e5 github.com/Masterminds/semver/v3@v3.5.0/version.go:181 # 0x8ff1b3 github.com/Masterminds/semver/v3.parseConstraint+0x3b3 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:308 # 0x8fe4c4 github.com/Masterminds/semver/v3.NewConstraint+0x2c4 github.com/Masterminds/semver/v3@v3.5.0/constraints.go:69 # 0x262e99c github.com/mattermost/mattermost/server/v8/channels/app.noticeMatchesConditions+0x8fc github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:85 # 0x2630484 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0xdc4 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:266 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a2514 0x77484e 0x779073 0x779e95 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a2513 sync.(*Pool).Put+0x33 sync/pool.go:111 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x779072 net/http.(*response).finishRequest+0x52 net/http/server.go:1672 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [2: 48] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x183f3d2 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0x54c91a 0x54c900 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c919 encoding/json.unquote+0xb9 encoding/json/decode.go:1189 # 0x54c8ff encoding/json.(*decodeState).literalInterface+0x9f encoding/json/decode.go:1144 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a0460c 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0460b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19dbd10 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x19e2c32 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2c31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:151 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 160] @ 0x48dd05 0x428505 0x195839f 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x195839e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x3fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x774566 0x779afa 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x774565 net/http.newBufioWriterSize+0x65 net/http/server.go:876 # 0x779af9 net/http.(*conn).serve+0x2f9 net/http/server.go:1982 0: 0 [4: 256] @ 0x48dd05 0x428505 0xb63899 0xb6384f 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63898 encoding/gob.(*Encoder).newEncoderState+0xb8 encoding/gob/encode.go:82 # 0xb6384e encoding/gob.(*Encoder).encodeMap+0x6e encoding/gob/encode.go:368 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 5632] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1974808 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1974807 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x247 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1828 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 480] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 5184] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 9216] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e42dc 0x185d747 0x217ee6d 0x2114266 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e42db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetPinnedPostCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2642 # 0x185d746 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetPinnedPostCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2688 # 0x217ee6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetPinnedPostCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2259 # 0x2114265 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1280] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x77484e 0x77935b 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x77935a net/http.(*conn).finalFlush+0x7a net/http/server.go:1748 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [9: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 320] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57d1ea 0xb66bf6 0xb67b68 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57d1e9 bufio.(*Writer).Write+0xe9 bufio/bufio.go:682 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb67b67 encoding/gob.(*Encoder).EncodeValue+0x447 encoding/gob/encoder.go:253 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [6: 480] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x492ae9 0x4a2f72 0x4a2565 0x99febb 0x99fbe2 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x4a2f71 sync.(*poolChain).pushHead+0x131 sync/poolqueue.go:245 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 400] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbef4a2 0xbef48c 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2304] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1920] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 1936] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a297fa 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 384] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a06a53 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 224] @ 0x48dd2c 0x4752f7 0xc97d65 0xc97d66 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97d64 github.com/tinylib/msgp/msgp.ReadStringBytes+0xce4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97d65 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xce5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28cafc5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cafc4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3765 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1536] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x834868 0x86310b 0x85ecb9 0x85e965 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x834867 github.com/francoispqt/gojay.BorrowEncoder+0x27 github.com/francoispqt/gojay@v1.2.13/encode_pool.go:36 # 0x86310a github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x10a github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:76 # 0x85ecb8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x85e964 github.com/mattermost/logr/v2.(*TargetHost).start+0x104 github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [2: 128] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19dc226 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [3: 144] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2477711 0x2717c6f 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2477710 github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x1f0 github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:470 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x25db889 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x25db888 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x108 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:63 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd05 0x428505 0x22490dd 0x224c262 0x224c0d3 0x498001 # 0x22490dc github.com/getsentry/sentry-go/report.(*Aggregator).TakeReport+0x39c github.com/getsentry/sentry-go@v0.46.2/report/aggregator.go:86 # 0x224c261 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x41 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:515 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184af13 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184af12 github.com/mattermost/squirrel.(*updateData).ToSql+0xa52 github.com/mattermost/squirrel@v0.5.0/update.go:137 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2479b09 0x2479b01 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479b08 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:853 # 0x2479b00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:301 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 512] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 11520] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd2c 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x196e4dc 0x196e3eb 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196e4db github.com/mattermost/squirrel.StatementBuilderType.Select+0x37b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196e3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x428505 0x8097e5 0x4a240c 0x809725 0x8096ff 0x809d35 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x8097e4 database/sql.(*Conn).grabConn.func1+0x24 database/sql/sql.go:2005 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x809724 sync.(*Once).Do+0x44 sync/once.go:69 # 0x8096fe database/sql.(*Conn).grabConn+0x1e database/sql/sql.go:2004 # 0x809d34 database/sql.(*Conn).Raw+0x34 database/sql/sql.go:2077 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a0554d 0x1a0549d 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a0554c github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x118c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a0549c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x10dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:357 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02eed 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196e6bd 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e6bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd05 0x428505 0x621fb4 0x57b3c3 0x57b4f3 0xbd9e05 0xbdbd50 0xbdcbed 0x21fafc5 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x621fb3 net.(*conn).Read+0xb3 net/net.go:198 # 0x57b3c2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x57b4f2 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0xbd9e04 github.com/gorilla/websocket.(*Conn).read+0x24 github.com/gorilla/websocket@v1.5.3/conn.go:371 # 0xbdbd4f github.com/gorilla/websocket.(*Conn).advanceFrame+0x6f github.com/gorilla/websocket@v1.5.3/conn.go:809 # 0xbdcbec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x21fafc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:464 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x2718eb6 0x27182da 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2718eb5 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27d5 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd2c 0x470c9f 0x4af985 0x4b5257 0x4b5261 0x4edc55 0x4edc31 0x4edc3a 0x4edc2e 0x4ed78c 0x573a49 0x572a98 0x572a99 0x1338610 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b5256 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4b5260 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4edc54 syscall.Lstat+0x54 syscall/syscall_linux_amd64.go:69 # 0x4edc30 os.lstatNolog.func1+0x30 os/stat_unix.go:45 # 0x4edc39 os.ignoringEINTR+0x39 os/file_posix.go:256 # 0x4edc2d os.lstatNolog+0x2d os/stat_unix.go:44 # 0x4ed78b os.Lstat+0x2b os/stat.go:26 # 0x573a48 path/filepath.walkSymlinks+0x188 path/filepath/symlink.go:85 # 0x572a97 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x572a98 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x133860f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:47 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x726845 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x726844 net/http.send+0xa64 net/http/client.go:300 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [5: 80] @ 0x48dd05 0x48d725 0xbe4e66 0xbe47ea 0xbe6ebd 0xbe6d4a 0xbe6d7b 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe4e65 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x125 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:421 # 0xbe47e9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xbe6ebc github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xdc github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:171 # 0xbe6d49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xbe6d7a github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x9a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd2c 0x475974 0x475486 0x271ae32 0x27194b3 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271ae31 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xc71 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:442 # 0x27194b2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2dd2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:368 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a01605 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a01604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:157 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x196fa6f 0x196f9e8 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196fa6e github.com/mattermost/squirrel.SelectBuilder.From+0x3ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196f9e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1421 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 40] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19582de 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19582dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 13312] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846fbc 0x19031b6 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19031b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x535 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0xc6149a 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61499 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x39 github.com/mattermost/mattermost/server/public/model/post_list.go:37 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256cc5 0x1258065 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1256cc4 github.com/lib/pq.(*conn).recv+0x24 github.com/lib/pq@v1.12.3/conn.go:1117 # 0x1258064 github.com/lib/pq.(*conn).startup+0xdc4 github.com/lib/pq@v1.12.3/conn.go:1255 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x492ae9 0x125c74e 0x1253585 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c74d github.com/lib/pq.parsePortalRowDescribe+0xcd github.com/lib/pq@v1.12.3/conn.go:1792 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 864] @ 0x48dd05 0x428505 0x2200334 0x21fb3ce 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2200333 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).logSocketErr+0x353 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:1058 # 0x21fb3cd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x5cd github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:466 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3200] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 13056] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x126a385 0x126a368 0x126a395 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x126a384 internal/strconv.AppendBool+0xc4 internal/strconv/atob.go:34 # 0x126a367 strconv.AppendBool+0xa7 strconv/number.go:35 # 0x126a394 github.com/lib/pq.encode+0xd4 github.com/lib/pq@v1.12.3/encode.go:46 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 1792] @ 0x48dd05 0x493087 0x6598ee 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6598ed crypto/x509.parseCertificate+0x11ad crypto/x509/parser.go:1052 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 96] @ 0x48dd05 0x428505 0x548cb9 0x54763e 0x546e9e 0x546a79 0xc5bb2e 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x548cb8 encoding/json.(*decodeState).object+0x8d8 encoding/json/decode.go:707 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 2048] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x195d885 0x195d7fc 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x195d884 github.com/mattermost/squirrel.SelectBuilder.From+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x195d7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:54 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 1152] @ 0x48dd05 0x428505 0x62b192 0x613765 0x62ba7b 0x62ad10 0x77f64c 0x266234d 0x498001 # 0x62b191 net.sockaddrToTCP+0x71 net/tcpsock_posix.go:21 # 0x613764 net.(*netFD).accept+0x304 net/fd_unix.go:167 # 0x62ba7a net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x62ad0f net.(*TCPListener).Accept+0x2f net/tcpsock.go:387 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x266234c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x26c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1179 0: 0 [1: 112] @ 0x48dd05 0x428505 0x458d18 0x46be75 0xb83e76 0x498001 # 0xb83e75 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x95 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:187 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1847f28 0x1a1efe5 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1847f27 github.com/mattermost/squirrel.SelectBuilder.Offset+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x1a1efe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 1120] @ 0x48dd05 0x4246eb 0x13980f3 0x270f109 0x270edf5 0x2836d0c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13980f2 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x192 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:40 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x2836d0b github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xf8b github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:256 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0xb62a71 0xb62a13 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62a70 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xb62a12 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [8: 1280] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0xb87489 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87488 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x48 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:51 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x258b123 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x258b122 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x122 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:38 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [8: 7168] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [10: 15360] @ 0x48dd2c 0x4752f7 0x695266 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695265 crypto/tls.(*weakCertCache).newCert+0x45 crypto/tls/cache.go:20 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2240] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0x776410 0x775e77 0x778d57 0x778baa 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x778d56 net/http.(*response).write+0x116 net/http/server.go:1644 # 0x778ba9 net/http.(*response).Write+0x29 net/http/server.go:1621 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28cad7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cad7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3746 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x25203d2 0x27d8e25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x25203d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0x91 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1980 # 0x27d8e24 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x524 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:670 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [69: 1104] @ 0x48dd25 0x424768 0x13162b8 0x1336a29 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x13162b7 image.(*NRGBA64).At+0x37 image/image.go:497 # 0x1336a28 image/png.(*encoder).writeImage+0xe28 image/png/writer.go:510 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 5939200] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x428505 0x27370f0 0x27370be 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27370ef github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x2cf github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x27370bd github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x29d github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3399680] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x4cee2a 0x6fe7b1 0x57b3c3 0x57be69 0x6ff693 0x6ff4ec 0x27d37f8 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x6fe7b0 mime/multipart.(*stickyErrorReader).Read+0x30 mime/multipart/multipart.go:144 # 0x57b3c2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x57be68 bufio.(*Reader).ReadSlice+0x28 bufio/bufio.go:377 # 0x6ff692 mime/multipart.(*Reader).nextPart+0x112 mime/multipart/multipart.go:393 # 0x6ff4eb mime/multipart.(*Reader).NextPart+0x2b mime/multipart/multipart.go:372 # 0x27d37f7 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x237 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:238 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x493087 0x196d7c8 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196d7c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x2c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1267 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 32640] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x78b385 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x78b384 net/http.(*Transport).roundTrip+0x944 net/http/transport.go:682 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6dfa05 0x6b7566 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b7565 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x85 crypto/tls/handshake_client_tls13.go:700 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x281e28b 0x281e200 0x281e1e2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x281e28a net/textproto.MIMEHeader.Set+0xd0a net/textproto/header.go:22 # 0x281e1ff net/http.Header.Set+0xc7f net/http/header.go:40 # 0x281e1e1 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xc61 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:328 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x4753be 0x4753b2 0x475708 0xb86a28 0xb86652 0xb8cb3d 0xb8d15d 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb86a27 github.com/mattermost/mattermost/server/public/shared/markdown.trimTrailingCharactersFromLink+0x167 github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:246 # 0xb86651 github.com/mattermost/mattermost/server/public/shared/markdown.parseURLAutolink+0x251 github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:104 # 0xb8cb3c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0xdc github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:509 # 0xb8d15c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x15c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x196fd1c 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fd1b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x69b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a06805 0x1a067df 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06804 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a067de 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:453 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x55a01f 0x2595bef 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x2595bee github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x66e github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 120] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979dfb 0x299af5a 0x299be65 0x299ba09 0x299b3fa 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b3f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x298a9b6 0x298b10a 0x298bc6f 0x5da885 0x5da7f6 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x298a9b5 crypto/internal/fips140/rsa.mgf1XOR+0xf5 crypto/internal/fips140/rsa/pkcs1v22.go:62 # 0x298b109 crypto/internal/fips140/rsa.emsaPSSVerify+0x1c9 crypto/internal/fips140/rsa/pkcs1v22.go:194 # 0x298bc6e crypto/internal/fips140/rsa.verifyPSS+0x24e crypto/internal/fips140/rsa/pkcs1v22.go:361 # 0x5da884 crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x504 crypto/internal/fips140/rsa/pkcs1v22.go:325 # 0x5da7f5 crypto/rsa.VerifyPSS+0x475 crypto/rsa/fips.go:170 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x196e8ed 0x196e887 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196e8ec github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x78c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196e886 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x726 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1346 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 2880] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1958306 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958305 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x365 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x1247a75 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x1247a74 github.com/lib/pq/scram.(*Client).serverSignature+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:252 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4366336] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [2: 163840] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 98304] @ 0x48dd33 0x492ae9 0x1b23c74 0x1b244ba 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1b23c73 github.com/boxes-ltd/imaging.precomputeWeights+0xb3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:21 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 5922816] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 10880] @ 0x48dd2c 0x492ae9 0x1331cd3 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1331cd2 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16089088] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3584] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x1998192 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998191 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x191 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 2351104] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc5bb2e 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x78d7fc 0x78cf98 0x79038b 0x790175 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x78d7fb net/http.(*Transport).tryPutIdleConn+0x81b net/http/transport.go:1164 # 0x78cf97 net/http.(*Transport).putOrCloseIdleConn+0x17 net/http/transport.go:1045 # 0x79038a net/http.(*Transport).dialConnFor+0x12a net/http/transport.go:1654 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2236416] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x21f8c6a 0x21f8c41 0x26c4575 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0x21f8c69 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0xa9 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x21f8c40 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*HookedWebSocketEvent).Add+0x80 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:57 # 0x26c4574 github.com/mattermost/mattermost/server/v8/channels/app.(*postedAckBroadcastHook).Process+0x154 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:118 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd25 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1989a92 0x19899d1 0x19898a8 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1989a91 github.com/lann/builder.Append+0x431 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19899d0 github.com/mattermost/squirrel.InsertBuilder.Values+0x370 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19898a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x247 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:99 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184ab0e 0x184babf 0x19dc226 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184ab0d github.com/mattermost/squirrel.(*updateData).ToSql+0x64d github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1847d68 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847d67 github.com/mattermost/squirrel.SelectBuilder.Limit+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x660e15 0x6610bb 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x660e14 crypto/x509.(*policyGraph).incrDepth+0x4f4 crypto/x509/verify.go:1166 # 0x6610ba crypto/x509.policiesValid+0x79a crypto/x509/verify.go:1233 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x26bc991 0x26bc95a 0x27372f9 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bc990 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x150 github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x26bc959 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x119 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2802 # 0x27372f8 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x4d8 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x299be29 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299be28 crypto/internal/fips140/tls13.ExpandLabel[...]+0x368 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 768] @ 0x48dd0c 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x19647c5 0x1877471 0x21563fb 0x219c71d 0x25f88f5 0x25d2cf4 0x127c88f 0x12c04ce 0x51716c 0x516019 0xb75014 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19647c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Update+0x164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:410 # 0x1877470 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9393 # 0x21563fa github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Update+0x5a github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:88 # 0x219c71c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7526 # 0x25f88f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0xdb4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:908 # 0x25d2cf3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdatePost+0x33 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:877 # 0x127c88e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:823 # 0x12c04cd github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5369 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x18401d1 0x184063a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18401d0 github.com/mattermost/squirrel.Lt.toSql+0x470 github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24576] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19628f6 0x1962881 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25eeb9b 0x25d235d 0x127ba8f 0x12bcc2e 0x51716c 0x516019 0xb75014 0x498001 # 0x19628f5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1af5 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1962880 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25eeb9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostMissingChannel+0x25a github.com/mattermost/mattermost/server/v8/channels/app/post.go:112 # 0x25d235c github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).CreatePost+0x5c github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:790 # 0x127ba8e github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).CreatePost+0x4e github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:719 # 0x12bcc2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).CreatePost+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4928 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x2201f57 0x2201f0f 0x21f236d 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2201f56 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).UpdateActivity+0x96 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:482 # 0x2201f0e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateWebConnUserActivity+0x4e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:266 # 0x21f236c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x16c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:281 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417009 0x1376953 0x1390502 0x1376ed4 0x4a240c 0x1376a3a 0x1376a13 0x137d9e4 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1376952 github.com/yuin/goldmark/renderer.(*renderer).Register+0x32 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:128 # 0x1390501 github.com/mattermost/mattermost/server/v8/channels/utils.(*notificationRenderer).RegisterFuncs+0x4a1 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:105 # 0x1376ed3 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xd3 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:148 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x1376a39 sync.(*Once).Do+0x79 sync/once.go:69 # 0x1376a12 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:136 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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 [13: 14976] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1958245 0x19581bc 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1958244 github.com/mattermost/squirrel.SelectBuilder.From+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19581bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x196d7c8 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196d7c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x2c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1267 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 3200] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 880] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 10752] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2464] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x196fb12 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fb11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x491 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x197263e 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x197263d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1689 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd25 0x4752f7 0x40d656 0x2719bd8 0x2719bce 0x27199ed 0x27194e2 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d655 internal/strconv.FormatInt+0xd5 internal/strconv/itoa.go:43 # 0x2719bd7 internal/strconv.Itoa+0x597 internal/strconv/itoa.go:51 # 0x2719bcd strconv.Itoa+0x58d strconv/number.go:215 # 0x27199ec github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x3ac github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:169 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6a35ac 0x6a40aa 0x7944e7 0x57b3c3 0x57b4f3 0x794ff2 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6a35ab crypto/tls.(*Conn).handlePostHandshakeMessage+0x2b crypto/tls/conn.go:1310 # 0x6a40a9 crypto/tls.(*Conn).Read+0x169 crypto/tls/conn.go:1397 # 0x7944e6 net/http.(*persistConn).Read+0x46 net/http/transport.go:2174 # 0x57b3c2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x57b4f2 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x794ff1 net/http.(*persistConn).readLoop+0x171 net/http/transport.go:2330 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x1a0872b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0872a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x86a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:582 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x48dd05 0x428505 0x18476bc 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x4246eb 0x19e2311 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e2310 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x150 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x557466 0x556e3d 0x5469d4 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a0c68d 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0c68c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x80c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x196de6b 0x196dd3f 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a0694d 0x1a0692e 0x1309f10 0x498001 # 0x1a0694c github.com/mattermost/squirrel.SelectBuilder.Join+0x22c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x1902eea 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902ee9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x269 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:413 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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 [31: 1984] @ 0x48dd05 0x492ae9 0x72e507 0x25e9bb3 0x25e9bbc 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x25e9bb2 net/http.(*Request).Cookie+0x372 net/http/request.go:452 # 0x25e9bbb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x37b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:182 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x196e86c 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196e86b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x70b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 880] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 13824] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x281d7a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d7a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 8640] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd2c 0x492ae9 0x2938cc6 0x293b5d2 0x29732ba 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2938cc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:134 # 0x293b5d1 crypto/internal/fips140/hmac.(*HMAC).Reset+0x151 crypto/internal/fips140/hmac/hmac.go:122 # 0x29732b9 crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x79 crypto/internal/fips140/ecdsa/hmacdrbg.go:153 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0eeaf 0x1a0ee26 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0eeae github.com/mattermost/squirrel.SelectBuilder.From+0x14e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a0ee25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1045 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a0397d 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0397c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:206 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d141d 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d141c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x63c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1178 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c61bc 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c61bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x6b2625 0x6b271f 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6b2624 crypto/x509.NewCertPool+0x624 crypto/x509/cert_pool.go:66 # 0x6b271e crypto/tls.(*Conn).verifyServerCertificate+0x71e crypto/tls/handshake_client.go:1152 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x6dfa3e 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x6dfa3d crypto/tls.(*cipherSuiteTLS13).finishedHash+0xfd crypto/tls/key_schedule.go:40 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 65536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a03d65 0x1a03d3c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a03d64 github.com/mattermost/squirrel.SelectBuilder.Join+0x1e4 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03d3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 1920] @ 0x48dd05 0x428505 0x2595ba9 0x2595a41 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x2595ba8 encoding/json.NewDecoder+0x628 encoding/json/stream.go:34 # 0x2595a40 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x4c0 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 480] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 21760] @ 0x48dd2c 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 155648] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 1114112] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0xca121d 0xca195d 0x2204df2 0x2204837 0x498001 # 0xca121c github.com/mattermost/mattermost/server/public/model.(*WebsocketBroadcast).copy+0x3c github.com/mattermost/mattermost/server/public/model/websocket_message.go:174 # 0xca195c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).WithoutBroadcastHooks+0xfc github.com/mattermost/mattermost/server/public/model/websocket_message.go:277 # 0x2204df1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x591 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:721 # 0x2204836 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:791 0: 0 [2: 640] @ 0x48dd05 0x428505 0x286dda7 0x286dd28 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x286dda6 encoding/json.NewDecoder+0xa6 encoding/json/stream.go:34 # 0x286dd27 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x27 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0807c 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0807b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:558 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 53248] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227f549 0x27013d8 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27013d7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x637 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:280 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 448] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 896] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0xca1cc8 0xca1c02 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1cc7 github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:215 # 0xca1c01 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:319 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18e53b0 0x18e5381 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e53af github.com/mattermost/squirrel.StatementBuilderType.Select+0x14f github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e5380 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x120 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2761 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x428505 0x78ae25 0x78adea 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x78ae24 net/http.setupRewindBody+0x3e4 net/http/transport.go:787 # 0x78ade9 net/http.(*Transport).roundTrip+0x3a9 net/http/transport.go:620 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 13568] @ 0x48dd2c 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 13568] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xc92527 0xc92473 0x26ade3d 0x26bdefa 0x26bdecc 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc92526 github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xc6 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0xc92472 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:746 # 0x26ade3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1331 # 0x26bdef9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x8d9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bdecb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x8ab github.com/mattermost/mattermost/server/v8/channels/app/user.go:2963 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a0688f 0x1a06806 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a0688e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06805 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:454 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184ad06 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1a0b54b 0x1a0e3e7 0x1a0d9b0 0x188cdf2 0x21b57f2 0x25803ff 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1a0b54a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).saveMembership+0x52a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:706 # 0x1a0e3e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).maintainMembershipTx+0x346 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:959 # 0x1a0d9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MaintainMembership+0xef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:845 # 0x188cdf1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15534 # 0x21b57f1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MaintainMembership+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12258 # 0x25803fe github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func7+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/notification.go:315 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x1968225 0x187358e 0x2197fa2 0x25f3327 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1968224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:782 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f3326 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func3+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:229 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1134b26 0x1134b1a 0x1134ad6 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21f140c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134b25 container/list.(*List).insertValue+0x425 container/list/list.go:104 # 0x1134b19 container/list.(*List).PushFront+0x419 container/list/list.go:146 # 0x1134ad5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x3d5 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:187 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21f140b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9eb github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 11648] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x48d725 0x18468ff 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 5632] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1440] @ 0x48dd05 0x428505 0x4e87c5 0x4e8c91 0x4e656c 0x4e2d0b 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8c90 os.openDirNolog+0x110 os/file_unix.go:302 # 0x4e656b os.openDir+0x2b os/file.go:428 # 0x4e2d0a os.ReadDir+0x4a os/dir.go:115 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x1a4607c 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1a4607b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:205 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 24] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x54c76d 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x8310e6 0x8310e4 0x8631d0 0x85ecb9 0x85e965 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x8310e5 github.com/francoispqt/gojay.(*Encoder).Write+0x85 github.com/francoispqt/gojay@v1.2.13/encode.go:194 # 0x8310e3 github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x83 github.com/francoispqt/gojay@v1.2.13/encode_object.go:18 # 0x8631cf github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1cf github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x85ecb8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x85e964 github.com/mattermost/logr/v2.(*TargetHost).start+0x104 github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [22: 107008] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 288] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc9711a 0xc9711b 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97119 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9711a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a03d5b 0x1a03d3c 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a03d5a github.com/mattermost/squirrel.SelectBuilder.Join+0x1da github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03d3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:235 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f465 0x281e805 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f464 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:77 # 0x281e804 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1284 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3584] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 80] @ 0x48dd05 0x428505 0xb5c3f1 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c3f0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1193 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a294d5 0x1a294e6 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a294d4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x3d4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a294e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x3e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1449 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 144] @ 0x48dd05 0x48de45 0x52107d 0xb764e5 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764e4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:562 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e2bcf 0x19e2ad7 0x19e2ad6 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e2bce github.com/lann/builder.Append+0x7ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2ad6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x6f6 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2ad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:148 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 1344] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x2625248 0x2623195 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x2625247 github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x27 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1076 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f495 0x2838db8 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f494 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x314 github.com/mattermost/mattermost/server/v8/channels/web/context.go:78 # 0x2838db7 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0xf7 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:455 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 3168] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02da8 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1a02da7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a03c79 0x1a03c53 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03c78 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a03c52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:233 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18e2272 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e2271 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x99febb 0x99fbe2 0x9a35e6 0x9a393c 0xb75672 0xb75eaa 0xb759ef 0x12880d3 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a35e5 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x9a393b github.com/hashicorp/yamux.(*Stream).Close+0x1db github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0xb75671 net/rpc.(*gobServerCodec).Close+0x31 net/rpc/server.go:438 # 0xb75ea9 net/rpc.(*Server).ServeCodec+0x3e9 net/rpc/server.go:485 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [8: 512] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1cd098d 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x1cd098c github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1664] @ 0x48dd05 0x428505 0x2591638 0x259161d 0x258fcd9 0x2594f9c 0x498001 # 0x2591637 github.com/mattermost/mattermost/server/public/model.(*PushNotification).DeepCopy+0x18d7 github.com/mattermost/mattermost/server/public/model/push_notification.go:93 # 0x259161c github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x18bc github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:166 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 720] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd0c 0x428505 0x1b8e405 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a07291 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07290 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 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3136] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299b2b5 0x299bfa6 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x28c7a31 0x28c79c6 0x28c79a8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28c7a30 net/textproto.MIMEHeader.Set+0x210 net/textproto/header.go:22 # 0x28c79c5 net/http.Header.Set+0x1a5 net/http/header.go:40 # 0x28c79a7 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 5376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [4: 384] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x24a3ac5 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x24a3ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3023 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe6e98 0xbe6d4a 0xbe6d7b 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe6e97 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:167 # 0xbe6d49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xbe6d7a github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x9a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x18c8c38 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x18c8c37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:479 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [84: 9408] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0d1bc 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0d1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:801 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbef4a2 0xbef48c 0xbee239 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2124525 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbee238 github.com/vmihailenco/msgpack/v5.encodeMapValue+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:16 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2124524 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x164 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:138 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc58e13 0xc58d8e 0x25f9e8a 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc58e12 maps.Copy[...]+0x132 maps/maps.go:64 # 0xc58d8d github.com/mattermost/mattermost/server/public/model.(*Post).DelProp+0xad github.com/mattermost/mattermost/server/public/model/post.go:678 # 0x25f9e89 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x189 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1007 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 80] @ 0x48dd05 0x4246eb 0x1847b0b 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [28: 1835008] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x18e8811 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18e8810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2978 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1360] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d1ff1 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1ff0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x590 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1233 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 832] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd0c 0x428505 0x125f9a7 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125f9a6 github.com/lib/pq.newConfig+0x86 github.com/lib/pq@v1.12.3/connector.go:545 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19e1065 0x19e0f9c 0x19e0dfe 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e1064 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e0f9b github.com/mattermost/squirrel.InsertBuilder.Values+0x3fb github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1919f1a 0x1919ec0 0x1919ebe 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1919f19 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xb9 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1919ebf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x5f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1919ebd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:67 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb576a8 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb576a7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [5: 163840] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x97de4f 0x97d576 0x1330d17 0x1330d01 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1330d16 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x1330d00 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 9728] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x48d725 0x7fc177 0x7fcea5 0x7fd37f 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fc176 database/sql/driver.defaultConverter.ConvertValue+0x4d6 database/sql/driver/types.go:292 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d15f6 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d15f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x815 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1195 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x492ae9 0x597973 0x5dfd9b 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x597972 math/big.(*Int).Bytes+0x32 math/big/int.go:531 # 0x5dfd9a crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 48] @ 0x48dd2c 0x428505 0x7bf196 0x7bec52 0xc9e949 0x25f05a5 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7bf195 regexp.(*Regexp).replaceAll+0x75 regexp/regexp.go:597 # 0x7bec51 regexp.(*Regexp).ReplaceAllString+0xd1 regexp/regexp.go:557 # 0xc9e948 github.com/mattermost/mattermost/server/public/model.ParseHashtags+0xc8 github.com/mattermost/mattermost/server/public/model/utils.go:758 # 0x25f05a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0xfc4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:297 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0x281b815 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x281b814 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:98 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18cedb9 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18cedb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x158 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:984 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196318d 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196318c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x238c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:303 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x21f9e0b 0x21d4da2 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x21f9e0a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn.func1+0xca github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:206 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x18d127c 0x18d1216 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d127b github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x49b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1215 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x435 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1175 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1902ecd 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x24c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:413 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x2838e76 0x2838e00 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2838e75 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x1b5 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x2838dff github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x13f github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:457 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19e2aa5 0x19e29b2 0x19e29b1 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e2aa4 github.com/lann/builder.Append+0x6c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e29b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5d1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e29b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:147 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 9728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x19eb119 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x19eb118 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x198 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:82 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e1185 0x19e10db 0x19e10da 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1184 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e10da github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x53a github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19e10d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:57 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x18d1c2f 0x18d1ba6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18d1c2e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18d1ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1223 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0x12636d2 0x1261eb6 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12636d1 github.com/lib/pq.(*Config).setFromTag+0x11f1 github.com/lib/pq@v1.12.3/connector.go:853 # 0x1261eb5 github.com/lib/pq.(*Config).fromDSN+0x7d5 github.com/lib/pq@v1.12.3/connector.go:793 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299af5a 0x299be65 0x299ba09 0x6b76bd 0x6b767b 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b76bc crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x1dc crypto/internal/fips140/tls13/tls13.go:131 # 0x6b767a crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x19a crypto/tls/handshake_client_tls13.go:712 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0ab8d 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0ab8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:689 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1a051ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a051ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xded github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:337 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x27d94a5 0x27d93e0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27d94a4 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0xba4 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x27d93df github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xadf github.com/mattermost/mattermost/server/v8/channels/api4/file.go:696 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0xb8d5fc 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d5fb github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:640 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd2c 0x492ae9 0x125c767 0x1253585 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c766 github.com/lib/pq.parsePortalRowDescribe+0xe6 github.com/lib/pq@v1.12.3/conn.go:1793 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a08245 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:557 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 344064] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 108800] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26390f0 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26390ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:19 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 1310720] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0x17d9f45 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x25110c5 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17d9f44 os.Open+0x64 os/file.go:390 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x25110c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0xb44 github.com/mattermost/mattermost/server/v8/channels/app/file.go:838 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4930f3 0x5360fb 0x536091 0x5305d3 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5360fa fmt.(*buffer).writeString+0x13a fmt/print.go:108 # 0x536090 fmt.(*pp).doPrintf+0xd0 fmt/print.go:1033 # 0x5305d2 fmt.Sprintf+0x52 fmt/print.go:239 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 18432] @ 0x48dd2c 0x4930f3 0x6bc895 0x6bc865 0x6bc777 0x5ccbc4 0x5cd01c 0x6bc72d 0x6bc4f7 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bc894 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bc864 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bc776 crypto/tls.(*clientHelloMsg).marshalMsg.func18.4+0x16 crypto/tls/handshake_messages.go:367 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc72c vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x30c vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc4f6 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0xd6 crypto/tls/handshake_messages.go:366 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [9: 288] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846b3c 0x1a08332 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x2594b59 0x498001 # 0x2594b58 github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start+0x218 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:424 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a080fe 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a080fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x23d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:559 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 5376] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a08165 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:560 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x191fa45 0x191fa27 0x191fa26 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fa44 github.com/mattermost/squirrel.newPart+0x144 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x191fa26 github.com/mattermost/squirrel.SelectBuilder.From+0x126 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x191fa25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x125 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:144 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1973779 0x19736f6 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a02d85 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x444 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 2560] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a2645f 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a2645e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x47e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1197 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x18d25d2 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d25d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x4246eb 0x1990f2b 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990f2a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0xaaa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1248] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x18e1a8f 0x185c9bd 0x217e003 0x249def3 0x2601cd0 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18e1a8e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2373 # 0x185c9bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2499 # 0x217e002 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2115 # 0x249def2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2456 # 0x2601ccf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1818 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e0dc6 0x19e0cd3 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a041a6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a041a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x625 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:250 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x19f8191 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f8190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x470 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 1056] @ 0x48dd05 0x428505 0x28eb8f7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28eb8f6 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x2b6 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a02c11 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x6058d2 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x6058d1 net.(*Dialer).DialContext+0x1f1 net/dial.go:544 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x71d508 0x71cd94 0x71c7b2 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x71d507 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0x47 vendor/golang.org/x/net/http2/hpack/hpack.go:513 # 0x71cd93 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x333 vendor/golang.org/x/net/http2/hpack/hpack.go:386 # 0x71c7b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x1841749 0x1841335 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1841748 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x208 github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x1a1f009 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a1f008 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 512] @ 0x48dd2c 0x4752f7 0xc97d65 0xc97d66 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97d64 github.com/tinylib/msgp/msgp.ReadStringBytes+0xce4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97d65 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xce5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x725a96 0x725a81 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x725a95 net/http.cloneURL+0x75 net/http/clone.go:45 # 0x725a80 net/http.(*Client).send+0x60 net/http/client.go:177 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1904] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a08565 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a08564 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:573 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 48640] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xc9276e 0xc9256a 0x26ade3d 0x26a95c5 0x26a954d 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9276d github.com/mattermost/mattermost/server/public/model.(*User).Sanitize+0x30d github.com/mattermost/mattermost/server/public/model/user.go:704 # 0xc92569 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x109 github.com/mattermost/mattermost/server/public/model/user.go:748 # 0x26ade3c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x3c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1331 # 0x26a95c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x224 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26a954c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1ac github.com/mattermost/mattermost/server/v8/channels/app/user.go:868 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1840170 0x184063a 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184016f github.com/mattermost/squirrel.Lt.toSql+0x40f github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x1840639 github.com/mattermost/squirrel.Gt.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:370 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a04dc5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xa04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:321 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125340e 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x18d2005 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18d2004 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1237 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 672] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x1a02b09 0x1a02abe 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a02b08 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a05030 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0502f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xc6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:329 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x475708 0x1261e3b 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261e3a github.com/lib/pq.(*Config).fromDSN+0x75a github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c6010 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c600f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x64f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:158 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 2912] @ 0x48dd05 0x428505 0x4ed9ec 0x4e7753 0x4e7653 0x272b8da 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ed9eb os.(*File).Stat+0x2b os/stat_unix.go:19 # 0x4e7752 os.statOrZero+0x12 os/file.go:875 # 0x4e7652 os.ReadFile+0xb2 os/file.go:871 # 0x272b8d9 github.com/mattermost/mattermost/server/v8/channels/web.root+0x559 github.com/mattermost/mattermost/server/v8/channels/web/static.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18df465 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18df464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2158 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 5376] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a02c11 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a07291 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07290 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 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1280] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 47360] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4930f3 0x557139 0x557466 0x556e3d 0x5469d4 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x199abac 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199abab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x5ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02e9d 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x55c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 12288] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a02c11 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x52d66a 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x8faba6 0xc9d234 0xc9d178 0x249ee72 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x52d669 fmt.errorf+0xc9 fmt/errors.go:42 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d233 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x249ee71 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x171 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2547 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 11520] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 18432] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1a06ef1 0x1a06e84 0x1309f10 0x498001 # 0x1a06ef0 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2d0 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06e83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 1344] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 5376] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 4608] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3072] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847f4f 0x19736e5 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847f4e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x19736e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xea4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1755 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a0373c 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0373b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x31b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x1a02a17 0x1a029f1 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846fbc 0x1a06913 0x1a068cb 0x1309f10 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06912 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1902e65 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902e64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x1e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:412 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 6400] @ 0x48dd2c 0x4752f7 0x6956dd 0x6eb6e2 0x42d5b9 0x498001 # 0x6956dc crypto/tls.(*weakCertCache).newCert.func1+0x3c crypto/tls/cache.go:33 # 0x6eb6e1 runtime.callCleanup[...]+0x21 runtime/mcleanup.go:204 # 0x42d5b8 runtime.runCleanups+0xd8 runtime/mcleanup.go:745 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0xb7b549 0xb7b54a 0x498001 # 0xb7b548 bufio.(*Scanner).Text+0x168 bufio/scan.go:115 # 0xb7b549 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x169 github.com/hashicorp/go-plugin@v1.8.0/client.go:804 0: 0 [7: 336] @ 0x48dd2c 0x4752f7 0x5305e6 0x2246047 0x2249f7a 0x224c44f 0x224c0d3 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x2246046 github.com/getsentry/sentry-go/internal/protocol.Dsn.GetAPIURL+0x86 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:214 # 0x2249f79 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [5: 5120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x428505 0x17d9d66 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x17d9d65 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x25 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:78 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x54d4e5 0x282ca99 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x282ca98 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x578 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1585 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x282c6b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x282c6b6 github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1549 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 5472] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128697 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128696 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x976 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:212 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191b438 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191b437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x677 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:147 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x275e535 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x275e534 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xa14 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:651 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a2c72 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a2c71 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x2b1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:385 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x299b0d5 0x299be65 0x6df86e 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x299b0d4 crypto/internal/fips140/hkdf.Expand[...]+0x214 crypto/internal/fips140/hkdf/hkdf.go:45 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e1a8f 0x185c9bd 0x217e003 0x249def3 0x2601cd0 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e1a8e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMemberLastViewedAt+0x16e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2373 # 0x185c9bc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMemberLastViewedAt+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2499 # 0x217e002 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMemberLastViewedAt+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2115 # 0x249def2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMemberLastViewedAt+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2456 # 0x2601ccf github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x6f github.com/mattermost/mattermost/server/v8/channels/app/post.go:1818 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 81920] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2304] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247850a 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd0c 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 224] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18476ab 0x199ad05 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ad04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1a06b0f 0x1a06a71 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a06b0e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3ee github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06a70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 6144] @ 0x48dd2c 0x4752f7 0x695577 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695576 crypto/tls.(*weakCertCache).newCert+0x356 crypto/tls/cache.go:33 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 20480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 72] @ 0x48dd05 0x428505 0xc9da88 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9da87 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x27 github.com/mattermost/mattermost/server/public/model/utils.go:547 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 3520] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x1904555 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904554 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x334 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1536] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a02b09 0x1a02abe 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a02b08 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x18469e9 0x1a02a17 0x1a029f1 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 3584] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 3584] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 768] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x4cef08 0x4ce831 0x4ce52c 0x4ce50b 0x7785a5 0x7729a9 0x779085 0x779e95 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4cef07 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x7785a4 net/http.(*chunkWriter).writeHeader+0x1ca4 net/http/server.go:1418 # 0x7729a8 net/http.(*chunkWriter).close+0x28 net/http/server.go:410 # 0x779084 net/http.(*response).finishRequest+0x64 net/http/server.go:1673 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd05 0x428505 0x19eabe5 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eabe4 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x484 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x63fd77 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x63fd76 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x2480c1a 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x2480c19 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x99 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:191 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [27: 15552] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [6: 6144] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a04597 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04596 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x493087 0x642625 0x658e30 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658e2f crypto/x509.parseCertificate+0x6ef crypto/x509/parser.go:987 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x21f961b 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f961a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x4da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:254 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2560] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f3a9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183f3a8 github.com/mattermost/squirrel.Eq.toSQL+0xec8 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 45696] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 14592] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25884ea 0x25835a5 0x256ffc5 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25884e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).allowChannelMentions+0x49 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1470 # 0x25835a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x904 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1082 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a02a17 0x1a029f1 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6b924a 0x6b910f 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6b9249 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x209 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b910e crypto/tls.(*clientHelloMsg).marshalMsg+0xce crypto/tls/handshake_messages.go:109 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x1a041a6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a041a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x625 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:250 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a06976 0x1a0692e 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06975 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd25 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184816c 0x184809b 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x547433 0x548ee7 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x547432 encoding/json.(*decodeState).scanWhile+0x72 encoding/json/decode.go:301 # 0x548ee6 encoding/json.(*decodeState).object+0xb06 encoding/json/decode.go:751 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 9216] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x77be65 0x77be0b 0x77be0a 0x77c06e 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x77be64 net/textproto.MIMEHeader.Set+0xc4 net/textproto/header.go:22 # 0x77be0a net/http.Header.Set+0x6a net/http/header.go:40 # 0x77be09 net/http.Error+0x69 net/http/server.go:2315 # 0x77c06d net/http.NotFound+0x2d net/http/server.go:2322 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 480] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1280] @ 0x48dd05 0x493087 0x1902b0b 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902b0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a03c3b 0x1a03be1 0x1a03bd7 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a03c3a github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xba github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a03be0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x60 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a03bd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:232 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a04597 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a04596 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:281 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x281e89d 0x281e84d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x281e89c github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x131c github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x281e84c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x12cc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5c9f 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5c9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x2de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:147 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a25c8d 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a25c8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x428505 0x19044f7 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19044f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd25 0x48d69b 0x126af0a 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af09 github.com/lib/pq.textDecode+0x249 github.com/lib/pq@v1.12.3/encode.go:124 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x18d1cda 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1cd9 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x279 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x40d656 0x126100a 0x1261000 0x1260ff8 0x1260826 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d655 internal/strconv.FormatInt+0xd5 internal/strconv/itoa.go:43 # 0x1261009 internal/strconv.Itoa+0xc9 internal/strconv/itoa.go:51 # 0x1260fff strconv.Itoa+0xbf strconv/number.go:215 # 0x1260ff7 github.com/lib/pq.Config.network+0xb7 github.com/lib/pq@v1.12.3/connector.go:664 # 0x1260825 github.com/lib/pq.newConfig+0xf05 github.com/lib/pq@v1.12.3/connector.go:624 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 480] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x1a25d58 0x1a25cf5 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x183a82d 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x183a82c github.com/mattermost/squirrel.CaseBuilder.ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/case.go:99 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x1903192 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903191 github.com/mattermost/squirrel.SelectBuilder.Join+0x511 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x276067a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2760679 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:810 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x297962f 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x297962e crypto/internal/fips140/ecdsa.newDRBG[...]+0x10e crypto/internal/fips140/ecdsa/hmacdrbg.go:64 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 352] @ 0x48dd2c 0x4752f7 0x184af7f 0x184ad99 0x184babf 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x184af7e bytes.(*Buffer).String+0xabe bytes/buffer.go:77 # 0x184ad98 github.com/mattermost/squirrel.(*updateData).ToSql+0x8d8 github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [30: 9600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 5280] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x543e45 0x183f327 0x183f2e1 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x543e44 strings.Repeat+0x2e4 strings/strings.go:677 # 0x183f326 github.com/mattermost/squirrel.Placeholders+0xe46 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x183f2e0 github.com/mattermost/squirrel.Eq.toSQL+0xe00 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1a06ae5 0x1a06a71 0x1309f10 0x498001 # 0x1a06ae4 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3c4 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06a70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 8960] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 640] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [16: 18432] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x18d1dc5 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1226 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x18ec0f5 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec0f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1990ad8 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990ad7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x657 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bc6ae 0x6bc677 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bc6ad vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x28d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc676 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x256 crypto/tls/handshake_messages.go:356 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 80] @ 0x48dd05 0x428505 0x271709b 0x271706e 0x2717033 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x271709a net/textproto.MIMEHeader.Set+0x9ba net/textproto/header.go:22 # 0x271706d net/http.Header.Set+0x98d net/http/header.go:40 # 0x2717032 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x952 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:225 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 4032] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x63c347 0x63c390 0x63bf11 0x63b8e9 0x1267c4a 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x63c346 net/url.UserPassword+0x2c6 net/url/url.go:323 # 0x63c38f net/url.parseAuthority+0x30f net/url/url.go:541 # 0x63bf10 net/url.parse+0x3d0 net/url/url.go:491 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1267c49 github.com/lib/pq.convertURL+0x29 github.com/lib/pq@v1.12.3/connector.go:1116 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x1a045e5 0x1a045e6 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a045e4 github.com/mattermost/squirrel.Expr+0x224 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x1a045e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:282 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a06a53 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x597973 0x5dfd9b 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x597972 math/big.(*Int).Bytes+0x32 math/big/int.go:531 # 0x5dfd9a crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x53e529 0x53e52f 0xb8daef 0xb89cc5 0x26225e5 0xb8e16a 0xb8eab1 0xb8e0e5 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53e528 unicode/utf8.AppendRune+0x88 unicode/utf8/utf8.go:413 # 0x53e52e strings.(*Builder).WriteRune+0x8e strings/builder.go:106 # 0xb8daee github.com/mattermost/mattermost/server/public/shared/markdown.Unescape+0x2ce github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:675 # 0xb89cc4 github.com/mattermost/mattermost/server/public/shared/markdown.(*Autolink).Destination+0x44 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:95 # 0x26225e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages.func1+0x2e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:792 # 0xb8e169 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1.1+0x29 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:29 # 0xb8eab0 github.com/mattermost/mattermost/server/public/shared/markdown.InspectInline+0x1d0 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:102 # 0xb8e0e4 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0x124 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:28 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x191a065 0x191a053 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191a064 github.com/mattermost/squirrel.StatementBuilderType.Select+0x204 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191a052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 16640] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196e710 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196e70f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x25fd531 0x25fd4ae 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25fd530 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0xd0 github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x25fd4ad github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x28aa076 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x28aa075 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x23d5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x224a3d8 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a3d7 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x377 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:88 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x196e8ed 0x196e887 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196e8ec github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x78c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196e886 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x726 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1346 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x196e85f 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196e85e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x428505 0x19601be 0x1960813 0x196e1a5 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x1960812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:106 # 0x196e1a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1324 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x4246eb 0x1944b4f 0x1944a96 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1944b4e github.com/mattermost/squirrel.UpdateBuilder.Set+0x54e github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944a95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:156 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a04652 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04651 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:285 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [14: 9856] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28caf18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caf17 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x677 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3763 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1792] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 320] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1394651 0x272f750 0x272f21e 0x272c09f 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1394650 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x272f74f github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x2f github.com/mattermost/mattermost/server/v8/channels/web/web.go:100 # 0x272f21d github.com/mattermost/mattermost/server/v8/channels/web.Handle404+0x39d github.com/mattermost/mattermost/server/v8/channels/web/web.go:85 # 0x272c09e github.com/mattermost/mattermost/server/v8/channels/web.root+0xd1e github.com/mattermost/mattermost/server/v8/channels/web/static.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0x271688a 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716889 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:151 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ef2 0x271707f 0x271706e 0x2717033 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x271707e net/textproto.MIMEHeader.Set+0x99e net/textproto/header.go:22 # 0x271706d net/http.Header.Set+0x98d net/http/header.go:40 # 0x2717032 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x952 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:225 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [13: 1872] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x19ec8dd 0x19f5919 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x19ec8dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:189 # 0x19f5918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:992 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x190436f 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x190436e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x190436f 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x190436e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a047e5 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a047e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:294 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02d45 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02d44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:141 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 4608] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 72] @ 0x48dd05 0x428505 0xb59006 0xb598d7 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb598d6 encoding/gob.(*Decoder).decOpFor+0x996 encoding/gob/decode.go:866 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [8: 384] @ 0x48dd05 0x4246eb 0x18463f1 0x18464b0 0x19030a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18463f0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x19030a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x492ae9 0x72e507 0x25e9bb3 0x25e9bbc 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x25e9bb2 net/http.(*Request).Cookie+0x372 net/http/request.go:452 # 0x25e9bbb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x37b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:182 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3840] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 5760] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a06b0f 0x1a06a71 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a06b0e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3ee github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06a70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x19043a5 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19043a4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x184 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x196e710 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196e70f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x5af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1341 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x2248496 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x2248495 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x315 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:36 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x78f5ce 0x78b4bf 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x78f5cd net/http.(*Transport).getConn+0x20d net/http/transport.go:1536 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 96] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x492ae9 0x1846885 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18ce98e 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce98d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x10d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:966 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x27168e5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x27168e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f3adf 0x2206685 0x22043aa 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f3ade github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).QueueSetStatusOffline+0x7e github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:384 # 0x2206684 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:642 # 0x22043a9 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:514 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 3072] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x4cef08 0x4ce831 0x4ce52c 0x4ce50b 0x7785a5 0x772757 0x57cf32 0x779065 0x779e95 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4cef07 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x7785a4 net/http.(*chunkWriter).writeHeader+0x1ca4 net/http/server.go:1418 # 0x772756 net/http.(*chunkWriter).Write+0x36 net/http/server.go:378 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x779064 net/http.(*response).finishRequest+0x44 net/http/server.go:1671 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x493087 0x54c52a 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c529 encoding/json.(*decodeState).arrayInterface+0xa9 encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x19038ad 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19038ac github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc2c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196e85f 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196e85e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x6fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1343 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19f7de5 0x19f7d86 0x19f7d94 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19f7de4 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19f7d85 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19f7d93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1171 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 9280] @ 0x48dd05 0x428505 0xccbb2e 0xccbb22 0x271910e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccbb2d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbb21 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0x271910d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2a2d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:325 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [9: 216] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 144] @ 0x48dd2c 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125bedb 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125beda github.com/lib/pq.(*conn).readExecuteResponse+0xfa github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [7: 336] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x272639e 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x272639d github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x177d github.com/mattermost/mattermost/server/v8/channels/web/params.go:240 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 512] @ 0x48dd05 0x493087 0x196e2b0 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e2af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x196e5a9 0x196e58a 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e5a8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x448 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196e589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196e5d2 0x196e58a 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196e5d1 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x471 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196e589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 2288] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a06a0b 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a049cc 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a049cb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x60b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:300 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x48dd05 0x428505 0x24722bb 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x24722ba github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0xba github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x99febb 0x99fbe2 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03047 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03046 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x190457c 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190457b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x428505 0x272b13a 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272b139 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0xd9 net/http/server.go:2342 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x572b77 0x572b48 0x572ad8 0x572ad9 0x13387ea 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x572b76 path/filepath.Join+0x76 path/filepath/path.go:131 # 0x572b47 path/filepath.unixAbs+0x47 path/filepath/path.go:173 # 0x572ad7 path/filepath.abs+0x17 path/filepath/path_unix.go:29 # 0x572ad8 path/filepath.Abs+0x18 path/filepath/path.go:162 # 0x13387e9 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x309 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:67 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd1dc 0x27261ff 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd1db strconv.ParseInt+0x5b strconv/number.go:140 # 0x27261fe github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x15de github.com/mattermost/mattermost/server/v8/channels/web/params.go:222 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725d7f 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725d7e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x115e github.com/mattermost/mattermost/server/v8/channels/web/params.go:202 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1152] @ 0x48dd05 0x493087 0x13389ab 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13389aa github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x4ca github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:55 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726cdd 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726cdc github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x20bc github.com/mattermost/mattermost/server/v8/channels/web/params.go:300 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 288] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18c7ffb 0x18ebe48 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18c7ffa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x31a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:403 # 0x18ebe47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a2514 0x77484e 0x77935b 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a2513 sync.(*Pool).Put+0x33 sync/pool.go:111 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x77935a net/http.(*conn).finalFlush+0x7a net/http/server.go:1748 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x5305e6 0x2245e65 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x2245e64 github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x2a4 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:159 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x19e0dc6 0x19e0cd3 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x196e4dc 0x196e3eb 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x196e4db github.com/mattermost/squirrel.StatementBuilderType.Select+0x37b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196e3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 288] @ 0x48dd05 0x428505 0x19e267c 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e267b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:139 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 2016] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5704f3 0xccbe25 0xccbdf9 0x19c9b25 0x19c9b0e 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0xccbe24 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0xccbdf8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x19c9b24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x19c9b0d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a040d2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a040d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x551 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:253 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 512] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 224] @ 0x48dd05 0x492ae9 0x542c16 0x2479b09 0x2479b01 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479b08 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:853 # 0x2479b00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:301 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 288] @ 0x48dd2c 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x19f0a17 0x19f09e6 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19f0a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0x196 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f09e5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x165 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:621 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x8b1b6d 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc30b 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b1b6c github.com/mattermost/go-i18n/i18n/language.Parse+0x4ac github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ef2 0x6ef888 0x271b497 0x271b483 0x27181bb 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x6ef887 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x271b496 net/http.Header.Get+0x96 net/http/header.go:50 # 0x271b482 github.com/mattermost/mattermost/server/v8/channels/web.(*Handler).checkCSRFToken+0x82 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:503 # 0x27181ba github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1ada github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 704] @ 0x48dd05 0x428505 0x271677d 0x2716725 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x271677c github.com/mattermost/mattermost/server/v8/channels/web.newWrappedWriter+0x9c github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:24 # 0x2716724 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x44 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:146 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x492ae9 0x54295f 0x8fc1d4 0x8fc16b 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc1d3 strings.Split+0xd3 strings/strings.go:361 # 0x8fc16a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f4c5 0x283627d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f4c4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x344 github.com/mattermost/mattermost/server/v8/channels/web/context.go:79 # 0x283627c github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x4fc github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:215 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 512] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 416] @ 0x48dd05 0x428505 0x2717af2 0x2717ac5 0x2717ab0 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2717af1 net/textproto.MIMEHeader.Set+0x1411 net/textproto/header.go:22 # 0x2717ac4 net/http.Header.Set+0x13e4 net/http/header.go:40 # 0x2717aaf github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x13cf github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:252 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x4ab7b8 0x125ea28 0x125e9de 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4ab7b7 syscall.Environ+0xb7 syscall/env_unix.go:139 # 0x125ea27 os.Environ+0x67 os/env.go:140 # 0x125e9dd github.com/lib/pq.NewConfig+0x1d github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x255ae12 0x2804715 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x255ae11 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetServerLimits+0x171 github.com/mattermost/mattermost/server/v8/channels/app/limits.go:50 # 0x2804714 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:22 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x15da575 0x21d17ca 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665e92 0x2665e8d 0x2664777 0xc7b03a 0x498001 # 0x15da574 github.com/mattermost/mattermost/server/v8/config.GenerateLimitedClientConfig+0xe54 github.com/mattermost/mattermost/server/v8/config/client.go:316 # 0x21d17c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x89 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:222 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665e91 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665e8c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1472 # 0x2664776 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1323 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3584] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x4d67f7 0x4d67f8 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d67f6 internal/filepathlite.(*lazybuf).string+0x916 internal/filepathlite/path.go:61 # 0x4d67f7 internal/filepathlite.Clean+0x917 internal/filepathlite/path.go:137 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846fab 0x1a06913 0x1a068cb 0x1309f10 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06912 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 784] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x428505 0xc3f26e 0xc3f262 0x262531e 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f26d hash/fnv.New32+0x2d hash/fnv/fnv.go:45 # 0xc3f261 github.com/mattermost/mattermost/server/public/model.GenerateLinkMetadataHash+0x21 github.com/mattermost/mattermost/server/public/model/link_metadata.go:228 # 0x262531d github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 32768] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [13: 624] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183efb1 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183efb0 github.com/mattermost/squirrel.Eq.toSQL+0xad0 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 640] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 832] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28a9846 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28a9845 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x1ba5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1456] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x26ade2b 0x26bdefa 0x26bdecc 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26bdef9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x8d9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26bdecb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x8ab github.com/mattermost/mattermost/server/v8/channels/app/user.go:2963 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a217d6 0x1a21760 0x1891715 0x21bad96 0x26a8114 0x26a84fc 0x28aa158 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a217d5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a2175f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesInChannel+0x2ff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:847 # 0x1891714 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesInChannel+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16803 # 0x21bad95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesInChannel+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13280 # 0x26a8113 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannel+0x53 github.com/mattermost/mattermost/server/v8/channels/app/user.go:694 # 0x26a84fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersInChannelPage+0x1b github.com/mattermost/mattermost/server/v8/channels/app/user.go:737 # 0x28aa157 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x24b7 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1074 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x28aa076 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x28aa075 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x23d5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1064 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x19e2c86 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2c85 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x8a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x19980e5 0x19980c7 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19980e4 github.com/mattermost/squirrel.newPart+0xe4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x19980c6 github.com/mattermost/squirrel.SelectBuilder.From+0xc6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 448] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 560] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28eb85d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28eb85c github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x21c github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x184afae 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 144] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 2912] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x661565 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x661564 crypto/x509.(*policyGraph).insert+0xc44 crypto/x509/verify.go:1086 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 5760] @ 0x48dd2c 0x4752f7 0x69532b 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x69532a crypto/tls.(*weakCertCache).newCert+0x10a crypto/tls/cache.go:32 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ebe8 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ebe7 encoding/json.marshalerEncoder+0x127 encoding/json/encode.go:487 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x281d7ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d7fe github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x27e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 65280] @ 0x48dd2c 0x428505 0x687266 0x687253 0x6872df 0x6e070f 0x6aca42 0x6ad1e5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x687265 crypto/internal/fips140/mlkem.(*DecapsulationKey768).EncapsulationKey+0x25 crypto/internal/fips140/mlkem/mlkem768.go:125 # 0x687252 crypto/mlkem.(*DecapsulationKey768).EncapsulationKey+0x12 crypto/mlkem/mlkem.go:85 # 0x6872de crypto/mlkem.(*DecapsulationKey768).Encapsulator+0x9e crypto/mlkem/mlkem.go:93 # 0x6e070e crypto/tls.(*hybridKeyExchange).keyShares+0x18e crypto/tls/key_schedule.go:193 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1989f1f 0x18794fa 0x219eda2 0x2589be6 0x258b0a5 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1989f1e 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x258b0a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:35 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [12: 384] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1920e4f 0x1920df4 0x1920e02 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1920e4e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xce github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1920df3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1920e01 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:223 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0xb8f02e 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f02d github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x4d github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:17 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd0c 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0xb8a9c7 0xb8d185 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8a9c6 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x286 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d184 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x184 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:601 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d09a 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d099 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x99 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:565 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27d8a65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d8a64 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a249ca 0x18915be 0x21bac29 0x26a96ea 0x26a96cb 0x28ac1c6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a249c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfilesByUsernames+0x1c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1057 # 0x18915bd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfilesByUsernames+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16782 # 0x21bac28 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfilesByUsernames+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13264 # 0x26a96e9 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByUsernames+0x49 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:126 # 0x26a96ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByUsernames+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:875 # 0x28ac1c5 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByNames+0x205 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1204 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x191fb94 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fb93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x293 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:145 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1920fe5 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1920fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 896] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x24c648b 0x27a5a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24c648a github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x7ea github.com/mattermost/mattermost/server/v8/channels/app/command.go:126 # 0x27a5a24 github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/command.go:478 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x190e2fe 0x190e2a6 0x186473a 0x2187126 0x24c5fb2 0x27a5a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x190e2fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190e2a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlCommandStore.GetByTeam+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/command_store.go:120 # 0x1864739 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerCommandStore).GetByTeam+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:4515 # 0x2187125 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerCommandStore).GetByTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3724 # 0x24c5fb1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x311 github.com/mattermost/mattermost/server/v8/channels/app/command.go:107 # 0x27a5a24 github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/command.go:478 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x428505 0x24c6310 0x27a5a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24c630f github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x66f github.com/mattermost/mattermost/server/v8/channels/app/command.go:123 # 0x27a5a24 github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/command.go:478 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x428505 0x26e03f1 0x24c62df 0x27a5a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26e03f0 github.com/mattermost/mattermost/server/v8/channels/app/slashcommands.(*ExpandProvider).GetCommand+0x70 github.com/mattermost/mattermost/server/v8/channels/app/slashcommands/command_expand_collapse.go:41 # 0x24c62de github.com/mattermost/mattermost/server/v8/channels/app.(*App).ListAutocompleteCommands+0x63e github.com/mattermost/mattermost/server/v8/channels/app/command.go:122 # 0x27a5a24 github.com/mattermost/mattermost/server/v8/channels/api4.listCommandAutocompleteSuggestions+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/command.go:478 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1958445 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958444 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:155 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7b80be 0x7b80d7 0x7ba437 0x7bf2a5 0x7bef4b 0x19dbe07 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b80bd regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7b80d6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7bf2a4 regexp.(*Regexp).replaceAll+0x184 regexp/regexp.go:599 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846a10 0x190436f 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190436e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18e23d8 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e23d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 5184] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196fd07 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x686 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a06a0b 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 640] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd05 0x428505 0x2209f36 0x2209f1e 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2209f35 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).SendMessage+0xb15 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:494 # 0x2209f1d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xafd github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:105 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3072] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3584] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 400] @ 0x48dd05 0x428505 0x269553b 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x269553a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x33a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1755 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd25 0x492ae9 0xb5ce45 0xb757d0 0x12880d3 0x498001 # 0xb5ce44 encoding/gob.NewDecoder+0x264 encoding/gob/decoder.go:55 # 0xb757cf net/rpc.(*Server).ServeConn+0x12f net/rpc/server.go:451 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 64] @ 0x48dd05 0x428505 0x18476bc 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2835e29 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2835e28 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xa8 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:176 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 408] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 96] @ 0x48dd2c 0x428505 0xb88649 0xb8776c 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88648 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb8776b github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x32b github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x196e565 0x196e4dd 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196e564 github.com/mattermost/squirrel.SelectBuilder.From+0x404 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196e4dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1338 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1974a65 0x1974a36 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1974a64 github.com/mattermost/squirrel.StatementBuilderType.Select+0x4a4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1974a35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x475 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1834 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 4608] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x28a25a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x28a25a4 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x744 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:345 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 360] @ 0x48dd2c 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 8064] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1903305 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:427 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2766a1e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2766a1d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2bd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1372 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 7744] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x1902f57 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902f56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:411 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 168] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 1760] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [130: 83200] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 32] @ 0x48dd05 0x428505 0x2700f14 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f13 net/textproto.MIMEHeader.Set+0x173 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1990b1d 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990b1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x21f19a5 0x21f1937 0x21f1e29 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x21f19a4 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xa4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:293 # 0x21f1936 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x21f1e28 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x308 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:223 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a25c3c 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25c3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x428505 0x13900e5 0x1376ed4 0x4a240c 0x1376a3a 0x1376a13 0x137d9e4 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x13900e4 github.com/mattermost/mattermost/server/v8/channels/utils.(*notificationRenderer).RegisterFuncs+0x84 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:91 # 0x1376ed3 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xd3 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:148 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x1376a39 sync.(*Once).Do+0x79 sync/once.go:69 # 0x1376a12 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:136 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 48] @ 0x48dd05 0x428505 0x8b1b6d 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc30b 0x27169c5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x8b1b6c github.com/mattermost/go-i18n/i18n/language.Parse+0x4ac github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x18468ff 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 36864] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 4352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3456] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x132f856 0x132f81e 0x132f8b6 0x1b2b1f4 0x25132b3 0x498001 # 0x132f855 bufio.NewWriterSize+0x135 bufio/bufio.go:599 # 0x132f81d bufio.NewWriter+0xfd bufio/bufio.go:608 # 0x132f8b5 image/jpeg.Encode+0x195 image/jpeg/writer.go:584 # 0x1b2b1f3 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x93 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:44 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [5: 860160] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 4497408] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 8960] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 768] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 576] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1990a0f 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990a0e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x58e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1cd098d 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x1cd098c github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0xb73346 0x12a0aab 0x12a0a5f 0x12eda54 0x2593452 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x258fe2a 0x258fcd9 0x2594f9c 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x12a0aaa net/rpc.(*Client).Call+0x10a net/rpc/client.go:321 # 0x12a0a5e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1510 # 0x12eda53 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:274 # 0x2593451 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x258fe29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xc9 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x1376af8 0x1376aaa 0x1376b78 0x137d9e4 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1376af7 bufio.NewWriterSize+0x137 bufio/bufio.go:598 # 0x1376aa9 bufio.NewWriter+0xe9 bufio/bufio.go:608 # 0x1376b77 github.com/yuin/goldmark/renderer.(*renderer).Render+0x1b7 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:159 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 2304] @ 0x48dd2c 0x492ae9 0xc99845 0xc99801 0x11347f5 0x1133c86 0x1133c7e 0x211dda2 0x2127cad 0x2581463 0x498001 # 0xc99844 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc99800 github.com/mattermost/mattermost/server/public/model.UserMap.MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:800 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127cac 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 # 0x2581462 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: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 1392640] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 32640] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x1a06c9e 0x1a06c46 0x1a06c44 0x1309f10 0x498001 # 0x1a06c9d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a06c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a06c43 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:440 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd05 0x493087 0x24ada05 0x2766ce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2766ce4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x584 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1395 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x5305e6 0x184ab46 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 352] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 88] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 192] @ 0x48dd05 0x428505 0x19f7eeb 0x19f7ed0 0x19f7ecf 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f7eea github.com/mattermost/squirrel.newPart+0x1ca github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x19f7ecf github.com/mattermost/squirrel.SelectBuilder.From+0x1af github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19f7ece github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1173 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 40960] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [6: 96] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x281753a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2817539 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:273 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x196faf5 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196faf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x199ac36 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ac35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x4930f3 0x6b9c6b 0x6b9b28 0x6b9b27 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6b9c6a vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0xc2a vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6b9b27 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0xae7 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6b9b26 crypto/tls.(*clientHelloMsg).marshalMsg+0xae6 crypto/tls/handshake_messages.go:150 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x664ae5 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x664ae4 crypto/x509.checkSignature+0x1e4 crypto/x509/x509.go:1009 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x18468ff 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 5376] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x184ab46 0x184babf 0x19dc226 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1a297fa 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x281d74c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d74b github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1cb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x2836339 0x28362c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2836338 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x5b8 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x28362c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x544 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:217 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a014bb 0x1a01437 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a014ba github.com/mattermost/squirrel.SelectBuilder.From+0x17a github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a01436 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:155 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 896] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1998125 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998124 github.com/mattermost/squirrel.SelectBuilder.From+0x124 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 448] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18d247a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d2479 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xa19 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1262 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 19456] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28bb5e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28bb5e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2501 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e854f 0x18e8445 0x18e837a 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e854e github.com/lann/builder.Append+0x68e github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e8444 github.com/mattermost/squirrel.UpdateBuilder.Set+0x584 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e8379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x4b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2976 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2113f45 0x249f269 0x2761f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2113f44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetGuestCount+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:178 # 0x249f268 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2575 # 0x2761f1a github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:998 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416f77 0x1376953 0x138620e 0x1376ed4 0x4a240c 0x1376a3a 0x1376a13 0x137d9e4 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1376952 github.com/yuin/goldmark/renderer.(*renderer).Register+0x32 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:128 # 0x138620d github.com/yuin/goldmark/extension.(*StrikethroughHTMLRenderer).RegisterFuncs+0x6d github.com/yuin/goldmark@v1.8.2/extension/strikethrough.go:83 # 0x1376ed3 github.com/yuin/goldmark/renderer.(*renderer).Render.func1+0xd3 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:148 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x1376a39 sync.(*Once).Do+0x79 sync/once.go:69 # 0x1376a12 github.com/yuin/goldmark/renderer.(*renderer).Render+0x52 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:136 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 917504] @ 0x48dd33 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 196608] @ 0x48dd33 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 2464] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28cac25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac24 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3742 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e44fc 0x185c107 0x217d5ad 0x2113f86 0x249f269 0x2761f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e44fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2663 # 0x185c106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2367 # 0x217d5ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2003 # 0x2113f85 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 # 0x249f268 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2575 # 0x2761f1a github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:998 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1120] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 20971520] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x546e9e 0x546a79 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1664] @ 0x48dd05 0x428505 0x4edac8 0x4ed72c 0x6255f8 0x613a9a 0x61463d 0x60d687 0x60da2f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x4edac7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x6255f7 net.stat+0x17 net/parse.go:84 # 0x613a99 net.readHosts+0xf9 net/hosts.go:59 # 0x61463c net.lookupStaticHost+0xbc net/hosts.go:132 # 0x60d686 net.goLookupIPFiles+0x26 net/dnsclient_unix.go:590 # 0x60da2e net.(*Resolver).goLookupIPCNAMEOrder+0xae net/dnsclient_unix.go:612 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [6: 144] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd25 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd05 0x428505 0x41d554 0xb83c6b 0xb83ac5 0x498001 # 0xb83c6a github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xaa github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:177 # 0xb83ac4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:156 0: 0 [8: 2560] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 2800] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x199808f 0x1998035 0x1998033 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199808e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x8e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1998034 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1998032 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:76 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd05 0x428505 0xb83c8f 0xb832a9 0x12877cd 0x498001 # 0xb83c8e github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xce github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:176 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [7: 336] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19031b6 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19031b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x535 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x194a858 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x194a857 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x198a925 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x198a924 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 144] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 144] @ 0x48dd05 0x428505 0x196fa05 0x196f9e9 0x196f9e8 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fa04 github.com/mattermost/squirrel.newPart+0x384 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x196f9e8 github.com/mattermost/squirrel.SelectBuilder.From+0x368 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196f9e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1421 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x2478173 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x199ad05 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ad04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x493087 0x2248f3c 0x224c262 0x224c0d3 0x498001 # 0x2248f3b github.com/getsentry/sentry-go/report.(*Aggregator).TakeReport+0x1fb github.com/getsentry/sentry-go@v0.46.2/report/aggregator.go:67 # 0x224c261 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x41 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:515 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a06cc7 0x1a06c46 0x1a06c44 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a06cc6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a06c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a06c43 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:440 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x72702b 0x7263fd 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x72702a net/http.setRequestCancel+0x34a net/http/client.go:403 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd2c 0x492ae9 0x296ae8e 0x296ae7b 0x296b7c6 0x296b24a 0x5dfda5 0x5da4f7 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296ae8d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x296ae7a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:482 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5da4f6 crypto/rsa.VerifyPSS+0x176 crypto/rsa/fips.go:157 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [9: 144] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x299ba09 0x6dfb65 0x6dfb3a 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6dfb64 crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x64 crypto/internal/fips140/tls13/tls13.go:155 # 0x6dfb39 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x39 crypto/tls/key_schedule.go:48 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [8: 384] @ 0x48dd05 0x428505 0x19030c5 0x19030a7 0x19030a6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19030c4 github.com/mattermost/squirrel.newPart+0x444 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x19030a6 github.com/mattermost/squirrel.SelectBuilder.From+0x426 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19030a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03047 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03046 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a02b09 0x1a02abe 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a02b08 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a02abd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:129 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1955ace 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1955acd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x28d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:243 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184aca5 0x184babf 0x19dc226 0x1a0aee8 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184aca4 github.com/mattermost/squirrel.(*updateData).ToSql+0x7e4 github.com/mattermost/squirrel@v0.5.0/update.go:113 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0aee7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x567 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:693 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7b999b 0x7b99b4 0x7ba466 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b999a regexp.newOnePassMachine+0x9a regexp/exec.go:384 # 0x7b99b3 regexp.(*Regexp).doOnePass+0xb3 regexp/exec.go:403 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x18e9d17 0x18e9c93 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e9d16 github.com/mattermost/squirrel.SelectBuilder.From+0x1b6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e9c92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3064 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [43: 209152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 6400] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 96] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3168] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x6f3026 0x76e937 0x76e920 0x796331 0x79515d 0x498001 # 0x6f3025 net/textproto.readMIMEHeader+0x3e5 net/textproto/reader.go:592 # 0x76e936 net/textproto.(*Reader).ReadMIMEHeader+0x236 net/textproto/reader.go:508 # 0x76e91f net/http.ReadResponse+0x21f net/http/response.go:188 # 0x796330 net/http.(*persistConn).readResponse+0xb0 net/http/transport.go:2518 # 0x79515c net/http.(*persistConn).readLoop+0x2dc net/http/transport.go:2345 0: 0 [7: 336] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2833045 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2833044 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2080] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 1104] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x71d5ab 0x71d579 0x71cd94 0x71c7b2 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x71d5aa bytes.(*Buffer).String+0xea bytes/buffer.go:77 # 0x71d578 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0xb8 vendor/golang.org/x/net/http2/hpack/hpack.go:518 # 0x71cd93 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x333 vendor/golang.org/x/net/http2/hpack/hpack.go:386 # 0x71c7b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x99d19d 0x4a2651 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x99d19c github.com/hashicorp/yamux.init.func1+0x1c github.com/hashicorp/yamux@v0.1.2/util.go:18 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x299be29 0x299ba09 0x6b76bd 0x6b767b 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299be28 crypto/internal/fips140/tls13.ExpandLabel[...]+0x368 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b76bc crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x1dc crypto/internal/fips140/tls13/tls13.go:131 # 0x6b767a crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x19a crypto/tls/handshake_client_tls13.go:712 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 672] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x1960b47 0x1a046ba 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1960b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:140 # 0x1a046b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299af5a 0x299be65 0x299ba09 0x299b525 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b524 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 344064] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 655360] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x428505 0x25109fa 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25109f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x479 github.com/mattermost/mattermost/server/v8/channels/app/file.go:801 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3840] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd05 0x428505 0x60f4ab 0x60e0a7 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x60f4aa net.(*Resolver).goLookupIPCNAMEOrder.func3+0x6a net/dnsclient_unix.go:666 # 0x60e0a6 net.(*Resolver).goLookupIPCNAMEOrder+0x726 net/dnsclient_unix.go:679 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 409600] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 3325952] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 172032] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 40960] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 819200] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6babde 0x6baa70 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6babdd vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b9d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baa6f crypto/tls.(*clientHelloMsg).marshalMsg+0x1a2f crypto/tls/handshake_messages.go:210 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 294912] @ 0x48dd33 0x492ae9 0x4cfb31 0x4ce77d 0x17dab3d 0x17dab16 0x17da9eb 0x250a5e9 0x250a546 0x250a547 0x2510cf7 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cfb30 io.(*multiReader).WriteTo+0x30 io/multi.go:45 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x17dab3c io.Copy+0xfc io/io.go:388 # 0x17dab15 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x17da9ea github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x250a5e8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:257 # 0x250a545 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:265 # 0x250a546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:253 # 0x2510cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x776 github.com/mattermost/mattermost/server/v8/channels/app/file.go:824 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x6fe54f 0x6fe4e8 0x27d1a4d 0x27d371e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6fe54e bufio.NewReaderSize+0xce bufio/bufio.go:57 # 0x6fe4e7 mime/multipart.NewReader+0x67 mime/multipart/multipart.go:122 # 0x27d1a4c github.com/mattermost/mattermost/server/v8/channels/api4.multipartReader+0x6c github.com/mattermost/mattermost/server/v8/channels/api4/file.go:71 # 0x27d371d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:226 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97aa5 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a03519 0x1a034f3 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03518 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a034f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:194 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 896] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x281d855 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d854 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x2d4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:270 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 2048] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x18e9d89 0x18e9d3e 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e9d88 github.com/mattermost/squirrel.SelectBuilder.Join+0x228 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e9d3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3065 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd0c 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a073c7 0x1309f10 0x498001 # 0x1a073c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x3a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 216] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18469e9 0x190436f 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190436e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 264] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 25344] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227f549 0x27019b2 0x2700c90 0x27271b1 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x27019b1 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0x71 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:363 # 0x2700c8f github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x5ef github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:211 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [22: 23248896] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [75: 78643200] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 7340032] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 385024] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [31: 32759808] @ 0x48dd33 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [53: 55574528] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 3360] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2176] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0x2739533 0x2738b32 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2739532 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x5b2 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:108 # 0x2738b31 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 17408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x726e14 0x726e15 0x7263fd 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x726e13 context.WithDeadline+0x133 context/context.go:626 # 0x726e14 net/http.setRequestCancel+0x134 net/http/client.go:378 # 0x7263fc net/http.send+0x61c net/http/client.go:262 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 672] @ 0x48dd05 0x493087 0x6598ee 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6598ed crypto/x509.parseCertificate+0x11ad crypto/x509/parser.go:1052 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 7680] @ 0x48dd2c 0x4930f3 0x69c8b2 0x6a17ed 0x6a1cc6 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x69c8b1 crypto/tls.(*halfConn).encrypt+0x1b1 crypto/tls/conn.go:481 # 0x6a17ec crypto/tls.(*Conn).writeRecordLocked+0x62c crypto/tls/conn.go:1031 # 0x6a1cc5 crypto/tls.(*Conn).writeHandshakeRecord+0x145 crypto/tls/conn.go:1066 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 64] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1958287 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1958286 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x2e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:151 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 288] @ 0x48dd05 0x428505 0x1256edf 0x125be65 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125be64 github.com/lib/pq.(*conn).readExecuteResponse+0x84 github.com/lib/pq@v1.12.3/conn.go:1735 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 155648] @ 0x48dd33 0x4930f3 0xbe64ba 0xbe6073 0xbea55c 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe64b9 github.com/vmihailenco/msgpack/v5.readNGrow+0x199 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:687 # 0xbe6072 github.com/vmihailenco/msgpack/v5.(*Decoder).readN+0x92 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:632 # 0xbea55b github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x3b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:58 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4224] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [5: 1760] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 256] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x2625354 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2625353 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1440] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [12: 192] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184816c 0x184809b 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 3200] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 320] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd0c 0x492ae9 0x551136 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x196de6b 0x196dd3f 0x196ea65 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x196ea64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x904 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1352 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x17d9f3b 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27d8ee5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x17d9f3a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27d8ee4 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd2c 0x4752f7 0x5305e6 0x183efe9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183efe8 github.com/mattermost/squirrel.Eq.toSQL+0xb08 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x9163fe 0x91805f 0x917c6f 0x91762c 0x9182d9 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x91805e golang.org/x/net/html.(*Tokenizer).readTagAttrVal+0x15e golang.org/x/net@v0.54.0/html/token.go:979 # 0x917c6e golang.org/x/net/html.(*Tokenizer).readTag+0x8e golang.org/x/net@v0.54.0/html/token.go:882 # 0x91762b golang.org/x/net/html.(*Tokenizer).readStartTag+0x2b golang.org/x/net@v0.54.0/html/token.go:816 # 0x9182d8 golang.org/x/net/html.(*Tokenizer).Next+0x218 golang.org/x/net@v0.54.0/html/token.go:1083 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x9163fe 0x91805f 0x917c6f 0x91762c 0x9182d9 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x91805e golang.org/x/net/html.(*Tokenizer).readTagAttrVal+0x15e golang.org/x/net@v0.54.0/html/token.go:979 # 0x917c6e golang.org/x/net/html.(*Tokenizer).readTag+0x8e golang.org/x/net@v0.54.0/html/token.go:882 # 0x91762b golang.org/x/net/html.(*Tokenizer).readStartTag+0x2b golang.org/x/net@v0.54.0/html/token.go:816 # 0x9182d8 golang.org/x/net/html.(*Tokenizer).Next+0x218 golang.org/x/net@v0.54.0/html/token.go:1083 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 12544] @ 0x48dd2c 0x428505 0x2943ad2 0x6e9c79 0x69bab6 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2943ad1 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x91 crypto/internal/fips140/aes/gcm/gcm_nonces.go:174 # 0x6e9c78 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:564 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 8960] @ 0x48dd2c 0x4752f7 0x695266 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695265 crypto/tls.(*weakCertCache).newCert+0x45 crypto/tls/cache.go:20 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [8: 5120] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 256] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 800] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [10: 480] @ 0x48dd2c 0x492ae9 0x4c209c 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4c209b time.Time.MarshalJSON+0x3b time/time.go:1592 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [8: 896] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 2464] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 192] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x12a0aab 0x12a0a5f 0x12eda54 0x2593452 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x258fe2a 0x2594292 0x2594edf 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x12a0aaa net/rpc.(*Client).Call+0x10a net/rpc/client.go:321 # 0x12a0a5e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1510 # 0x12eda53 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:274 # 0x2593451 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x258fe29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xc9 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a06a0b 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x2ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5fbf 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5fbe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x5fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:157 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2824592 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2824591 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x371 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:831 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd2c 0x4752f7 0xc97d65 0xc97d66 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc97d64 github.com/tinylib/msgp/msgp.ReadStringBytes+0xce4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97d65 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xce5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a06b0f 0x1a06a71 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a06b0e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3ee github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06a70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1536] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0xcaad9f 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xcaad9e github.com/mattermost/mattermost/server/public/model.SidebarCategoryType.MarshalJSON+0x1e github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:96 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x55a2ec 0x559f35 0x276ebab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x276ebaa github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x26a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1995 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2479dc8 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479dc7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:342 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19210ea 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 12288] @ 0x48dd2c 0x492ae9 0x1b24b0a 0x1b2864e 0x498001 # 0x1b24b09 github.com/boxes-ltd/imaging.resizeVertical.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:149 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [3: 14592] @ 0x48dd2c 0x492ae9 0x1335eba 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1335eb9 image/png.(*encoder).writeImage+0x2b9 image/png/writer.go:345 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 1792] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9322496] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 4608] @ 0x48dd0c 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1280] @ 0x48dd2c 0x492ae9 0x597973 0x5dfd9b 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x597972 math/big.(*Int).Bytes+0x32 math/big/int.go:531 # 0x5dfd9a crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 24576] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 9519104] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [5: 3200] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19cc114 0x1883ae7 0x21aae07 0x21f23d6 0x276ede6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19cc113 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 # 0x1883ae6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12954 # 0x21aae06 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).UpdateLastActivityAt+0x66 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10261 # 0x21f23d5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x1d5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:287 # 0x276ede5 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x4a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2024 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3584] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5d3f 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5d3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x37e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:149 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x19608de 0x19681e5 0x187358e 0x2197fa2 0x25f7d09 0x25fd33c 0x2828765 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19608dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithName+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:116 # 0x19681e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:781 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25f7d08 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePost+0x1c8 github.com/mattermost/mattermost/server/v8/channels/app/post.go:797 # 0x25fd33b github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchPost+0x19b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1222 # 0x2828764 github.com/mattermost/mattermost/server/v8/channels/api4.patchPost+0x684 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1197 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9728] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a038c8 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a038c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x4a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:209 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 5376] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a04c7e 0x1a04c33 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a04c7d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8bd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a04c32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x1947949 0x19478d5 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1947948 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19478d4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 240] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x18e5f98 0x18e5e8e 0x18e5fac 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5f97 github.com/lann/builder.Append+0xd37 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5e8d github.com/mattermost/squirrel.UpdateBuilder.Set+0xc2d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5fab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2774 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x2700f14 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f13 net/textproto.MIMEHeader.Set+0x173 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0xc9ccc6 0x271ae25 0x27194b3 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9ccc5 github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x125 github.com/mattermost/mattermost/server/public/model/utils.go:315 # 0x271ae24 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xc64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:442 # 0x27194b2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2dd2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:368 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 800] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x1252cd9 0x1252155 0x125d165 0x801017 0x8093ee 0x810451 0x80912b 0x80902d 0x808ede 0x806822 0x808e2c 0x13a172f 0x13a1718 0x19db71f 0x1988c9b 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x1252cd8 github.com/lib/pq.(*conn).simpleExec+0x298 github.com/lib/pq@v1.12.3/conn.go:596 # 0x1252154 github.com/lib/pq.(*conn).begin+0x94 github.com/lib/pq@v1.12.3/conn.go:489 # 0x125d164 github.com/lib/pq.(*conn).BeginTx+0xe4 github.com/lib/pq@v1.12.3/conn_go18.go:75 # 0x801016 database/sql.ctxDriverBegin+0x76 database/sql/ctxutil.go:104 # 0x8093ed database/sql.(*DB).beginDC.func1+0xad database/sql/sql.go:1906 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80912a database/sql.(*DB).beginDC+0xaa database/sql/sql.go:1902 # 0x80902c database/sql.(*DB).begin+0x8c database/sql/sql.go:1895 # 0x808edd database/sql.(*DB).BeginTx.func1+0x3d database/sql/sql.go:1874 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x808e2b database/sql.(*DB).BeginTx+0x6b database/sql/sql.go:1873 # 0x13a172e database/sql.(*DB).Begin+0x2e database/sql/sql.go:1887 # 0x13a1717 github.com/jmoiron/sqlx.(*DB).Beginx+0x17 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:342 # 0x19db71e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Begin+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:169 # 0x1988c9a 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 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x18e6332 0x18e6321 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x18e6331 github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x10d1 github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x18e6320 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10c0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2784 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 320] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x2594b45 0x498001 # 0x2594b44 github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start+0x204 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:424 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184bc6c 0x184bb9b 0x184bc90 0x18e61ae 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184bc6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184bb9a github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x184bc8f github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x18e61ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19035d6 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19035d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 5760] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x258fcd9 0x2594f9c 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2833045 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2833044 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x18e5e05 0x18e5cfe 0x18e5e19 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e5e04 github.com/lann/builder.Append+0xba4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e5cfd github.com/mattermost/squirrel.UpdateBuilder.Set+0xa9d github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x18e5e18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xbb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2773 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x281f87c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x281f87b github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xcfb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:431 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1972fa5 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1972fa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x764 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1741 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x196082c 0x1962645 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196082b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:107 # 0x1962644 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1844 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:254 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 80] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 224] @ 0x48dd05 0x428505 0x270fd0f 0x271a9c5 0x27194b3 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270fd0e github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogErrorByCode+0x24e github.com/mattermost/mattermost/server/v8/channels/web/context.go:110 # 0x271a9c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0x804 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:418 # 0x27194b2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2dd2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:368 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 640] @ 0x48dd05 0x493087 0x4e343d 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e343c os.(*File).readdir+0x55c os/dir_unix.go:150 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a0ee25 0x1a0edff 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a0ee24 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a0edfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1044 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 38912] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0xb73346 0x12a0aab 0x12a0a5f 0x12eda54 0x2593452 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x258fe2a 0x2594292 0x2594edf 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x12a0aaa net/rpc.(*Client).Call+0x10a net/rpc/client.go:321 # 0x12a0a5e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).NotificationWillBePushed+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1510 # 0x12eda53 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).NotificationWillBePushed+0x73 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:274 # 0x2593451 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions.func1+0x71 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:97 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x258fe29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0xc9 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:95 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2606d2a 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2606d29 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x69 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2393 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a01605 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a01604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:157 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [21: 6048] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a03a0d 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03a0c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x5ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [24: 4992] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1847b1c 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 448] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979daf 0x297985d 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x297985c crypto/internal/fips140/ecdsa.newDRBG[...]+0x33c crypto/internal/fips140/ecdsa/hmacdrbg.go:89 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a22cd4 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a22cd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:930 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 96] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xca172d 0x2204e27 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca172c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:250 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 32] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x272fd0f 0x286f2ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272fd0e github.com/mattermost/mattermost/server/v8/channels/web.ReturnStatusOK+0x4e github.com/mattermost/mattermost/server/v8/channels/web/web.go:129 # 0x286f2ab github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0x15ab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x283bfbf 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x283bfbe github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0xde github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:23 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x199814f 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199814e github.com/mattermost/squirrel.SelectBuilder.From+0x14e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x257dcd9 0x257dce2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x257dcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetStatus+0xfb98 github.com/mattermost/mattermost/server/v8/channels/app/status.go:62 # 0x257dce1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfba1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:553 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 19456] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9c67 0x28ae0fb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9c66 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersSearchByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2599 # 0x28ae0fa github.com/mattermost/mattermost/server/v8/channels/api4.autocompleteUsers+0x65a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 14336] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x196d93e 0x196769f 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196769e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x147e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:733 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 5760] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18461c5 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18461c4 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 5760] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x75f348 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x75f347 net/http.http2gzipPoolGet+0x27 net/http/h2_bundle.go:10452 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1964445 0x19643a7 0x1963950 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1964444 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x6c4 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x19643a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).populateReplyCount+0x626 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:376 # 0x196394f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x2b4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:333 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x13a0503 0x19df4af 0x19df488 0x1984c34 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19df4ae github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x19df487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:480 # 0x1984c33 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x1253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3185 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cd352 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cd351 github.com/mattermost/mattermost/server/v8/channels/api4.unfollowThreadByUser+0x4b1 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3881 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 288] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0x17d9f45 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27d8ee5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17d9f44 os.Open+0x64 os/file.go:390 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27d8ee4 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x5e4 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:684 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x2119285 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2119284 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x1a4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:67 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133d05 0x26259e2 0x26233d2 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133d04 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x26259e1 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1152 # 0x26233d1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x2d1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:918 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 393216] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [9: 6336] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 264] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19580ef 0x1958095 0x1958030 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19580ee github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x14e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1958094 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x195802f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:147 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x493087 0x642625 0x658ca5 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658ca4 crypto/x509.parseCertificate+0x564 crypto/x509/parser.go:967 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x5cb485 0x652deb 0x658b48 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x652dea crypto/x509.parseAI+0x8a crypto/x509/parser.go:185 # 0x658b47 crypto/x509.parseCertificate+0x407 crypto/x509/parser.go:952 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 96] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0xc99d65 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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: 32] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63b077 0x223c02f 0x223c018 0x223d4d3 0x225c134 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63b076 net/url.unescape+0x2d6 net/url/url.go:166 # 0x223c02e net/url.PathUnescape+0x9ae net/url/url.go:100 # 0x223c017 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x997 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:327 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 4480] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x257a1e2 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x257a1e1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xc0a1 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:793 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 5120] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 5376] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x196de6b 0x196dd3f 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18cee70 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cee6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x20f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:982 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x276ebab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x276ebaa github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x26a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1995 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3072] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296c79a 0x296b054 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296c799 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:742 # 0x296b053 crypto/internal/fips140/bigmod.rr+0x1f3 crypto/internal/fips140/bigmod/nat.go:492 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x8b9fd4 0x8b9fd5 0x8fa385 0x8f9cda 0x8fc695 0x1cf5abf 0x258f446 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x8b9fd3 bytes.(*Buffer).String+0xb3 bytes/buffer.go:77 # 0x8b9fd4 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 # 0x8fa384 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x1cf5abe github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).NewEmailTemplateData+0x4be github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:868 # 0x258f445 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x465 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:371 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 352] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x6598b2 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6598b1 crypto/x509.parseCertificate+0x1171 crypto/x509/parser.go:1051 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299b26d 0x299bfa6 0x299d075 0x6b5f85 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299b26c crypto/internal/fips140/hkdf.Extract[...]+0x8c crypto/internal/fips140/hkdf/hkdf.go:18 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299d074 crypto/internal/fips140/tls13.NewEarlySecret[...]+0x34 crypto/internal/fips140/tls13/tls13.go:75 # 0x6b5f84 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x104 crypto/tls/handshake_client_tls13.go:487 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x6dfa05 0x6b8173 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6dfa04 crypto/tls.(*cipherSuiteTLS13).finishedHash+0xc4 crypto/tls/key_schedule.go:39 # 0x6b8172 crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x52 crypto/tls/handshake_client_tls13.go:812 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [7: 448] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x247a52d 0x24798fc 0x28b00ae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x247a52c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToManageBot+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:410 # 0x24798fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUserOrBot+0xdb github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:283 # 0x28b00ad github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x84d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1540 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd05 0x428505 0xb63125 0xb630d3 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63124 encoding/gob.(*Encoder).newEncoderState+0xc4 encoding/gob/encode.go:82 # 0xb630d2 encoding/gob.(*Encoder).encodeArray+0x72 encoding/gob/encode.go:334 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 384] @ 0x48dd05 0x428505 0x75367d 0x752c59 0x735808 0x498001 # 0x75367c net/http.(*http2Transport).newClientConn+0x9dc net/http/h2_bundle.go:8139 # 0x752c58 net/http.(*http2Transport).NewClientConn+0x38 net/http/h2_bundle.go:8079 # 0x735807 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:919 0: 0 [9: 122112] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a040f5 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a040f4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x574 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:253 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd05 0x428505 0xc9d0e9 0x26c1ee7 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9d0e8 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x26c1ee6 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x48dd05 0x428505 0x19eb6ab 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eb6aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0x4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:106 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc40413 0xc4040a 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc40412 os.Open+0x132 os/file.go:390 # 0xc40409 github.com/mattermost/mattermost/server/public/model.FindManifest+0x129 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 1152] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 2048] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 4224] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13056] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 9728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x27264b7 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x27264b6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1896 github.com/mattermost/mattermost/server/v8/channels/web/params.go:256 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 19584] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 4608] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 24320] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 14680064] @ 0x48dd33 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3670016] @ 0x48dd33 0x492ae9 0x9163fe 0x916bb8 0x9168de 0x918134 0x9198b6 0x25aca3f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x9163fd golang.org/x/net/html.(*Tokenizer).readByte+0x7d golang.org/x/net@v0.54.0/html/token.go:249 # 0x916bb7 golang.org/x/net/html.(*Tokenizer).readScript+0x57 golang.org/x/net@v0.54.0/html/token.go:400 # 0x9168dd golang.org/x/net/html.(*Tokenizer).readRawOrRCDATA+0x3d golang.org/x/net@v0.54.0/html/token.go:330 # 0x918133 golang.org/x/net/html.(*Tokenizer).Next+0x73 golang.org/x/net@v0.54.0/html/token.go:1029 # 0x9198b5 github.com/dyatlov/go-opengraph/opengraph.(*OpenGraph).ProcessHTML+0x55 github.com/dyatlov/go-opengraph/opengraph@v0.0.0-20220524092352-606d7b1e5f8a/opengraph.go:69 # 0x25aca3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xde github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:58 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x664ae5 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x664ae4 crypto/x509.checkSignature+0x1e4 crypto/x509/x509.go:1009 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [19: 17024] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 672] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1974650 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x197464f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1818 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a041a6 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a041a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x625 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:250 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 624] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x28cad7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cad7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x4dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3746 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 3696] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 163840] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8448e 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd6aa 0x28bd66c 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd6a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x289 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd66b github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2673 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x69ccb0 0x6a17ed 0x6a2dbe 0x793fa6 0x57cf32 0x796a85 0x498001 # 0x69ccaf crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:519 # 0x6a17ec crypto/tls.(*Conn).writeRecordLocked+0x62c crypto/tls/conn.go:1031 # 0x6a2dbd crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1254 # 0x793fa5 net/http.persistConnWriter.Write+0x25 net/http/transport.go:2010 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x796a84 net/http.(*persistConn).writeLoop+0x1c4 net/http/transport.go:2668 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x52d7d1 0x52d808 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x8faba6 0xc9d234 0xc9d178 0x2673ec8 0x267a6c8 0xc7b03a 0x498001 # 0x52d7d0 errors.New+0x230 errors/errors.go:65 # 0x52d807 fmt.errorf+0x267 fmt/errors.go:46 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d233 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x2673ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getSharedChannelsService+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/shared_channel.go:35 # 0x267a6c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x47 github.com/mattermost/mattermost/server/v8/channels/app/status.go:74 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x18d1ca5 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1ca4 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x244 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 4800] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 640] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1944d12 0x1944c0f 0x1944bf6 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1944d11 github.com/lann/builder.Append+0x711 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1944c0e github.com/mattermost/squirrel.UpdateBuilder.Set+0x60e github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944bf5 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 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [9: 432] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a046a8 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a046a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:285 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1902e1b 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902e1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:412 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 312] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28cabae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cabad github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x30d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3732 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1309e53 0x1a06318 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1309e52 golang.org/x/sync/errgroup.(*Group).Go+0x52 golang.org/x/sync@v0.20.0/errgroup/errgroup.go:78 # 0x1a06317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x3f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:439 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 768] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18451d5 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18451d4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x454 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x71de3b 0x71b6a5 0x71b305 0x71aa78 0x75975c 0x757630 0x71f726 0x71f895 0x71f4f2 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x71de3a vendor/golang.org/x/net/http2/hpack.AppendHuffmanString+0x1fa vendor/golang.org/x/net/http2/hpack/huffman.go:211 # 0x71b6a4 vendor/golang.org/x/net/http2/hpack.appendHpackString+0x284 vendor/golang.org/x/net/http2/hpack/encode.go:223 # 0x71b304 vendor/golang.org/x/net/http2/hpack.appendIndexedName+0x164 vendor/golang.org/x/net/http2/hpack/encode.go:183 # 0x71aa77 vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x377 vendor/golang.org/x/net/http2/hpack/encode.go:74 # 0x75975b net/http.(*http2ClientConn).writeHeader+0x13b net/http/h2_bundle.go:9359 # 0x75762f net/http.(*http2clientStream).encodeAndWriteHeaders.func1+0x2f net/http/h2_bundle.go:8900 # 0x71f725 net/http/internal/httpcommon.EncodeHeaders.func3+0x65 net/http/internal/httpcommon/httpcommon.go:405 # 0x71f894 net/http/internal/httpcommon.EncodeHeaders.func1+0x94 net/http/internal/httpcommon/httpcommon.go:289 # 0x71f4f1 net/http/internal/httpcommon.EncodeHeaders+0x6f1 net/http/internal/httpcommon/httpcommon.go:397 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 96] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e2376 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 56] @ 0x48dd05 0x492ae9 0xc84b7a 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84b79 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xd79 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:556 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3840] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cac7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3743 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x475974 0x475486 0x299b06c 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299b06b crypto/internal/fips140/hkdf.Expand[...]+0x1ab crypto/internal/fips140/hkdf/hkdf.go:43 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1a06ed4 0x1a06e84 0x1309f10 0x498001 # 0x1a06ed3 github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2b3 github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06e83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 8064] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x299b0d5 0x299be65 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x299b0d4 crypto/internal/fips140/hkdf.Expand[...]+0x214 crypto/internal/fips140/hkdf/hkdf.go:45 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 352] @ 0x48dd05 0x428505 0xc56fa5 0xc56f94 0x25f9e97 0x25783f7 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc56fa4 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x24 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc56f93 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x13 github.com/mattermost/mattermost/server/public/model/post.go:392 # 0x25f9e96 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1010 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1902b0b 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902b0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 896] @ 0x48dd05 0x428505 0x20dedf8 0x20db035 0x20dad8e 0x498001 # 0x20dedf7 github.com/mattermost/mattermost/server/v8/channels/jobs.JobLoggerFields+0x1f7 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:30 # 0x20db034 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x34 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:72 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x546a79 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x1a291ec 0x1a291bd 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a291eb github.com/mattermost/squirrel.StatementBuilderType.Select+0xeb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x48de45 0x515458 0x5274d0 0x5274e5 0x521209 0x51dac6 0xb587fd 0xb59b9a 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x521208 reflect.Value.assignTo+0x108 reflect/value.go:3202 # 0x51dac5 reflect.Value.Set+0xe5 reflect/value.go:2158 # 0xb587fc encoding/gob.(*Decoder).decodeInterface+0x4dc encoding/gob/decode.go:726 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 9728] @ 0x48dd0c 0x492ae9 0x542c16 0x19b8447 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x19b8446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:84 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x262f82b 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x262f82a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x16a github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:214 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a0510d 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a0510c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xd4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:339 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1a05585 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a05584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:358 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1945747 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1945746 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [11: 4928] @ 0x48dd05 0x428505 0x19601be 0x19609bf 0x1a046ba 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x19609be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x1e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:124 # 0x1a046b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x493087 0x125f085 0x125ee87 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x125f084 github.com/lib/pq.Config.Clone+0x244 github.com/lib/pq@v1.12.3/connector.go:523 # 0x125ee86 github.com/lib/pq.Config.hosts+0x46 github.com/lib/pq@v1.12.3/connector.go:530 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a04465 0x1a04441 0x1a04426 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a04464 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a04440 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a04425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:279 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 1440] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02c11 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [6: 16128] @ 0x48dd2c 0x4930f3 0xb624de 0xb62388 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb624dd encoding/gob.(*encBuffer).Write+0x25d encoding/gob/encode.go:55 # 0xb62387 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [8: 128] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1920] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 336] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 1408] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 10752] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x18e14ea 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e14e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x189 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2351 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x183aa89 0x1a04ade 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183aa88 github.com/mattermost/squirrel.CaseBuilder.When+0x148 github.com/mattermost/squirrel@v0.5.0/case.go:122 # 0x1a04add github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x71d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:305 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [17: 4080] @ 0x48dd05 0x428505 0x27005da 0x4a2651 0x2702bda 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27005d9 github.com/klauspost/compress/gzhttp.init.func1+0x19 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:577 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x2702bd9 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x239 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:620 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x26bd699 0x28cb0cb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bd698 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2884 # 0x28cb0ca github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x82a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3771 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 576] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f251 0x283627d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f250 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xd0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x283627c github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x4fc github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:215 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 21504] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x62f79d 0x62f7be 0x607d4b 0x607688 0x606e19 0x605b65 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x62f79c net.newUDPConn+0xbc net/udpsock.go:278 # 0x62f7bd net.(*sysDialer).dialUDP+0xdd net/udpsock_posix.go:224 # 0x607d4a net.(*sysDialer).dialSingle+0x26a net/dial.go:795 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725e19 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725e18 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x11f8 github.com/mattermost/mattermost/server/v8/channels/web/params.go:204 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a03629 0x1a035dc 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03628 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a035db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x1bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:196 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 640] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x12e3652 0x4a3dbf 0x4a3e57 0x12e352e 0x12e3501 0x12e9865 0x498001 # 0x12e3651 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active.func1+0xf1 github.com/mattermost/mattermost/server/public/plugin/environment.go:151 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e352d sync.(*Map).Range+0x4d sync/map.go:114 # 0x12e3500 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Active+0x20 github.com/mattermost/mattermost/server/public/plugin/environment.go:148 # 0x12e9864 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x124 github.com/mattermost/mattermost/server/public/plugin/health_check.go:40 0: 0 [6: 2304] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7642b9 0x764765 0x77823d 0x777fd5 0x7729a9 0x779085 0x779e95 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7642b8 net/http.Header.sortedKeyValues+0x38 net/http/header.go:168 # 0x764764 net/http.Header.writeSubset+0xc4 net/http/header.go:195 # 0x77823c net/http.Header.WriteSubset+0x193c net/http/header.go:187 # 0x777fd4 net/http.(*chunkWriter).writeHeader+0x16d4 net/http/server.go:1533 # 0x7729a8 net/http.(*chunkWriter).close+0x28 net/http/server.go:410 # 0x779084 net/http.(*response).finishRequest+0x64 net/http/server.go:1673 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 24] @ 0x48dd05 0x428505 0x6609c8 0x660960 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6609c7 crypto/x509.newPolicyGraph+0xa7 crypto/x509/verify.go:1075 # 0x66095f crypto/x509.policiesValid+0x3f crypto/x509/verify.go:1195 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 16384] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a06976 0x1a0692e 0x1309f10 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06975 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1664] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a03f5d 0x1a03f15 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a03f5c github.com/mattermost/squirrel.SelectBuilder.Join+0x3dc github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03f14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:243 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x5cb485 0x652deb 0x658f4a 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x652dea crypto/x509.parseAI+0x8a crypto/x509/parser.go:185 # 0x658f49 crypto/x509.parseCertificate+0x809 crypto/x509/parser.go:1001 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x18cea67 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cea66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x1e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:964 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1344] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 144] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6ba6ca 0x6ba6ea 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6ba6c9 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1689 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6ba6e9 crypto/tls.(*clientHelloMsg).marshalMsg+0x16a9 crypto/tls/handshake_messages.go:182 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [15: 10560] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cac25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac24 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x384 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3742 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a03f34 0x1a03f15 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1a03f33 github.com/mattermost/squirrel.SelectBuilder.Join+0x3b3 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a03f14 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x394 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:243 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x281d669 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d668 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:251 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19e2479 0x19e241e 0x19e242c 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e2478 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x98 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19e241d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19e242b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:136 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 224] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 176] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 5120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 13824] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 240] @ 0x48dd05 0x41d56d 0xb83c6b 0xb832a9 0x1287b9d 0x498001 # 0xb83c6a github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xaa github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:177 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [4: 256] @ 0x48dd05 0x428505 0xb63899 0xb6384f 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63898 encoding/gob.(*Encoder).newEncoderState+0xb8 encoding/gob/encode.go:82 # 0xb6384e encoding/gob.(*Encoder).encodeMap+0x6e encoding/gob/encode.go:368 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125ac27 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125ac26 github.com/lib/pq.(*conn).processParameterStatus+0x26 github.com/lib/pq@v1.12.3/conn.go:1558 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x12f0ba2 0x51716c 0x516019 0xb75014 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x12f0ba1 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 144] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 16128] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x283967e 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x283967d github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x9bd github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:493 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 4576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 192] @ 0x48dd05 0x4246eb 0x18480d1 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18480d0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [22: 704] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x428505 0x12507e5 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x12507e4 bufio.NewReaderSize+0x8a4 bufio/bufio.go:56 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 560] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1841463 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a07291 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07290 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 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 14336] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1248] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a01533 0x1a014d3 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a01532 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a014d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x192 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:156 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19e2bcf 0x19e2ad7 0x19e2ad6 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e2bce github.com/lann/builder.Append+0x7ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2ad6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x6f6 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2ad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:148 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 192] @ 0x48dd05 0x492ae9 0x7c0b1d 0x226da88 0x226f097 0x226545d 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7c0b1c regexp.(*Regexp).FindSubmatch+0xbc regexp/regexp.go:869 # 0x226da87 github.com/getsentry/sentry-go.(*Span).updateFromSentryTrace+0x27 github.com/getsentry/sentry-go@v0.46.2/tracing.go:523 # 0x226f096 github.com/getsentry/sentry-go.ParseTraceParentContext+0x76 github.com/getsentry/sentry-go@v0.46.2/tracing.go:764 # 0x226545c github.com/getsentry/sentry-go.PropagationContextFromHeaders+0xbc github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:50 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x786638 0x786671 0x76b406 0x796a34 0x498001 # 0x786637 io.LimitReader+0x2f7 io/io.go:461 # 0x786670 net/http.(*transferWriter).writeBody+0x330 net/http/transfer.go:372 # 0x76b405 net/http.(*Request).write+0xa85 net/http/request.go:762 # 0x796a33 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2655 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1152] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x428505 0xc5bb05 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5bb04 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x184 github.com/mattermost/mattermost/server/public/model/post.go:981 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2448] @ 0x48dd2c 0x4752f7 0x5305e6 0x18c6297 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x18c6296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:170 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc5908d 0xc59004 0xc39ebe 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5908c maps.Copy[...]+0x14c maps/maps.go:64 # 0xc59003 github.com/mattermost/mattermost/server/public/model.(*Post).AddProp+0xc3 github.com/mattermost/mattermost/server/public/model/post.go:687 # 0xc39ebd github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x7d github.com/mattermost/mattermost/server/public/model/integration_action.go:869 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x196fa45 0x196f9e8 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fa44 github.com/mattermost/squirrel.SelectBuilder.From+0x3c4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196f9e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1421 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 9600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 256] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726c27 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726c26 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2006 github.com/mattermost/mattermost/server/v8/channels/web/params.go:298 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18d2428 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d2427 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x9c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1261 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x54c097 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c096 encoding/json.(*decodeState).literalStore+0x20d6 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x48de45 0x52107d 0xb764fc 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764fb net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:564 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x190457c 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190457b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1a06e45 0x1309f10 0x498001 # 0x1a06e44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19033eb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19033ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 1120] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 768] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbed209 0xbed1fd 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21f140c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbed208 github.com/vmihailenco/msgpack/v5.GetEncoder+0x28 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:51 # 0xbed1fc github.com/vmihailenco/msgpack/v5.Marshal+0x1c github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:61 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21f140b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9eb github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 160] @ 0x48dd05 0x428505 0xb73346 0x129cbea 0x129cb9f 0x12ed392 0x21fad43 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21facb8 0x21d4da2 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x129cbe9 net/rpc.(*Client).Call+0x109 net/rpc/client.go:321 # 0x129cb9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1086 # 0x12ed391 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:222 # 0x21fad42 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:427 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21facb7 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:426 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19033eb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19033ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x18e8852 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x18e8851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x991 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2987 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 294912] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 4792320] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [3: 270336] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 10880] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [2: 868352] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 6742016] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 270336] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 851968] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 9478144] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x27d3e2e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27d3e2d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x86d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:324 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 9472] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x224a3fe 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a3fd github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x39d github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:88 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ba7fe 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28cad25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cad24 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x484 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3745 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x458d18 0x46be75 0xb8332e 0x1287b9d 0x498001 # 0xb8332d github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0xcd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:58 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 80] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x4e339d 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e339c os.(*File).readdir+0x4bc os/dir_unix.go:141 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 560] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53831f 0x5378db 0x125afef 0x125af61 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53831e fmt.newScanState+0x3e fmt/scan.go:384 # 0x5378da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x125afee fmt.Sscanf+0x3ee fmt/scan.go:114 # 0x125af60 github.com/lib/pq.(*conn).processParameterStatus+0x360 github.com/lib/pq@v1.12.3/conn.go:1563 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1844d4d 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1847b1c 0x19ca04f 0x19c9fdb 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19ca04e github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19c9fda 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 448] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [12: 192] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2240] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [21: 2352] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x25db889 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x25db888 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x108 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:63 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd05 0x493087 0x18c8e2f 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c8e2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x52e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:488 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f84f 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f84e encoding/json.boolEncoder+0x1ee encoding/json/encode.go:550 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x261b67d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x224899e 0x224c4d3 0x224c0d3 0x498001 # 0x224899d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0xbd github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:114 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a0718f 0x1a07106 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0718e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07105 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:430 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x48dd05 0x492ae9 0x79a698 0x79a846 0x728bab 0x727a73 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x79a697 net/http.Header.Clone+0xb7 net/http/header.go:104 # 0x79a845 net/http.cloneOrMakeHeader+0x265 net/http/clone.go:116 # 0x728baa net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:764 # 0x727a72 net/http.(*Client).do+0x232 net/http/client.go:614 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [8: 512] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 256] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x19dc226 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 6912] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d249d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d249c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xa3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1262 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd05 0x428505 0x261ccc8 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261ccc7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x147 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:203 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2477d0c 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 2304] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 98304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbeeb59 0xbee9dc 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbeeb58 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xd8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:104 # 0xbee9db github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [3: 417792] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 131072] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [2: 3571712] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2464] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28cacd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caccf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x42f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3744 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [24: 2688] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 3888] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18d1dc5 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1226 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18451d5 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18451d4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x454 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 288] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725c47 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725c46 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1026 github.com/mattermost/mattermost/server/v8/channels/web/params.go:198 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f4c5 0x2838db8 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f4c4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x344 github.com/mattermost/mattermost/server/v8/channels/web/context.go:79 # 0x2838db7 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0xf7 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:455 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 60928] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 640] @ 0x48dd05 0x492ae9 0x184a6da 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184a6d9 github.com/mattermost/squirrel.(*updateData).ToSql+0x219 github.com/mattermost/squirrel@v0.5.0/update.go:82 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x2245ff2 0x2249f7a 0x224c44f 0x224c0d3 0x498001 # 0x2245ff1 github.com/getsentry/sentry-go/internal/protocol.Dsn.GetAPIURL+0x31 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:214 # 0x2249f79 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 1232] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02eed 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1728] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 34560] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 5376] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 155648] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x493087 0x196df5a 0x196dd8b 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196df59 github.com/mattermost/mattermost/server/public/model.(*PostList).AddOrder+0xa59 github.com/mattermost/mattermost/server/public/model/post_list.go:129 # 0x196dd8a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x88a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1316 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19caaa5 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x19caaa4 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 4576] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [18: 2016] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 768] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x27031b8 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x27031b7 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x57 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:645 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 816] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 448] @ 0x48dd2c 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 960] @ 0x48dd2c 0x4930f3 0x54d4e5 0x22464d9 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x22464d8 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x78 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a05030 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a0502f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xc6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:329 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 11520] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4753be 0x4753b2 0x475708 0x1261e3b 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1261e3a github.com/lib/pq.(*Config).fromDSN+0x75a github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 3200] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [14: 1568] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0xc3f629 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f628 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x288 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc406b1 0xc40672 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc406b0 path/filepath.Join+0x3d0 path/filepath/path.go:131 # 0xc40671 github.com/mattermost/mattermost/server/public/model.FindManifest+0x391 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6a5afe 0x6b776d 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6a5afd crypto/tls.(*Conn).setReadTrafficSecret+0x7d crypto/tls/conn.go:1698 # 0x6b776c crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x28c crypto/tls/handshake_client_tls13.go:714 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 192] @ 0x48dd05 0x428505 0x184c8c5 0x184c893 0x19e2729 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184c8c4 github.com/mattermost/squirrel.newWherePart+0x44 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x19e2728 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:138 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [21: 1008] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a04465 0x1a04441 0x1a04426 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a04464 github.com/mattermost/squirrel.StatementBuilderType.Select+0xa4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a04440 github.com/mattermost/squirrel.Select+0x80 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1a04425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:279 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 400] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 23040] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a04f78 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04f77 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0xbb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:331 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x77bf46 0x77c06e 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x77bf45 net/http.Error+0x1a5 net/http/server.go:2317 # 0x77c06d net/http.NotFound+0x2d net/http/server.go:2322 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2560] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x281d5f8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d5f7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x77 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x18eba31 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18eba30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3193 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 3072] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2496] @ 0x48dd05 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1664] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x2596631 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2596630 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x350 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:567 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x69e91d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x69e91c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:786 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 192] @ 0x48dd2c 0x4752f7 0x500659 0x1cd082a 0x1cd082b 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x500658 encoding/base64.(*Encoding).EncodeToString+0x138 encoding/base64/base64.go:209 # 0x1cd0829 github.com/golang-jwt/jwt/v5.(*Token).EncodeSegment+0xa9 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:101 # 0x1cd082a github.com/golang-jwt/jwt/v5.(*Token).SignedString+0xaa github.com/golang-jwt/jwt/v5@v5.3.1/token.go:76 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x125eeee 0x125ee87 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125eeed github.com/lib/pq.Config.Clone+0xad github.com/lib/pq@v1.12.3/connector.go:517 # 0x125ee86 github.com/lib/pq.Config.hosts+0x46 github.com/lib/pq@v1.12.3/connector.go:530 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 160] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18469e9 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 3264] @ 0x48dd05 0x428505 0x270f345 0x281e805 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x281e804 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1284 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 312] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x18476bc 0x18d1dc5 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1226 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1904291 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904290 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 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2080] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 720] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x2249f7f 0x224c44f 0x224c0d3 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x2249f7e github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1be github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [12: 384] @ 0x48dd2c 0x492ae9 0x4cdc27 0x4cdc0f 0x4ce005 0x25ea7a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cdc26 path.(*lazybuf).append+0x606 path/path.go:39 # 0x4cdc0e path.Clean+0x5ee path/path.go:127 # 0x4ce004 path.Join+0x1e4 path/path.go:172 # 0x25ea7a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xf68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:224 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x184afae 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18d1d05 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1d04 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x48d7c5 0x286204f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x286204e github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x30e github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 960] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc5bb2e 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc5bb2d github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x1ad github.com/mattermost/mattermost/server/public/model/post.go:982 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 224] @ 0x48dd05 0x428505 0x1246357 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1246356 github.com/lib/pq/scram.NewClient+0x36 github.com/lib/pq@v1.12.3/scram/scram.go:76 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 53760] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [14: 9856] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28caf6d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caf6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x6cc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3764 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28ebb2b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28ebb2a github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x4ea github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:86 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x199814f 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199814e github.com/mattermost/squirrel.SelectBuilder.From+0x14e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [39: 936] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1408] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 15360] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x1a01436 0x1a01407 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1a01435 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf5 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a01406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0xc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:154 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28caf6d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caf6c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x6cc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3764 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1309e53 0x1a06291 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1309e52 golang.org/x/sync/errgroup.(*Group).Go+0x52 golang.org/x/sync@v0.20.0/errgroup/errgroup.go:78 # 0x1a06290 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x370 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:427 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0333c 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0333b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:180 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 264] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a04c12 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a04c11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x851 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:309 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a03865 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x1a03864 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x444 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:208 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 5632] @ 0x48dd05 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xb5759d 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb5759c encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [36: 1728] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [135: 23760] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 3024] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x20e2033 0x20e2024 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x20e2032 time.After+0x172 time/sleep.go:203 # 0x20e2023 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x163 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:55 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 7584] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 1024] @ 0x48dd05 0x428505 0xca1645 0xca1638 0x2204e27 0x2204837 0x498001 # 0xca1644 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x24 github.com/mattermost/mattermost/server/public/model/websocket_message.go:303 # 0xca1637 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x17 github.com/mattermost/mattermost/server/public/model/websocket_message.go:247 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [102: 14688] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 672] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x24a3c32 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x24a3c31 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3038 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 16128] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x24adbe9 0x2766ce5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2766ce4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x584 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1395 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19ca95b 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19ca95a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0xfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:184 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 122880] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 1024000] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [18: 3744] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 192] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 6336] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x2724c7b 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e1065 0x19e0f9c 0x19e0dfe 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e1064 github.com/lann/builder.Append+0x4c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e0f9b github.com/mattermost/squirrel.InsertBuilder.Values+0x3fb github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19e0dfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:55 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x276eac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x276eac4 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1994 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x18df2af 0x18df22b 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18df2ae github.com/mattermost/squirrel.SelectBuilder.From+0x26e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18df22a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x183b33d 0x183b938 0x1955aa5 0x187252e 0x2196c94 0x21ccc50 0x25d44dc 0x25d44b4 0x127e758 0x12c73f5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x183b33c github.com/mattermost/squirrel.(*deleteData).ToSql+0x5dc github.com/mattermost/squirrel@v0.5.0/delete.go:105 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x1955aa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Delete+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:238 # 0x187252d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Delete+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8172 # 0x2196c93 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Delete+0x73 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6552 # 0x21ccc4f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).DeletePluginKey+0x48f github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster.go:253 # 0x25d44db 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 # 0x25d44b3 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVDelete+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1097 # 0x127e757 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVDelete+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1026 # 0x12c73f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVDelete+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6191 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 160] @ 0x48dd2c 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1248] @ 0x48dd05 0x48defe 0x48df93 0x412296 0x41228c 0x48e488 0x661cfb 0x661ce8 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0x661cfa maps.Clone[...]+0x13da maps/maps.go:55 # 0x661ce7 crypto/x509.policiesValid+0x13c7 crypto/x509/verify.go:1374 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 1024] @ 0x48dd2c 0x492ae9 0x296ae8e 0x296ae7b 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296ae8d crypto/internal/fips140/bigmod.NewNat+0x2d crypto/internal/fips140/bigmod/nat.go:72 # 0x296ae7a crypto/internal/fips140/bigmod.rr+0x1a crypto/internal/fips140/bigmod/nat.go:482 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x299bb98 0x299ba09 0x6b7731 0x6b76f7 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299bb97 crypto/internal/fips140/tls13.ExpandLabel[...]+0xd7 crypto/internal/fips140/tls13/tls13.go:32 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b7730 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x250 crypto/internal/fips140/tls13/tls13.go:137 # 0x6b76f6 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x216 crypto/tls/handshake_client_tls13.go:713 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 1760] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x797525 0x797578 0x7974bd 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x797524 net/textproto.MIMEHeader.Set+0x384 net/textproto/header.go:22 # 0x797577 net/http.Header.Set+0x3d7 net/http/header.go:40 # 0x7974bc net/http.(*persistConn).roundTrip+0x31c net/http/transport.go:2858 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [84: 12096] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191a2c7 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191a2c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x466 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:70 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a38fae 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a38fad 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28cdcac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cdcab github.com/mattermost/mattermost/server/v8/channels/api4.followThreadByUser+0x5eb github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3918 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x299bb98 0x299ba09 0x6b6005 0x6b5fb4 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299bb97 crypto/internal/fips140/tls13.ExpandLabel[...]+0xd7 crypto/internal/fips140/tls13/tls13.go:32 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b6004 crypto/internal/fips140/tls13.(*HandshakeSecret).ClientHandshakeTrafficSecret+0x184 crypto/internal/fips140/tls13/tls13.go:106 # 0x6b5fb3 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x133 crypto/tls/handshake_client_tls13.go:492 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 96] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 2448] @ 0x48dd05 0x428505 0x25d46f5 0x25d4603 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x25d46f4 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x134 github.com/mattermost/mattermost/server/public/model/websocket_message.go:293 # 0x25d4602 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x42 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1109 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 4576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0xb57892 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0xb57891 encoding/gob.(*Decoder).decodeMap+0x411 encoding/gob/decode.go:608 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [81: 9072] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x19c9948 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x19c9947 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2739085 0x2739017 0x2738ff9 0x2738b32 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2739084 net/textproto.MIMEHeader.Set+0x104 net/textproto/header.go:22 # 0x2739016 net/http.Header.Set+0x96 net/http/header.go:40 # 0x2738ff8 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x78 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:72 # 0x2738b31 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0xc61d7c 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d7b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:94 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0xb87e37 0xb90c75 0xb8df4c 0x2622285 0x2622785 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87e36 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x9f6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:115 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x2622784 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0xe4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:815 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1040] @ 0x48dd05 0x428505 0xca1748 0x2204e27 0x2204837 0x498001 # 0xca1747 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:251 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [5: 1040] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18df61d 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df61c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x5dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2211 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 768] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [397: 228672] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19668fd 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19668fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x6dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:643 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [232: 74240] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 288] @ 0x48dd2c 0x4752f7 0x184af7f 0x184ad99 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184af7e bytes.(*Buffer).String+0xabe bytes/buffer.go:77 # 0x184ad98 github.com/mattermost/squirrel.(*updateData).ToSql+0x8d8 github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 7168] @ 0x48dd0c 0x492ae9 0x85d61b 0x85ce87 0x25d4c48 0x127ef22 0x128d348 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85ce86 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x25d4c47 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1140 # 0x127ef21 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1081 # 0x128d347 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1016 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [80: 33280] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a087be 0x1a08773 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a087bd github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8fd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a08772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x8b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:583 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 5760] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [18: 2304] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ed947 0x18873fa 0x21af1da 0x268baf1 0x268bad8 0x2606ff0 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ed946 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.Get+0xa6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:335 # 0x18873f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14052 # 0x21af1d9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11108 # 0x268baf0 github.com/mattermost/mattermost/server/v8/channels/app/teams.(*TeamService).GetTeam+0x30 github.com/mattermost/mattermost/server/v8/channels/app/teams/teams.go:29 # 0x268bad7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeam+0x17 github.com/mattermost/mattermost/server/v8/channels/app/team.go:874 # 0x2606fef github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x32f github.com/mattermost/mattermost/server/v8/channels/app/post.go:2427 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x428505 0x18e9e7a 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e9e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x319 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3075 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1152] @ 0x48dd05 0x428505 0x859285 0x855c55 0x85d170 0x25d4e28 0x127f222 0x128db08 0x51716c 0x516019 0xb75014 0x498001 # 0x859284 github.com/mattermost/logr/v2.NewLogRec+0x84 github.com/mattermost/logr/v2@v2.0.22/logrec.go:39 # 0x855c54 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x85d16f github.com/mattermost/logr/v2.Sugar.Warnw+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:148 # 0x25d4e27 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogWarn+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1152 # 0x127f221 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogWarn+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1099 # 0x128db07 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogWarn+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1070 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 2592] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a02da8 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02da7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:142 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x18d748c 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d748b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x54b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1612 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 5632] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x660ff7 0x6610bb 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x660ff6 crypto/x509.(*policyGraph).incrDepth+0x6d6 crypto/x509/verify.go:1169 # 0x6610ba crypto/x509.policiesValid+0x79a crypto/x509/verify.go:1233 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [6: 2304] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 26112] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 512] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979dfb 0x299af5a 0x299be65 0x6df8ed 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [8: 3584] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [6: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x1a02a17 0x1a029f1 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a02a16 github.com/mattermost/squirrel.StatementBuilderType.Select+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a029f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:127 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 3168] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x299af5a 0x299be65 0x299ba09 0x299b525 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b524 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6b942a 0x6b92ef 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6b9429 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x3e9 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b92ee crypto/tls.(*clientHelloMsg).marshalMsg+0x2ae crypto/tls/handshake_messages.go:121 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [10: 5120] @ 0x48dd05 0x428505 0x286e795 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x286e794 github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xa94 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:717 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 19200] @ 0x48dd2c 0x4752f7 0x695266 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695265 crypto/tls.(*weakCertCache).newCert+0x45 crypto/tls/cache.go:20 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 48] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196729b 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196729a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x107a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:700 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 2048] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 64] @ 0x48dd05 0x428505 0x1902cff 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902cfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5e30 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5e2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x46f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:152 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x54dd73 0x54db31 0x55a790 0xca243b 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xca243a github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0xba github.com/mattermost/mattermost/server/public/model/websocket_message.go:387 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [6: 768] @ 0x48dd2c 0x492ae9 0x2979ece 0x297985d 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x297985c crypto/internal/fips140/ecdsa.newDRBG[...]+0x33c crypto/internal/fips140/ecdsa/hmacdrbg.go:89 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18df22a 0x18df215 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18df229 github.com/mattermost/squirrel.StatementBuilderType.Select+0x1e9 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18df214 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2146 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0x795305 0x498001 # 0x795304 net/http.(*persistConn).readLoop+0x484 net/http/transport.go:2410 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a0364b 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1a0364a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x22a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x4246eb 0x18e5b65 0x18e5c8c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e5b64 github.com/mattermost/squirrel.Expr+0x904 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x18e5c8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xa2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2772 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 3072] @ 0x48dd0c 0x493087 0x6598ee 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6598ed crypto/x509.parseCertificate+0x11ad crypto/x509/parser.go:1052 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2601ee7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2601ee6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x286 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1836 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x492ae9 0x296a2cd 0x2974a29 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x2974a28 crypto/internal/fips140/ecdsa.randomPoint[...]+0x308 crypto/internal/fips140/ecdsa/ecdsa.go:257 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x1841749 0x1841335 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1841748 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x208 github.com/mattermost/squirrel@v0.5.0/insert.go:126 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 14336] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [13: 63232] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 672] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18412b2 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18412b1 github.com/mattermost/squirrel.(*insertData).ToSql+0x271 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1962a77 0x196295a 0x19629bb 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1962a76 github.com/lann/builder.Append+0x1c76 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1962959 github.com/mattermost/squirrel.InsertBuilder.Values+0x1b59 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19629ba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1bba github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:258 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 7040] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1056] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1974c1f 0x1974b87 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1974c1e github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x65e github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1974b86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1837 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x286ad58 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x286ad57 github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x1f7 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:504 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5bdaae 0x659859 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5bdaad encoding/asn1.ObjectIdentifier.String+0x4d encoding/asn1/asn1.go:234 # 0x659858 crypto/x509.parseCertificate+0x1118 crypto/x509/parser.go:1047 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fc59 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fc58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x358 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1974ac5 0x1974a66 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1974ac4 github.com/mattermost/squirrel.SelectBuilder.From+0x504 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1974a65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x4a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1835 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 7488] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [9: 1008] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1920fe5 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1920fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 4032] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd25 0x4752f7 0xc97b89 0xc97b8a 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc97b88 github.com/tinylib/msgp/msgp.ReadStringBytes+0xb08 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97b89 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb09 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:620 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 5376] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 778240] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x428505 0x1a19285 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a19284 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:267 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199ac36 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ac35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63b077 0x223c02f 0x223c018 0x223d4d3 0x225c134 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63b076 net/url.unescape+0x2d6 net/url/url.go:166 # 0x223c02e net/url.PathUnescape+0x9ae net/url/url.go:100 # 0x223c017 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x997 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:327 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1114112] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x2571039 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2571038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2ef8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:353 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 2304] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd25 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d64d 0xb731a5 0xb72511 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d64c encoding/gob.(*Decoder).Decode+0xec encoding/gob/decoder.go:197 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc97d65 0xc97d66 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x26c0650 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97d64 github.com/tinylib/msgp/msgp.ReadStringBytes+0xce4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97d65 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xce5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x26c064f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x6f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3127 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0xc63d9e 0xc55811 0x281beaf 0x281beaa 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc63d9d github.com/mattermost/mattermost/server/public/model.(*PostMetadata).Auditable+0x51d github.com/mattermost/mattermost/server/public/model/post_metadata.go:73 # 0xc55810 github.com/mattermost/mattermost/server/public/model.(*Post).Auditable+0x30 github.com/mattermost/mattermost/server/public/model/post.go:165 # 0x281beae github.com/mattermost/mattermost/server/public/model.(*AuditRecord).AddEventResultState+0x78e github.com/mattermost/mattermost/server/public/model/audit_record.go:121 # 0x281bea9 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x789 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:136 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80b825 0x13a6e59 0x13a55c9 0x19e00bb 0x19e0073 0x19e0345 0x1984132 0x1962b47 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80b824 database/sql.(*Tx).QueryContext+0xc4 database/sql/sql.go:2535 # 0x13a6e58 github.com/jmoiron/sqlx.(*Tx).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:329 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19e00ba github.com/jmoiron/sqlx.(*Tx).SelectContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:339 # 0x19e0072 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Select+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:525 # 0x19e0344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).SelectBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:534 # 0x1984131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).updateThreadsFromPosts+0x751 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3104 # 0x1962b46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1d46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:265 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x55aba5 0x548a6e 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55aba4 encoding/json.(*RawMessage).UnmarshalJSON+0x64 encoding/json/stream.go:276 # 0x548a6d encoding/json.(*decodeState).object+0x68d encoding/json/decode.go:610 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 6784] @ 0x48dd2c 0x492ae9 0x1331cd3 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1331cd2 image/png.(*decoder).readImagePass+0x972 image/png/reader.go:506 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd2c 0x492ae9 0x4cf2a5 0x1306e45 0x246c130 0x246b1f8 0x27475e6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cf2a4 io.ReadAll+0x44 io/io.go:712 # 0x1306e44 github.com/mattermost/mattermost-plugin-ai/public/bridgeclient.(*Client).GetAgents+0x444 github.com/mattermost/mattermost-plugin-ai@v1.14.0/public/bridgeclient/discovery.go:35 # 0x246c12f github.com/mattermost/mattermost/server/v8/channels/app.(*liveAgentsBridge).GetAgents+0x20f github.com/mattermost/mattermost/server/v8/channels/app/agents_bridge.go:70 # 0x246b1f7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAgents+0x97 github.com/mattermost/mattermost/server/v8/channels/app/agents.go:41 # 0x27475e5 github.com/mattermost/mattermost/server/v8/channels/api4.getAgents+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/agents.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [3: 540672] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [3: 688128] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 6258688] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x281d669 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d668 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:251 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [24: 24576] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [25: 800] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc406cb 0xc406c2 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc406ca os.Open+0x3ea os/file.go:390 # 0xc406c1 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3e1 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x18d1b25 0x18d1ac6 0x18d1ad4 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18d1b24 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x18d1ac5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x18d1ad3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1221 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 229376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a06e13 0x1a06dcb 0x1309f10 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06e12 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 176] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 168] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x547d37 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x547d36 encoding/json.(*decodeState).array+0x56 encoding/json/decode.go:509 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a06a53 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 2560] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1440] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd05 0x492ae9 0x21f0abc 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0abb github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 3744] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [8: 1920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [28: 224] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 192] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 256] @ 0x48dd05 0x428505 0xc9d0e9 0x28580ab 0x2858b45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9d0e8 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x28580aa github.com/mattermost/mattermost/server/v8/channels/api4.requireScheduledPostsEnabled+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:68 # 0x2858b44 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamScheduledPosts+0x44 github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:123 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3584] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x2595bef 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x2595bee github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x66e github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:516 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 2112] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x193a419 0x19391d4 0x186ba73 0x218f4ad 0x2588a9b 0x2607014 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x193a418 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x12d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19391d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlGroupStore).GetGroups+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/group_store.go:1650 # 0x186ba72 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerGroupStore).GetGroups+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:6387 # 0x218f4ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerGroupStore).GetGroups+0xec github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5192 # 0x2588a9a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getGroupsAllowedForReferenceInChannel+0x35a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1538 # 0x2607013 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x353 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2433 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19035d6 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19035d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 32768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 5376] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7b80be 0x7b80d7 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b80bd regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7b80d6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce937 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce936 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:965 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0x24ee291 0x27bc0bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0x24ee290 github.com/mattermost/mattermost/server/v8/channels/app.RequestContextWithCallerID+0x90 github.com/mattermost/mattermost/server/v8/channels/app/context.go:21 # 0x27bc0bc github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x18476bc 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [14: 336] @ 0x48dd2c 0x4752f7 0x54c6e7 0x54c6d0 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 168] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 416] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 16128] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x492ae9 0x184be65 0x19e24b7 0x19e2491 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184be64 github.com/mattermost/squirrel.UpdateBuilder.Table+0x44 github.com/mattermost/squirrel@v0.5.0/update.go:222 # 0x19e24b6 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x19e2490 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:137 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [15: 10560] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x1960ba5 0x1a046ba 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x1960ba4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceCoalesceQuery+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:142 # 0x1a046b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x2f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:289 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [61: 2928] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19e1185 0x19e10db 0x19e10da 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e1184 github.com/lann/builder.Append+0x5e4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e10da github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x53a github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19e10d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x539 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:57 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299af5a 0x299be65 0x299ba09 0x6b7731 0x6b76f7 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b7730 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x250 crypto/internal/fips140/tls13/tls13.go:137 # 0x6b76f6 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x216 crypto/tls/handshake_client_tls13.go:713 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 880] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a297fa 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a297f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x6f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1467 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x1947949 0x19478d5 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1947948 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19478d4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [43: 27520] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x27d8a65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27d8a64 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f495 0x27d9393 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f494 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x314 github.com/mattermost/mattermost/server/v8/channels/web/context.go:78 # 0x27d9392 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa92 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:694 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 14592] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a2bfc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a2bfb github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 32] @ 0x48dd05 0x48de45 0x52451b 0x521494 0xbee9a8 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52451a reflect.cvtDirect+0x5a reflect/value.go:3662 # 0x521493 reflect.Value.Convert+0xb3 reflect/value.go:3229 # 0xbee9a7 github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xa7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:89 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2833045 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2833044 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x1e4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:99 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 20480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1344] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x797525 0x797578 0x7974bd 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x797524 net/textproto.MIMEHeader.Set+0x384 net/textproto/header.go:22 # 0x797577 net/http.Header.Set+0x3d7 net/http/header.go:40 # 0x7974bc net/http.(*persistConn).roundTrip+0x31c net/http/transport.go:2858 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 1584] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [53: 16960] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [106: 15264] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 528] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726cdd 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726cdc github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x20bc github.com/mattermost/mattermost/server/v8/channels/web/params.go:300 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x272639e 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x272639d github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x177d github.com/mattermost/mattermost/server/v8/channels/web/params.go:240 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [123: 21648] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 448] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x184ab46 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 384] @ 0x48dd05 0x428505 0xb576a8 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb576a7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [78: 1248] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x63f19d 0x63f144 0x63f733 0x63f5df 0x262525c 0x2623195 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f19c strings.(*Builder).WriteString+0x35c strings/builder.go:114 # 0x63f143 net/url.resolvePath+0x303 net/url/url.go:1072 # 0x63f732 net/url.(*URL).ResolveReference+0x112 net/url/url.go:1121 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [17: 408] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xb561a5 0xb57403 0xb577fd 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb577fc encoding/gob.(*Decoder).decodeMap+0x37c encoding/gob/decode.go:606 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [25: 1600] @ 0x48dd05 0x428505 0x21fb985 0x21fb974 0x21fb960 0x21fadd7 0x4a3a6a 0x498001 # 0x21fb984 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x3a4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:303 # 0x21fb973 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).SetSequence+0x393 github.com/mattermost/mattermost/server/public/model/websocket_message.go:355 # 0x21fb95f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x37f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:584 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 24] @ 0x48dd05 0x428505 0xb87489 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87488 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x48 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:51 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x55a2ec 0x559f35 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 1488] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x19f1d8e 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 54528] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 1105920] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [197: 56736] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x27da865 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x27da864 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:779 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 98304] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [4: 196608] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 2048] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2908160] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 72] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [215: 61920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 704] @ 0x48dd05 0x428505 0x25d4788 0x25d477c 0x25d477b 0x127e9d2 0x12c7f04 0x51716c 0x516019 0xb75014 0x498001 # 0x25d4787 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Copy+0x1c7 github.com/mattermost/mattermost/server/public/model/websocket_message.go:303 # 0x25d477b github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).SetData+0x1bb github.com/mattermost/mattermost/server/public/model/websocket_message.go:343 # 0x25d477a github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).PublishWebSocketEvent+0x1ba github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1110 # 0x127e9d1 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).PublishWebSocketEvent+0x71 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1047 # 0x12c7f03 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).PublishWebSocketEvent+0xa3 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6277 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [142: 24992] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x48de45 0x51c8ba 0x50adae 0x55127d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xca172d 0x2204e27 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca172c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:250 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [124: 21824] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [89: 9968] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1da9 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 2016] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 81920] @ 0x48dd33 0x492ae9 0x8f90fb 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8f90fa github.com/mattermost/go-i18n/i18n/bundle.parseStandardFormat+0x3a github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:171 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [6: 4608] @ 0x48dd0c 0x493087 0x471429 0x18c61fa 0x18d0f05 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c61f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x839 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18d0f04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2912] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1408] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x7744cf 0x77930d 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x7744ce net/http.putBufioReader+0x12e net/http/server.go:870 # 0x77930c net/http.(*conn).finalFlush+0x2c net/http/server.go:1740 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [109: 17440] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [24: 1152] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 7168] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [7: 168] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [6: 48] @ 0x48dd05 0x492ae9 0x19c9b8a 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c9b89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.Get+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:117 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 416] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1040] @ 0x48dd2c 0x4752f7 0x225c12f 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c12e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x2e github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 245760] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x28ab07b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28ab07a github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x33da github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1134 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a1f05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a1f04 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:304 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9627 0x28a9cee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9626 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RestrictUsersGetByPermissions+0x26 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2543 # 0x28a9ced github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x204d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1110 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 3840] @ 0x48dd05 0x428505 0x276eb65 0x276eace 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x276eb64 encoding/json.NewDecoder+0x224 encoding/json/stream.go:34 # 0x276eacd github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x18d github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1995 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 3072] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [1: 901120] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a039bd 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1a039bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x59c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:216 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 896] @ 0x48dd2c 0x428505 0x5bc91a 0x5bc930 0x2979dfb 0x29796a9 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5bc919 crypto/internal/fips140/sha512.New+0x19 crypto/internal/fips140/sha512/sha512.go:205 # 0x5bc92f crypto/sha512.New+0x2f crypto/sha512/sha512.go:53 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x29796a8 crypto/internal/fips140/ecdsa.newDRBG[...]+0x188 crypto/internal/fips140/ecdsa/hmacdrbg.go:71 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 1408] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x281c025 0x281bfe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x281c024 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0x904 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x281bfe4 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x8c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:148 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18e2272 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e2271 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [3: 26959872] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 11476992] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 14655488] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x493412 0x53e105 0x53e1f0 0x543e45 0x183f327 0x183f2e1 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x543e44 strings.Repeat+0x2e4 strings/strings.go:677 # 0x183f326 github.com/mattermost/squirrel.Placeholders+0xe46 github.com/mattermost/squirrel@v0.5.0/placeholder.go:85 # 0x183f2e0 github.com/mattermost/squirrel.Eq.toSQL+0xe00 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x126e68f 0x25ddec2 0x12e1cc5 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x25ddec1 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsClose+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:307 # 0x12e1cc4 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsClose+0x24 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:344 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 416] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2304] @ 0x48dd0c 0x493087 0x471429 0x18c61fa 0x18d703a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x18c61f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x839 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18d7039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6d64 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6d63 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 139264] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 909312] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2724c7b 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [14: 224] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x18d0f25 0x18d0ecd 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18d0f24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d0ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x19e0c9e 0x19e0c57 0x19e0c56 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19e0c9d github.com/mattermost/squirrel.InsertBuilder.Into+0xfd github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19e0c56 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19e0c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:53 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [7: 16128] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 139264] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 12288] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 114688] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [5: 2170880] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 90112] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 5898240] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 960] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [13: 208] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd05 0x428505 0xb5992c 0xb598e1 0xb598e0 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5992b errors.New+0x9eb errors/errors.go:65 # 0xb598e0 encoding/gob.overflow+0x9a0 encoding/gob/decode.go:109 # 0xb598df encoding/gob.(*Decoder).decOpFor+0x99f encoding/gob/decode.go:867 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [11: 5632] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1974cdb 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601733 0x281f3dd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601732 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNextPostIdFromPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1745 # 0x281f3dc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x85c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:416 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 8448] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cac7d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cac7c github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x3dc github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3743 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2080] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 3584] @ 0x48dd05 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1280] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 96] @ 0x48dd05 0x428505 0xbed22a 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x1846885 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 192] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x287256e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x287256d github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0xcd github.com/mattermost/mattermost/server/v8/channels/api4/system.go:986 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2816] @ 0x48dd05 0x428505 0xc61565 0xc61514 0x261f86a 0x281f491 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61564 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x104 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc61513 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xb3 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281f490 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x910 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:418 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a26725 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a26724 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1212 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x191fbd7 0x191fb95 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fbd6 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2d6 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x191fb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x196e5ae 0x196e58a 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e5ad github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x44d github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196e589 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1339 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 11520] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x2620c65 0x261e377 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x2620c64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x8a4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:661 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0x220bfb3 0x25adb94 0x262420b 0x26234f4 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x220bfb2 github.com/mattermost/mattermost/server/v8/channels/app/oembed.ResponseFromJSON+0x72 github.com/mattermost/mattermost/server/v8/channels/app/oembed/oembed.go:42 # 0x25adb93 github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphFromOEmbed+0x93 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:165 # 0x262420a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromOEmbed+0x5aa github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1016 # 0x26234f3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x3f3 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:930 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 25344] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x89b965 0x89b922 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x89b964 text/template.builtins+0x144 text/template/funcs.go:40 # 0x89b921 text/template.(*Template).Parse+0x101 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [2: 352] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 5120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x196e86c 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196e86b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x70b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1344 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 480] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x184bfac 0x1a0aa75 0x1a0aa46 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x1a0aa74 github.com/mattermost/squirrel.StatementBuilderType.Update+0xf4 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x1a0aa45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:687 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x428505 0x257478a 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2574789 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x6649 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:521 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x428505 0x19601be 0x1960813 0x1962885 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x1960812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:106 # 0x1962884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:256 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1040] @ 0x48dd05 0x428505 0x4edac8 0x4ed72c 0x60c6a5 0x60303a 0x603022 0x602d7b 0x621627 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x4edac7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x60c6a4 net.(*resolverConfig).tryUpdate+0x184 net/dnsclient_unix.go:416 # 0x603039 net.getSystemDNSConfig+0x199 net/dnsclient_unix.go:369 # 0x603021 net.(*conf).lookupOrder+0x181 net/conf.go:285 # 0x602d7a net.(*conf).hostLookupOrder+0x7a net/conf.go:238 # 0x621626 net.(*Resolver).lookupIP+0xa6 net/lookup_unix.go:62 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [15: 10560] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 5632] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846fab 0x19f1e15 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0x299be29 0x299ba09 0x6b7731 0x6b76f7 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299be28 crypto/internal/fips140/tls13.ExpandLabel[...]+0x368 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b7730 crypto/internal/fips140/tls13.(*MasterSecret).ServerApplicationTrafficSecret+0x250 crypto/internal/fips140/tls13/tls13.go:137 # 0x6b76f6 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x216 crypto/tls/handshake_client_tls13.go:713 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1990af5 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990af4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x674 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x299af5a 0x299be65 0x299ba09 0x299b3fa 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b3f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 512] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299af5a 0x299be65 0x299ba09 0x299b3fa 0x6b5fab 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b3f9 crypto/internal/fips140/tls13.(*EarlySecret).HandshakeSecret+0x59 crypto/internal/fips140/tls13/tls13.go:96 # 0x6b5faa crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x12a crypto/tls/handshake_client_tls13.go:490 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd05 0x493087 0x12636d2 0x1261eb6 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x12636d1 github.com/lib/pq.(*Config).setFromTag+0x11f1 github.com/lib/pq@v1.12.3/connector.go:853 # 0x1261eb5 github.com/lib/pq.(*Config).fromDSN+0x7d5 github.com/lib/pq@v1.12.3/connector.go:793 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 160] @ 0x48dd05 0x493087 0x2269e7d 0x226c25f 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2269e7c github.com/getsentry/sentry-go.(*spanRecorder).record+0x11c github.com/getsentry/sentry-go@v0.46.2/span_recorder.go:36 # 0x226c25e github.com/getsentry/sentry-go.StartSpan+0x3de github.com/getsentry/sentry-go@v0.46.2/tracing.go:205 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 864] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 240] @ 0x48dd05 0x428505 0x548cb9 0x54763e 0x546e9e 0x55a01f 0x276ebab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x548cb8 encoding/json.(*decodeState).object+0x8d8 encoding/json/decode.go:707 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x276ebaa github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x26a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1995 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 288] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a080fe 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a080fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x23d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:559 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 8448] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5c13 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5c12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x252 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:145 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a085c9 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a085c8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x708 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:578 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02eed 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02eec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x5ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:149 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 5760] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 9216] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x212845a 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2128459 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x739 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3072] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 48640] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd2c 0x41d5e6 0x2520411 0x27d8e25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2520410 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RunFileWillBeDownloadedHook+0xd0 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1984 # 0x27d8e24 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x524 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:670 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb8d626 0xb8e08a 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d625 github.com/mattermost/mattermost/server/public/shared/markdown.MergeInlineText+0x225 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:641 # 0xb8e089 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc9 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 3360] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x6f20c7 0x6f1ed7 0x71ed28 0x75b61c 0x75afff 0x75aae8 0x759c12 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ed6 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:662 # 0x71ed27 net/http/internal/httpcommon.CanonicalHeader+0x87 net/http/internal/httpcommon/httpcommon.go:163 # 0x75b61b net/http.(*http2clientConnReadLoop).handleResponse+0x43b net/http/h2_bundle.go:9698 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [8: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a25d34 0x1a25cf5 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25d33 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x193 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27271b1 0x272be7b 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x272be7a github.com/mattermost/mattermost/server/v8/channels/web.root+0xafa github.com/mattermost/mattermost/server/v8/channels/web/static.go:123 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x428505 0xccb8ee 0xccb8e2 0x2716c7f 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccb8ed github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccb8e1 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithConnectionId+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:172 # 0x2716c7e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x59e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:195 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2016] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x1a08332 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x1a08331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x471 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [35: 1120] @ 0x48dd05 0x4246eb 0x12874cf 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12874ce github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2ee github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x18e2145 0x18e2128 0x18e2127 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2144 github.com/mattermost/squirrel.newPart+0x144 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x18e2127 github.com/mattermost/squirrel.SelectBuilder.From+0x127 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e2126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2448 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1040] @ 0x48dd2c 0x4930f3 0x54d4e5 0x1cd0905 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x1cd0904 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x64 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:88 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2114fef 0x2479d89 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2114fee github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:303 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5af7 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5af6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x136 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:141 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 2496] @ 0x48dd05 0x428505 0x1a08ed7 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08ed6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x1016 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:606 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 7680] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 256] @ 0x48dd05 0x428505 0xb8ab93 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8ab92 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x452 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 14592] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [31: 248] @ 0x48dd05 0x428505 0xb59006 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 48] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x1946ee5 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1946ee4 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x164 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 192] @ 0x48dd05 0x428505 0x728c2d 0x727a73 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x728c2c net/http.(*Client).makeHeadersCopier+0xac net/http/client.go:774 # 0x727a72 net/http.(*Client).do+0x232 net/http/client.go:614 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474b30 0x75b552 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b551 net/http.(*http2clientConnReadLoop).handleResponse+0x371 net/http/h2_bundle.go:9695 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [3: 3840] @ 0x48dd0c 0x428505 0x1b8e3a5 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 7680] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 432] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a25d96 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25d95 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x12507e5 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x12507e4 bufio.NewReaderSize+0x8a4 bufio/bufio.go:56 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 704] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 896] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x60ab1b 0x60aae6 0x60c005 0x60f66c 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x60ab1a context.WithDeadline+0x2fa context/context.go:626 # 0x60aae5 net.(*Resolver).exchange+0x2c5 net/dnsclient_unix.go:182 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1c1517c 0x26ff7bb 0x4a2651 0x26ff90a 0x2701bce 0x27013fe 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c1517b github.com/klauspost/compress/gzip.NewWriterLevel+0xbb github.com/klauspost/compress@v1.18.6/gzip/gzip.go:72 # 0x26ff7ba github.com/klauspost/compress/gzhttp/writer/gzkp.init.0.addLevelPool.func1+0x1a github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:41 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x26ff909 github.com/klauspost/compress/gzhttp/writer/gzkp.NewWriter+0x69 github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:61 # 0x2701bcd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).init+0x10d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:404 # 0x27013fd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x65d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:290 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0x6f20c7 0x6f1ef2 0x6ef888 0x2477789 0x2477770 0x2717c6f 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x6ef887 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x2477788 net/http.Header.Get+0x268 net/http/header.go:50 # 0x247776f github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x24f github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:478 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 24] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 768] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc406b1 0xc40672 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc406b0 path/filepath.Join+0x3d0 path/filepath/path.go:131 # 0xc40671 github.com/mattermost/mattermost/server/public/model.FindManifest+0x391 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 9216] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 14336] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0xb4fb7a 0x4a2651 0xb645c5 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb4fb79 encoding/gob.init.func1+0x19 encoding/gob/encode.go:44 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0xb645c4 encoding/gob.(*Encoder).encodeInterface+0x7e4 encoding/gob/encode.go:417 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [5: 800] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [10: 10240] @ 0x48dd2c 0x492ae9 0x296cab4 0x296b118 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296b117 crypto/internal/fips140/bigmod.rr+0x2b7 crypto/internal/fips140/bigmod/nat.go:518 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 2880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26d0f5e 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26d0f5d github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7d github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:795 0: 0 [7: 28672] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 8448] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 864] @ 0x48dd05 0x428505 0x196d586 0x196d55e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196d585 github.com/mattermost/mattermost/server/public/model.NewPostList+0x85 github.com/mattermost/mattermost/server/public/model/post_list.go:27 # 0x196d55d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1260 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7b999b 0x7b99b4 0x7ba466 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b999a regexp.newOnePassMachine+0x9a regexp/exec.go:384 # 0x7b99b3 regexp.(*Regexp).doOnePass+0xb3 regexp/exec.go:403 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x4246eb 0x190322a 0x19031ed 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903229 github.com/mattermost/squirrel.Expr+0x5a9 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x19031ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x56c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:425 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0x21f195d 0x21f1937 0x21f3516 0x21f9d85 0x21d4da2 0x498001 # 0x21f195c github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x5c github.com/mattermost/mattermost/server/public/model/websocket_message.go:290 # 0x21f1936 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:210 # 0x21f3515 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x995 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:351 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x18d1d05 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1d04 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x40d656 0x7ffd89 0x7ffd5b 0x7fecf9 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d655 internal/strconv.FormatInt+0xd5 internal/strconv/itoa.go:43 # 0x7ffd88 strconv.FormatInt+0x168 strconv/number.go:210 # 0x7ffd5a database/sql.asString+0x13a database/sql/convert.go:508 # 0x7fecf8 database/sql.convertAssignRows+0x1518 database/sql/convert.go:442 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 195840] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18d0f25 0x18d0ecd 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18d0f24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d0ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3520] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x7fc177 0x7fcea5 0x7fd37f 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fc176 database/sql/driver.defaultConverter.ConvertValue+0x4d6 database/sql/driver/types.go:292 # 0x7fcea4 database/sql.defaultCheckNamedValue+0x24 database/sql/convert.go:99 # 0x7fd37e database/sql.driverArgsConnLocked+0x47e database/sql/convert.go:179 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0xc8b358 0xc8b359 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b357 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b358 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1945978 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1945977 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x737 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:211 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 240] @ 0x48dd05 0x492ae9 0x542c16 0x271b291 0x28ebc33 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x271b290 github.com/mattermost/mattermost/server/v8/channels/web.GetOriginClient+0x30 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:470 # 0x28ebc32 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5f2 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x2726314 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x2726313 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x16f3 github.com/mattermost/mattermost/server/v8/channels/web/params.go:231 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4930f3 0x561feb 0x5504d3 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x561fea encoding/json.appendString[...]+0x7ca encoding/json/encode.go:1063 # 0x5504d2 encoding/json.stringEncoder+0x412 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 288] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 80] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x18d25d2 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d25d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x125eeee 0x125ee87 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125eeed github.com/lib/pq.Config.Clone+0xad github.com/lib/pq@v1.12.3/connector.go:517 # 0x125ee86 github.com/lib/pq.Config.hosts+0x46 github.com/lib/pq@v1.12.3/connector.go:530 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [6: 96] @ 0x48dd05 0x4246eb 0x18390f0 0x1a0718f 0x1a07106 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a0718e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07105 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:430 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x276067a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2760679 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:810 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x516687 0x516019 0x895c46 0x890fd8 0x88f83f 0x88e8ee 0x88e305 0x88c276 0x88c4b1 0x88bc7c 0x8aa545 0x8aa524 0x1397ad0 0x1397932 0x258fafe 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x516686 reflect.Value.call+0x426 reflect/value.go:448 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0x895c45 text/template.safeCall+0x85 text/template/funcs.go:366 # 0x890fd7 text/template.(*state).evalCall+0xa37 text/template/exec.go:870 # 0x88f83e text/template.(*state).evalFunction+0x1fe text/template/exec.go:676 # 0x88e8ed text/template.(*state).evalCommand+0x1cd text/template/exec.go:563 # 0x88e304 text/template.(*state).evalPipeline+0x124 text/template/exec.go:532 # 0x88c275 text/template.(*state).walk+0xd5 text/template/exec.go:267 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8aa544 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x8aa523 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1397acf github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:69 # 0x1397931 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:56 # 0x258fafd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xb1d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0x1a23217 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a23216 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:951 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 144] @ 0x48dd05 0x428505 0x125d4b5 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1944d12 0x1944c0f 0x1944bf6 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1944d11 github.com/lann/builder.Append+0x711 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1944c0e github.com/mattermost/squirrel.UpdateBuilder.Set+0x60e github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944bf5 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 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 576] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 4928] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 3360] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 262144] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x28a51f1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28a51f0 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x670 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:598 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 20480] @ 0x48dd2c 0x492ae9 0x6f2517 0x6f24d8 0x6f246d 0x113b125 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6f2516 bufio.NewWriterSize+0x1f6 bufio/bufio.go:599 # 0x6f24d7 bufio.NewWriter+0x1b7 bufio/bufio.go:608 # 0x6f246c net/textproto.NewConn+0x14c net/textproto/textproto.go:71 # 0x113b124 net/smtp.(*Client).StartTLS+0x164 net/smtp/smtp.go:163 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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 [13: 1456] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e2990 0x19e289e 0x19e289d 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e298f github.com/lann/builder.Append+0x5af github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e289d github.com/mattermost/squirrel.UpdateBuilder.Set+0x4bd github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e289c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:146 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1200] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x19de407 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1998178 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x177 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2816] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x4ab7b8 0x125ea28 0x125e9de 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4ab7b7 syscall.Environ+0xb7 syscall/env_unix.go:139 # 0x125ea27 os.Environ+0x67 os/env.go:140 # 0x125e9dd github.com/lib/pq.NewConfig+0x1d github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x1a07291 0x1309f10 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07290 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 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd0c 0x428505 0x125f9a7 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125f9a6 github.com/lib/pq.newConfig+0x86 github.com/lib/pq@v1.12.3/connector.go:545 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x6a47eb 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x6a47ea crypto/tls.(*Conn).handshakeContext+0x6a crypto/tls/conn.go:1527 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 336] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 3456] @ 0x48dd2c 0x492ae9 0xc968dd 0xc9689b 0x11347f5 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2128a85 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc968dc github.com/tinylib/msgp/msgp.Require+0x7c github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc9689a github.com/mattermost/mattermost/server/public/model.(*User).MarshalMsg+0x3a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:427 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2128a84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x224 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:248 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x428505 0x61dc4c 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x61dc4b net.(*Resolver).lookupIPAddr+0x28b net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 544] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184ce6c 0x184cd9b 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a22b95 0x1a22b4a 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a22b94 github.com/mattermost/squirrel.SelectBuilder.Join+0xf4 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a22b49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0xa9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:925 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 8064] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 352] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1344] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261e55 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1261e54 github.com/lib/pq.(*Config).fromDSN+0x774 github.com/lib/pq@v1.12.3/connector.go:790 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x125c732 0x1253585 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c731 github.com/lib/pq.parsePortalRowDescribe+0xb1 github.com/lib/pq@v1.12.3/conn.go:1791 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 624] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x271725b 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x271725a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb7a github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 408] @ 0x48dd05 0x41d56d 0x4bee48 0x99f4f7 0x99f4e3 0x99f6e5 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x99f4f6 time.After+0x176 time/sleep.go:203 # 0x99f4e2 github.com/hashicorp/yamux.(*Session).Ping+0x162 github.com/hashicorp/yamux@v0.1.2/session.go:349 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [16: 4608] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 2560] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [16: 768] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f495 0x283627d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f494 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x314 github.com/mattermost/mattermost/server/v8/channels/web/context.go:78 # 0x283627c github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x4fc github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:215 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19675d9 0x1967550 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19675d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x13b8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196754f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x132f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:718 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 10752] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 5888] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0x12685c5 0x12684c2 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12685c4 github.com/lib/pq.convertURL.func1+0x9a4 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x12684c1 github.com/lib/pq.convertURL+0x8a1 github.com/lib/pq@v1.12.3/connector.go:1152 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [7: 8064] @ 0x48dd2c 0x4752f7 0x695577 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695576 crypto/tls.(*weakCertCache).newCert+0x356 crypto/tls/cache.go:33 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [16: 256] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 114688] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1024] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x4d67f7 0x4d67f8 0x573885 0x573851 0x17d9e19 0x17d9d53 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4d67f6 internal/filepathlite.(*lazybuf).string+0x916 internal/filepathlite/path.go:61 # 0x4d67f7 internal/filepathlite.Clean+0x917 internal/filepathlite/path.go:137 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x17d9e18 path/filepath.Join+0xd8 path/filepath/path.go:131 # 0x17d9d52 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x12 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x184bfac 0x19e24b7 0x19e2491 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x184bfab github.com/mattermost/squirrel.UpdateBuilder.Table+0x18b github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x19e24b6 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x19e2490 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:137 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 5376] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184648c 0x18463bb 0x18464b0 0x19030a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184648b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x19030a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a06976 0x1a0692e 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06975 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 3840] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 52224] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 32640] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725a57 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725a56 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0xe36 github.com/mattermost/mattermost/server/v8/channels/web/params.go:193 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0xb645c5 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb645c4 encoding/gob.(*Encoder).encodeInterface+0x7e4 encoding/gob/encode.go:417 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [3: 624] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3072] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [9: 1152] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x184b9b4 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [22: 352] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x4246eb 0x18390f0 0x19ea85b 0x19ea817 0x19ea816 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x19ea85a github.com/mattermost/squirrel.InsertBuilder.Into+0xfa github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19ea816 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19ea815 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 8960] @ 0x48dd2c 0x428505 0x2943ad2 0x6e9c79 0x69bab6 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2943ad1 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x91 crypto/internal/fips140/aes/gcm/gcm_nonces.go:174 # 0x6e9c78 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:564 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [5: 240] @ 0x48dd05 0x493087 0x73e165 0x71cf6f 0x71c9c9 0x71c7d0 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73e164 net/http.(*http2Framer).readMetaFrame.func1+0x304 net/http/h2_bundle.go:3203 # 0x71cf6e vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x6e vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x71c9c8 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldIndexed+0x1c8 vendor/golang.org/x/net/http2/hpack/hpack.go:349 # 0x71c7cf vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xef vendor/golang.org/x/net/http2/hpack/hpack.go:311 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [4: 1024] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [7: 6272] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x41d56d 0x21f9634 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f9633 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x4f3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:255 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x492ae9 0x25c46c5 0x2817367 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25c46c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetActivePluginManifests+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:404 # 0x2817366 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x66 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:256 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13056] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 6656] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x196f9b4 0x196f95a 0x196f950 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196f9b3 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x333 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x196f959 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x196f94f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x2cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1419 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x196dbee 0x196da43 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196dbed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse.func1+0x6ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1298 # 0x196da42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1311 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xc92527 0xc92473 0x17ef010 0x17edc19 0x17edbe5 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc92526 github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0xc6 github.com/mattermost/mattermost/server/public/model/user.go:740 # 0xc92472 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:746 # 0x17ef00f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:45 # 0x17edc18 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x98 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x17edbe4 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x64 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:150 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0xc8b358 0xc8b359 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b357 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b358 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2128] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a06f1b 0x1a06e84 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a06f1a github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06e83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1536] @ 0x48dd2c 0x492ae9 0x125c767 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c766 github.com/lib/pq.parsePortalRowDescribe+0xe6 github.com/lib/pq@v1.12.3/conn.go:1793 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 288] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a29409 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [10: 480] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 72] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 240] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 4608] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19eb085 0x19eafb3 0x19eaf4c 0x1886826 0x21ae2dd 0x265664e 0x2664238 0x2664233 0xc7b03a 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19eb084 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x104 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19eafb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetWithContext+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:77 # 0x19eaf4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.Get+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:69 # 0x1886825 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).Get+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13794 # 0x21ae2dc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).Get+0x3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10901 # 0x265664d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).DoSecurityUpdateCheck+0x8d github.com/mattermost/mattermost/server/v8/channels/app/security_update_check.go:40 # 0x2664237 github.com/mattermost/mattermost/server/v8/channels/app.doSecurity+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1352 # 0x2664232 github.com/mattermost/mattermost/server/v8/channels/app.runSecurityJob.func1+0x12 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1281 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [25: 7200] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196fd3f 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x6be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5e7f 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5e7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:153 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x492ae9 0x673cbc 0xb834b7 0x1287b9d 0x498001 # 0x673cbb encoding/binary.Write+0x7b encoding/binary/binary.go:414 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 155648] @ 0x48dd33 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0xc8413d 0xc8413e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8413c github.com/tinylib/msgp/msgp.ReadStringBytes+0x33c github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8413d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x33d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1536] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd2c 0x492ae9 0x5a3bd9 0x5a3b5d 0x5cade5 0x5caddf 0x5cac1f 0x6537a9 0x659119 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5a3bd8 math/big.nat.make+0x98 math/big/nat.go:67 # 0x5a3b5c math/big.nat.setBytes+0x1c math/big/nat.go:1023 # 0x5cade4 math/big.(*Int).SetBytes+0x104 math/big/int.go:519 # 0x5cadde vendor/golang.org/x/crypto/cryptobyte.(*String).readASN1BigInt+0xfe vendor/golang.org/x/crypto/cryptobyte/asn1.go:330 # 0x5cac1e vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1Integer+0x3fe vendor/golang.org/x/crypto/cryptobyte/asn1.go:290 # 0x6537a8 crypto/x509.parsePublicKey+0x1e8 crypto/x509/parser.go:266 # 0x659118 crypto/x509.parseCertificate+0x9d8 crypto/x509/parser.go:1011 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [26: 7488] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 67108864] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 33554432] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16777216] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16777216] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8388608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4194304] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2097152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1572864] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1048576] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x4ce52c 0x4ce50b 0x6fd3cd 0x27d5a2c 0x27d5a02 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x6fd3cc mime/multipart.(*Reader).readForm+0x82c mime/multipart/formdata.go:171 # 0x27d5a2b mime/multipart.(*Reader).ReadForm+0x8b mime/multipart/formdata.go:33 # 0x27d5a01 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0x61 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:423 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845431 0x1844d18 0x184613f 0x19dbd10 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845430 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x6b0 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 155648] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 155648] @ 0x48dd33 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184ad06 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd25 0x48d69b 0x549f47 0x54c0aa 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549f46 encoding/json.(*decodeState).convertNumber+0xe6 encoding/json/decode.go:846 # 0x54c0a9 encoding/json.(*decodeState).literalStore+0x20e9 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x40dbaa 0x40d678 0x2625328 0x26252f3 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40dba9 internal/strconv.formatBits+0x209 internal/strconv/itoa.go:143 # 0x40d677 internal/strconv.FormatInt+0xf7 internal/strconv/itoa.go:45 # 0x2625327 strconv.FormatInt+0x67 strconv/number.go:210 # 0x26252f2 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x32 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 180224] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 5939200] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d671a 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d6719 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xd79 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:493 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x4cfc69 0x4cfb50 0x4ce77d 0x17dab3d 0x17dab16 0x17da9eb 0x250a5e9 0x250a546 0x250a547 0x2510cf7 0x27d671a 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4cfc68 io.(*multiReader).writeToWithBuffer+0xe8 io/multi.go:54 # 0x4cfb4f io.(*multiReader).WriteTo+0x4f io/multi.go:45 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x17dab3c io.Copy+0xfc io/io.go:388 # 0x17dab15 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x17da9ea github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x250a5e8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:257 # 0x250a545 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:265 # 0x250a546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:253 # 0x2510cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x776 github.com/mattermost/mattermost/server/v8/channels/app/file.go:824 # 0x27d6719 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xd79 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:493 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 6291456] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x2510048 0x2510030 0x2510bba 0x27d671a 0x27d551a 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x2510047 bytes.(*Buffer).Grow+0xe7 bytes/buffer.go:186 # 0x251002f github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).init+0xcf github.com/mattermost/mattermost/server/v8/channels/app/file.go:757 # 0x2510bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x639 github.com/mattermost/mattermost/server/v8/channels/app/file.go:814 # 0x27d6719 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipartLegacy+0xd79 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:493 # 0x27d5519 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x1f59 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:317 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x191fc59 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191fc58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x358 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 4992] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0xbda3df 0xbd9bac 0xbdc6c9 0xbdcbed 0x21fafc5 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbda3de github.com/gorilla/websocket.(*Conn).WriteControl+0xbe github.com/gorilla/websocket@v1.5.3/conn.go:427 # 0xbd9bab github.com/gorilla/websocket.newConn.(*Conn).SetCloseHandler.func1+0x6b github.com/gorilla/websocket@v1.5.3/conn.go:1139 # 0xbdc6c8 github.com/gorilla/websocket.(*Conn).advanceFrame+0x9e8 github.com/gorilla/websocket@v1.5.3/conn.go:970 # 0xbdcbec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x21fafc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:464 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2739085 0x2739017 0x2738ff9 0x2738b32 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2739084 net/textproto.MIMEHeader.Set+0x104 net/textproto/header.go:22 # 0x2739016 net/http.Header.Set+0x96 net/http/header.go:40 # 0x2738ff8 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x78 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:72 # 0x2738b31 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0xbf00cf 0xbf00b4 0xbef46e 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf00ce github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x6e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf00b3 github.com/vmihailenco/msgpack/v5.(*Encoder).write2+0x53 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:179 # 0xbef46d github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:187 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x493087 0x19049f3 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19049f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x7d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:528 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 98304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551365 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551364 encoding/json.mapEncoder.encode+0x484 encoding/json/encode.go:802 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x22067f0 0x220694e 0x2205131 0x2204837 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x22067ef 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:759 # 0x220694d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6d maps/iter.go:28 # 0x2205130 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8d0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 11520] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1664] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [47: 24064] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 672] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0x6170d8 0x6292f1 0x6292d2 0x77985b 0x498001 # 0x6170d7 net.IP.String+0xf7 net/ip.go:315 # 0x6292f0 net.ipEmptyString+0x50 net/ip.go:332 # 0x6292d1 net.(*TCPAddr).String+0x31 net/tcpsock.go:48 # 0x77985a net/http.(*conn).serve+0x5a net/http/server.go:1899 0: 0 [5: 120] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 1248] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x660aca 0x660960 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x660ac9 crypto/x509.newPolicyGraph+0x1a9 crypto/x509/verify.go:1081 # 0x66095f crypto/x509.policiesValid+0x3f crypto/x509/verify.go:1195 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 1024] @ 0x48dd2c 0x492ae9 0x296a2cd 0x2990b05 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x2990b04 crypto/internal/fips140/rsa.encrypt+0x124 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x56ee7b 0x56fc78 0x605fc5 0x605f98 0x60575b 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x56ee7a context.(*cancelCtx).propagateCancel+0x7a context/context.go:478 # 0x56fc77 context.WithDeadlineCause+0x137 context/context.go:643 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x190446d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190446c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x24c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:502 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 320] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [17: 272] @ 0x48dd2c 0x428505 0xbd7991 0xbd7934 0xc9d313 0xc9d330 0x27168e5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd7990 github.com/google/uuid.NewRandomFromReader+0x30 github.com/google/uuid@v1.6.0/version4.go:48 # 0xbd7933 github.com/google/uuid.NewRandom+0x53 github.com/google/uuid@v1.6.0/version4.go:41 # 0xc9d312 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc9d32f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x27168e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 456] @ 0x48dd05 0x428505 0x4ce4d8 0x4ce4cc 0x7785a5 0x772757 0x57cf32 0x779065 0x779e95 0x498001 # 0x4ce4d7 io.LimitReader+0x37 io/io.go:461 # 0x4ce4cb io.CopyN+0x2b io/io.go:364 # 0x7785a4 net/http.(*chunkWriter).writeHeader+0x1ca4 net/http/server.go:1418 # 0x772756 net/http.(*chunkWriter).Write+0x36 net/http/server.go:378 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x779064 net/http.(*response).finishRequest+0x44 net/http/server.go:1671 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [4: 128] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x4246eb 0x8078a5 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x8078a4 database/sql.(*DB).execDC+0x4c4 database/sql/sql.go:1719 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [5: 40] @ 0x48dd05 0x428505 0x21f1e89 0x21f1f6e 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x21f1e88 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x28 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:227 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 26752] @ 0x48dd2c 0x4930f3 0x6bde95 0x6bde65 0x6bdd77 0x5ccbc4 0x5cd01c 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bde94 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bde64 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bdd76 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 64] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2594125 0x2594edf 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a06913 0x1a068cb 0x1309f10 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06912 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [23: 1104] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2736177 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2736176 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0x16 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:17 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 608] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474c05 0x1267eb8 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1267eb7 github.com/lib/pq.convertURL.func1+0x297 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 4032] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x198986f 0x198979a 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x198986e github.com/mattermost/squirrel.InsertBuilder.Columns+0x20e github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1989799 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x139 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:98 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [34: 5984] @ 0x48dd2c 0x4752f7 0x54c91a 0x54c900 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c919 encoding/json.unquote+0xb9 encoding/json/decode.go:1189 # 0x54c8ff encoding/json.(*decodeState).literalInterface+0x9f encoding/json/decode.go:1144 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 320] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 3168] @ 0x48dd05 0x492ae9 0x21f0abc 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0abb github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 384] @ 0x48dd2c 0x4752f7 0x4cdffe 0x25ea7a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cdffd path.Join+0x1dd path/path.go:172 # 0x25ea7a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xf68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:224 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 384] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 7040] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x40d8eb 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x40d8ea internal/strconv.AppendUint+0x16a internal/strconv/itoa.go:74 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196a39c 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x37b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:927 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2560] @ 0x48dd05 0x428505 0x78ae25 0x78adea 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x2594292 0x2594edf 0x498001 # 0x78ae24 net/http.setupRewindBody+0x3e4 net/http/transport.go:787 # 0x78ade9 net/http.(*Transport).roundTrip+0x3a9 net/http/transport.go:620 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196a345 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196a344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:927 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x5704f3 0x24ee26f 0x24ee227 0x27bc0bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x24ee26e github.com/mattermost/mattermost/server/public/model.WithCallerID+0x6e github.com/mattermost/mattermost/server/public/model/property_access_control.go:35 # 0x24ee226 github.com/mattermost/mattermost/server/v8/channels/app.RequestContextWithCallerID+0x26 github.com/mattermost/mattermost/server/v8/channels/app/context.go:20 # 0x27bc0bc github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0xc3f629 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f628 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x288 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 960] @ 0x48dd2c 0x4930f3 0x6bcc9b 0x6bcb63 0x6bcb68 0x5ccbc4 0x5cd01c 0x6bc6ae 0x6bc677 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bcc9a vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x17a vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bcb62 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x42 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6bcb67 crypto/tls.(*clientHelloMsg).marshalMsg.func18.2+0x47 crypto/tls/handshake_messages.go:358 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc6ad vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x28d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc676 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x256 crypto/tls/handshake_messages.go:356 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1408] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 56] @ 0x48dd05 0x41d56d 0x129d3d7 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x129d3d6 net/rpc.(*Client).Call+0xf6 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [9: 4320] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd2c 0x41d5e6 0x7515d9 0x751515 0x755b50 0x755be9 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x7515d8 net/http.(*http2clientStream).closeReqBodyLocked+0x38 net/http/h2_bundle.go:7795 # 0x751514 net/http.(*http2clientStream).abortRequestBodyWrite+0x94 net/http/h2_bundle.go:7786 # 0x755b4f net/http.(*http2ClientConn).roundTrip.func2+0x56f net/http/h2_bundle.go:8649 # 0x755be8 net/http.(*http2ClientConn).roundTrip+0x608 net/http/h2_bundle.go:8690 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a06d8f 0x1a06d06 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a06d8e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06d05 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:442 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 864] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d1dc5 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1226 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x21fef63 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21fef62 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x642 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:933 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [21: 2352] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f7fc9 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f7fc8 github.com/mattermost/squirrel.SelectBuilder.Join+0x2a8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1394651 0x272f750 0x271aca5 0x27194b3 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1394650 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x272f74f github.com/mattermost/mattermost/server/v8/channels/web.IsAPICall+0x2f github.com/mattermost/mattermost/server/v8/channels/web/web.go:100 # 0x271aca4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xae4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:439 # 0x27194b2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2dd2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:368 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 9600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 3120] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x286690d 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x286690c github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x156c github.com/mattermost/mattermost/server/v8/channels/api4/system.go:220 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x78aeb6 0x78adea 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x78aeb5 net/http.setupRewindBody+0x475 net/http/transport.go:788 # 0x78ade9 net/http.(*Transport).roundTrip+0x3a9 net/http/transport.go:620 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x18d1c2f 0x18d1ba6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18d1c2e github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18d1ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1223 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x4ce4d8 0x4ce4cc 0x224897f 0x224c4d3 0x224c0d3 0x498001 # 0x4ce4d7 io.LimitReader+0x37 io/io.go:461 # 0x4ce4cb io.CopyN+0x2b io/io.go:364 # 0x224897e github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x9e github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:111 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [6: 576] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 608] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc406b1 0xc40672 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc406b0 path/filepath.Join+0x3d0 path/filepath/path.go:131 # 0xc40671 github.com/mattermost/mattermost/server/public/model.FindManifest+0x391 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 320] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x26c068b 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x26c068a github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0xaa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3133 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x493087 0x1840939 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x196fe19 0x196fda6 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196fe18 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x798 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196fda5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1427 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 544] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 288] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 2304] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 408] @ 0x48dd05 0x492ae9 0x72e507 0x24775b0 0x24775bb 0x2717c6f 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x24775af net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x24775ba github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1947f77 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1947f76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 64] @ 0x48dd25 0x48d69b 0x549f47 0x54c9a6 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549f46 encoding/json.(*decodeState).convertNumber+0xe6 encoding/json/decode.go:846 # 0x54c9a5 encoding/json.(*decodeState).literalInterface+0x145 encoding/json/decode.go:1154 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 384] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726938 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726937 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1d17 github.com/mattermost/mattermost/server/v8/channels/web/params.go:286 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 7168] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1536] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 12288] @ 0x48dd2c 0x4752f7 0x695266 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695265 crypto/tls.(*weakCertCache).newCert+0x45 crypto/tls/cache.go:20 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 32] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 9856] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x28aba25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28aba24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1149 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x18d1dda 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x379 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c7ad 0x1253585 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c7ac github.com/lib/pq.parsePortalRowDescribe+0x12c github.com/lib/pq@v1.12.3/conn.go:1795 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 384] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1152] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19043e5 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19043e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:501 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd05 0x428505 0x8095c5 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x8095c4 database/sql.(*DB).Conn+0x84 database/sql/sql.go:1958 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1408] @ 0x48dd05 0x492ae9 0x1846885 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0x5305e6 0x224a15d 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x224a15c github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0xfc github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:84 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19e8f5d 0x21d27bf 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19e8f5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).GetDBSchemaVersion+0x5c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:1068 # 0x21d27be github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x2fe github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:353 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1120] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 1920] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0x17daad7 0x17d9e30 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17daad6 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x96 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:160 # 0x17d9e2f github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xef github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 864] @ 0x48dd2c 0x4752f7 0xc8b2d8 0xc8b2d9 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b2d7 github.com/tinylib/msgp/msgp.ReadStringBytes+0x117 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b2d8 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x118 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:161 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 2816] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 48640] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1024] @ 0x48dd05 0x493087 0x196f7cf 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196f7ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1409 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x21fd2b5 0x21fdb38 0x21fe952 0x2206a3d 0x22067f0 0x220694e 0x2205131 0x2204837 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x21fd2b4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsBasicAuthenticated+0x134 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:789 # 0x21fdb37 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x17 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x22067ef 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:759 # 0x220694d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6d maps/iter.go:28 # 0x2205130 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8d0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [5: 1920] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x99f85e 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0xb84ce5 0xb84c93 0x12f33ac 0x12f325c 0x12e8174 0x12e99de 0x12e9894 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x99f85d github.com/hashicorp/yamux.(*Session).waitForSendErr+0x7d github.com/hashicorp/yamux@v0.1.2/session.go:392 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0xb84ce4 net/rpc.(*Client).Call+0x64 net/rpc/client.go:321 # 0xb84c92 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:172 # 0x12f33ab github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xab github.com/mattermost/mattermost/server/public/plugin/supervisor.go:234 # 0x12f325b github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x1b github.com/mattermost/mattermost/server/public/plugin/supervisor.go:210 # 0x12e8173 github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xb3 github.com/mattermost/mattermost/server/public/plugin/environment.go:677 # 0x12e99dd github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x12e9893 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x153 github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1a06334 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a06333 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:451 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 1536] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [21: 6048] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x4246eb 0x13980f3 0x270f109 0x270edf5 0x281fb1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13980f2 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x192 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:40 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x281fb1a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xf9a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18476ab 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2080] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x492ae9 0x125c732 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c731 github.com/lib/pq.parsePortalRowDescribe+0xb1 github.com/lib/pq@v1.12.3/conn.go:1791 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x18d2005 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18d2004 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1237 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1903473 0x1903418 0x1903426 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1903472 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x7f2 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1903417 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x797 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1903425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x7a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:431 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0xb8d2c6 0xb8d37b 0xb8d27b 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8d2c5 container/list.New+0x65 container/list/list.go:62 # 0xb8d37a github.com/mattermost/mattermost/server/public/shared/markdown.newInlineParser+0x11a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:140 # 0xb8d27a github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x1a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 8064] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1902f12 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902f11 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x291 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:413 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 864] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 416] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x17d9e19 0x17d9d53 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x17d9e18 path/filepath.Join+0xd8 path/filepath/path.go:131 # 0x17d9d52 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x12 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x779053 0x779e95 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x779052 net/http.(*response).finishRequest+0x32 net/http/server.go:1668 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 20480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf1604 0xbf1605 0xbf0fe5 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf1603 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf1604 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xbf0fe4 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 336] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3072] @ 0x48dd2c 0x4752f7 0x6956dd 0x6eb6e2 0x42d5b9 0x498001 # 0x6956dc crypto/tls.(*weakCertCache).newCert.func1+0x3c crypto/tls/cache.go:33 # 0x6eb6e1 runtime.callCleanup[...]+0x21 runtime/mcleanup.go:204 # 0x42d5b8 runtime.runCleanups+0xd8 runtime/mcleanup.go:745 0: 0 [12: 15360] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 384] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc9ccb9 0x271ae25 0x27194b3 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc9ccb8 github.com/mattermost/mattermost/server/public/model.(*AppError).ToJSON+0x118 github.com/mattermost/mattermost/server/public/model/utils.go:314 # 0x271ae24 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xc64 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:442 # 0x27194b2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2dd2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:368 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x271b2b2 0x28ebc33 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x271b2b1 github.com/mattermost/mattermost/server/v8/channels/web.GetOriginClient+0x51 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:476 # 0x28ebc32 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x5f2 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 2880] @ 0x48dd05 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [58: 3712] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [3: 72] @ 0x48dd05 0x428505 0x196f8f2 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196f8f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x271 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1417 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a06e13 0x1a06dcb 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06e12 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x493087 0x1904953 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904952 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x732 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:527 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 2112] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 16] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x196fe3f 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x196fe3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1428 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 8960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [48: 5376] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x4246eb 0x1998066 0x1998035 0x1998033 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998065 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x65 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1998034 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1998032 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:76 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 27136] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0x4e339d 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e339c os.(*File).readdir+0x4bc os/dir_unix.go:141 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 496] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x428505 0x6058d2 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6058d1 net.(*Dialer).DialContext+0x1f1 net/dial.go:544 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18d1ca5 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1ca4 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x244 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 704] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 864] @ 0x48dd05 0x428505 0x261b691 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b690 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x70 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:57 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1947d56 0x1947cfb 0x1947d09 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1947d55 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xb5 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1947cfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x5a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1947d08 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x19f7f53 0x19f7ecf 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19f7f52 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19f7ece github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1173 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2987c 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2987b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x77b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1473 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [10: 480] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19035d6 0x190358e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19035d5 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x955 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190358d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x90d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:434 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x1a06913 0x1a068cb 0x1309f10 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06912 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 12672] @ 0x48dd2c 0x4752f7 0x695266 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695265 crypto/tls.(*weakCertCache).newCert+0x45 crypto/tls/cache.go:20 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6be4ea 0x6be4c4 0x5ccbc4 0x5cd01c 0x6be454 0x6be433 0x5ccbc4 0x5cd01c 0x6bb0f0 0x6baf82 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6be4e9 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x69 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6be4c3 crypto/tls.(*clientHelloMsg).marshalMsg.func11.1+0x43 crypto/tls/handshake_messages.go:243 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6be453 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be432 crypto/tls.(*clientHelloMsg).marshalMsg.func11+0x12 crypto/tls/handshake_messages.go:241 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb0ef vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x20af vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baf81 crypto/tls.(*clientHelloMsg).marshalMsg+0x1f41 crypto/tls/handshake_messages.go:240 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [43: 24768] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 2304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2016] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1847f4f 0x1a1efe5 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847f4e github.com/mattermost/squirrel.SelectBuilder.Offset+0xae github.com/mattermost/squirrel@v0.5.0/select.go:380 # 0x1a1efe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0xb57892 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0xb57891 encoding/gob.(*Decoder).decodeMap+0x411 encoding/gob/decode.go:608 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 393216] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 1728] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a869 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a868 github.com/lib/pq.binaryDecode+0xc8 github.com/lib/pq@v1.12.3/encode.go:72 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1344] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 768] @ 0x48dd05 0x428505 0x18c5a48 0x18d703a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x18c5a47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:138 # 0x18d7039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x275dffe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x275dffd github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x4dd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:630 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18409f9 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18409f8 github.com/mattermost/squirrel.conj.join+0x358 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x493087 0x212845a 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2128459 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x739 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 888] @ 0x48dd05 0x428505 0x8f9c07 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc405 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8f9c06 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x166 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc404 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:273 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x4246eb 0x196a425 0x1875e88 0x219ad32 0x25ff358 0x26390f0 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196a424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:929 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26390ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x4f github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:19 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x2625354 0x26231ec 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x2625353 github.com/mattermost/mattermost/server/v8/channels/app.getLinkMetadataFromCache+0x93 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1091 # 0x26231eb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xeb github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:901 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x5a3bd9 0x5a3b5d 0x5cade5 0x5caddf 0x5cac1f 0x5d0cd0 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x5a3bd8 math/big.nat.make+0x98 math/big/nat.go:67 # 0x5a3b5c math/big.nat.setBytes+0x1c math/big/nat.go:1023 # 0x5cade4 math/big.(*Int).SetBytes+0x104 math/big/int.go:519 # 0x5cadde vendor/golang.org/x/crypto/cryptobyte.(*String).readASN1BigInt+0xfe vendor/golang.org/x/crypto/cryptobyte/asn1.go:330 # 0x5cac1e vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1Integer+0x3fe vendor/golang.org/x/crypto/cryptobyte/asn1.go:290 # 0x5d0ccf crypto/ecdsa.Sign+0x10f crypto/ecdsa/ecdsa_legacy.go:81 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 336] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1974cdb 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x2601ba5 0x281e350 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1974cda github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x71a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1841 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x2601ba4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AddCursorIdsForPostList+0x104 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1808 # 0x281e34f github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xdcf github.com/mattermost/mattermost/server/v8/channels/api4/post.go:335 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 6912] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [8: 4608] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 672] @ 0x48dd05 0x428505 0xc616c5 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc616c4 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x264 github.com/mattermost/mattermost/server/public/model/post_list.go:47 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd2c 0x4930f3 0x6bcc9b 0x6bcb63 0x6bcb68 0x5ccbc4 0x5cd01c 0x6bc6ae 0x6bc677 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bcc9a vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x17a vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bcb62 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x42 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6bcb67 crypto/tls.(*clientHelloMsg).marshalMsg.func18.2+0x47 crypto/tls/handshake_messages.go:358 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc6ad vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x28d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bc676 crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x256 crypto/tls/handshake_messages.go:356 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [3: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a2d6cd 0x1a2d66f 0x1a2c7c5 0x1a359a8 0x1309f10 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a2d6cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2ec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a2d66e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.performSearch+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1769 # 0x1a2c7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.SearchInChannel+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1694 # 0x1a359a7 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:2295 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 3584] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a08922 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a08921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0xa61 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:600 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 992] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 107008] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a08309 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a08308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:566 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x191fcac 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x191fcab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:149 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0x28af96d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x28af96c github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1529 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a06805 0x1a067df 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a06804 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a067de 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:453 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 9216] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1248] @ 0x48dd2c 0x492ae9 0x2938cc6 0x293b574 0x29732ba 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2938cc5 crypto/internal/fips140/sha512.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha512/sha512.go:134 # 0x293b573 crypto/internal/fips140/hmac.(*HMAC).Reset+0xf3 crypto/internal/fips140/hmac/hmac.go:115 # 0x29732b9 crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x79 crypto/internal/fips140/ecdsa/hmacdrbg.go:153 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x198a9e5 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x198a9e4 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 2304] @ 0x48dd2c 0x492ae9 0x125c767 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125c766 github.com/lib/pq.parsePortalRowDescribe+0xe6 github.com/lib/pq@v1.12.3/conn.go:1793 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x4246eb 0x18476ab 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 3328] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1056] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2766a1e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2766a1d github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2bd github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1372 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2880708 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2880707 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x1c7 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:639 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 320] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbef4a2 0xbef48c 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x24a3c32 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x24a3c31 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3038 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [14: 336] @ 0x48dd05 0x428505 0x27387fc 0x27387dc 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27387fb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).SendMessage+0x121b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:494 # 0x27387db github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x11fb github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:75 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18d0f25 0x18d0ecd 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d0f24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d0ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3520] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x458d18 0x46be75 0xb8332e 0x12877cd 0x498001 # 0xb8332d github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0xcd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:58 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x63f19d 0x63f144 0x63f733 0x63f5df 0x262525c 0x2623195 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f19c strings.(*Builder).WriteString+0x35c strings/builder.go:114 # 0x63f143 net/url.resolvePath+0x303 net/url/url.go:1072 # 0x63f732 net/url.(*URL).ResolveReference+0x112 net/url/url.go:1121 # 0x63f5de net/url.(*URL).Parse+0x3e net/url/url.go:1103 # 0x262525b github.com/mattermost/mattermost/server/v8/channels/app.resolveMetadataURL+0x3b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1081 # 0x2623194 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x94 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:891 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 960] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [29: 16704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x24adbe9 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 288] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28cbac5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28cbac4 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3794 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1280] @ 0x48dd2c 0x492ae9 0x296b1f4 0x296b231 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296b1f3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x296b230 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:552 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [9: 432] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 288] @ 0x48dd05 0x428505 0x5ccf85 0x6b924a 0x6b910f 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6b9249 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x209 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b910e crypto/tls.(*clientHelloMsg).marshalMsg+0xce crypto/tls/handshake_messages.go:109 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 448] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 416] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 80] @ 0x48dd05 0x493087 0x4e343d 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e343c os.(*File).readdir+0x55c os/dir_unix.go:150 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x52d66a 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x8faba6 0xc9d234 0xc9d178 0x28580ab 0x2858b45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x52d669 fmt.errorf+0xc9 fmt/errors.go:42 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d233 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x28580aa github.com/mattermost/mattermost/server/v8/channels/api4.requireScheduledPostsEnabled+0x8a github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:68 # 0x2858b44 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamScheduledPosts+0x44 github.com/mattermost/mattermost/server/v8/channels/api4/scheduled_post.go:123 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 5184] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2766a05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2766a04 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1367 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a261e9 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a261e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x208 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1192 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd05 0x428505 0x18c5a48 0x18d703a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5a47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:138 # 0x18d7039 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xf9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x1a29f06 0x188e9cb 0x21b789d 0x246fdee 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1a29f05 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.AnalyticsActiveCount+0x505 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1506 # 0x188e9ca github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).AnalyticsActiveCount+0xca github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16023 # 0x21b789c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).AnalyticsActiveCount+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12641 # 0x246fded github.com/mattermost/mattermost/server/v8/channels/app.(*App).getStandardAnalytics.func7+0x8d github.com/mattermost/mattermost/server/v8/channels/app/analytics.go:134 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc84930 0xc848f0 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8492f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb2f github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc848ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xaef github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 560] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x190318d 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190318c github.com/mattermost/squirrel.SelectBuilder.Join+0x50c github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x428505 0xc9d0e9 0x249b4f0 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9d0e8 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x249b4ef github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x14f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 4032] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e44fc 0x185c107 0x217d5ad 0x2113f86 0x249f269 0x2761f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e44fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetGuestCount+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2663 # 0x185c106 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetGuestCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2367 # 0x217d5ac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetGuestCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2003 # 0x2113f85 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 # 0x249f268 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelGuestCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2575 # 0x2761f1a github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x27a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:998 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1989c0f 0x1989b65 0x1989ac8 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1989c0e github.com/lann/builder.Append+0x5ae github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1989b64 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x504 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x1989ac7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x467 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:100 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0xc3f5f4 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xc3f5f3 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x253 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [2: 352] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0x26231a5 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0x26231a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:894 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x196fc51 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fc50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1424 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 960] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 480] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 896] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 64] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 9600] @ 0x48dd05 0x492ae9 0x21f0abc 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0abb github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 2576] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 3072] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7740b6 0x779aba 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7740b5 net/http.newBufioReader+0x35 net/http/server.go:858 # 0x779ab9 net/http.(*conn).serve+0x2b9 net/http/server.go:1981 0: 0 [4: 96] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 360] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 528] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb57625 0xb59d49 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0xb57624 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x2695365 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2695364 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1748 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 768] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x70c9cb 0x70c979 0x70caa1 0x798c4b 0x798e25 0x7992ec 0x729a4a 0x4ceb03 0x4ce38e 0x1179d77 0x1179d54 0x25acee5 0x25aca2f 0x262616c 0x2624e65 0x262352c 0x261fd6c 0x261dfcc 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70c9ca bufio.NewReaderSize+0x16a bufio/bufio.go:57 # 0x70c978 bufio.NewReader+0x118 bufio/bufio.go:63 # 0x70caa0 compress/gzip.(*Reader).Reset+0x240 compress/gzip/gunzip.go:111 # 0x798c4a net/http.gzipPoolGet+0x4a net/http/transport.go:3133 # 0x798e24 net/http.(*gzipReader).acquire+0xa4 net/http/transport.go:3158 # 0x7992eb net/http.(*gzipReader).Read+0x4b net/http/transport.go:3192 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1179d76 io.ReadFull+0x76 io/io.go:354 # 0x1179d53 golang.org/x/net/html/charset.NewReader+0x53 golang.org/x/net@v0.54.0/html/charset/charset.go:110 # 0x25acee4 github.com/mattermost/mattermost/server/v8/channels/app.forceHTMLEncodingToUTF8+0x44 github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:82 # 0x25aca2e github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseOpenGraphMetadata+0xce github.com/mattermost/mattermost/server/v8/channels/app/opengraph.go:56 # 0x262616b github.com/mattermost/mattermost/server/v8/channels/app.(*App).parseLinkMetadata+0x3ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1184 # 0x2624e64 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataForURL+0x8c4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1067 # 0x262352b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x42b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:932 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x616485 0x6160d3 0x615f65 0x614c45 0x130bee5 0x130cf9e 0x130c890 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x616484 net.newAddr+0x1a4 net/interface_linux.go:180 # 0x6160d2 net.addrTable+0x132 net/interface_linux.go:153 # 0x615f64 net.interfaceAddrTable+0x124 net/interface_linux.go:132 # 0x614c44 net.(*Interface).Addrs+0x24 net/interface.go:82 # 0x130bee4 github.com/mattermost/mattermost/server/public/shared/httpservice.IsOwnIP+0xe4 github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:53 # 0x130cf9d github.com/mattermost/mattermost/server/public/shared/httpservice.(*HTTPServiceImpl).MakeTransport.func2+0x5d github.com/mattermost/mattermost/server/public/shared/httpservice/httpservice.go:91 # 0x130c88f github.com/mattermost/mattermost/server/public/shared/httpservice.NewTransport.dialContextFilter.func1+0x22f github.com/mattermost/mattermost/server/public/shared/httpservice/client.go:159 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x18df2af 0x18df22b 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18df2ae github.com/mattermost/squirrel.SelectBuilder.From+0x26e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18df22a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 6272] @ 0x48dd2c 0x428505 0x2943ad2 0x6e9c79 0x69bab6 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x2943ad1 crypto/internal/fips140/aes/gcm.NewGCMForTLS13+0x91 crypto/internal/fips140/aes/gcm/gcm_nonces.go:174 # 0x6e9c78 crypto/tls.aeadAESGCMTLS13+0x78 crypto/tls/cipher_suites.go:564 # 0x69bab5 crypto/tls.(*halfConn).setTrafficSecret+0x75 crypto/tls/conn.go:234 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [34: 139264] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x69e91d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x69e91c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:786 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0x17d9f45 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27daed9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17d9f44 os.Open+0x64 os/file.go:390 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27daed8 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x7d8 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:816 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x199f3e6 0x199f38e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199f3e5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3e5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199f38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x199f37d 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199f37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:95 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x492ae9 0x7c25d8 0x7c0564 0x7c2525 0x2621273 0x2621388 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7c25d7 regexp.(*Regexp).FindAllString.func1+0x57 regexp/regexp.go:1100 # 0x7c0563 regexp.(*Regexp).allMatches+0x2c3 regexp/regexp.go:790 # 0x7c2524 regexp.(*Regexp).FindAllString+0x64 regexp/regexp.go:1098 # 0x2621272 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForString+0x32 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:681 # 0x2621387 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x47 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:692 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x428505 0xb9119a 0xb87bc8 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb91199 github.com/mattermost/mattermost/server/public/shared/markdown.newParagraph+0x79 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:68 # 0xb87bc7 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x787 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:109 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x18d0faf 0x18d0f26 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18d0fae github.com/mattermost/squirrel.SelectBuilder.From+0x1ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18d0f25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1167 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 4608] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2016] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 28672] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 20480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [16: 11264] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 262144] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 90112] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [11: 5280] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x223d72b 0x225c134 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d72a github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x40a github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:472 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21191b9 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21191b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:56 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1921072 0x1a7fb71 0x18683fa 0x2151019 0x218a765 0x25f3dc7 0x25f39e8 0x25f0f9a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7fb70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetFromMaster+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:253 # 0x18683f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetFromMaster+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5541 # 0x2151018 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 # 0x218a764 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).AttachToPost+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4362 # 0x25f3dc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFileIDsToPost+0x1e6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:524 # 0x25f39e7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).attachFilesToPost+0x87 github.com/mattermost/mattermost/server/v8/channels/app/post.go:503 # 0x25f0f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x19b9 github.com/mattermost/mattermost/server/v8/channels/app/post.go:391 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 589824] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 8265728] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x27d3e2e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27d3e2d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x86d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:324 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x27d3e2e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27d3e2d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x86d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:324 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x7559ea 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x7559e9 net/http.(*http2ClientConn).roundTrip+0x409 net/http/h2_bundle.go:8624 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [7: 112] @ 0x48dd05 0x48d725 0x18468ff 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 2064] @ 0x48dd05 0x428505 0x129d339 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x129d338 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1136 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 288] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 9216] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 192] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [30: 960] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0xccbe47 0x21ff4e7 0x21ff450 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0xccbe46 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x66 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x21ff4e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0xbc6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x21ff44f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xb2f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:988 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [13: 1872] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x428505 0xb62a71 0xb62a13 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62a70 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xb62a12 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x192101a 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1921019 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x299 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:227 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 3584] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 256] @ 0x48dd05 0x492ae9 0x54295f 0x223b853 0x223b83a 0x223d4d3 0x225c134 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223b852 strings.SplitN+0x1d2 strings/strings.go:333 # 0x223b839 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:296 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 528] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0xccbe47 0x19eb272 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0xccbe46 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x66 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x19eb271 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x125d43a 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd25 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 18304] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 638976] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 9633792] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x199f3c5 0x199f38e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199f3c4 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3c4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199f38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:96 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x196e2b0 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e2af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x14f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1325 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4930f3 0x40d80c 0x40d71c 0x126a325 0x126a326 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x40d80b internal/strconv.AppendUint+0x8b internal/strconv/itoa.go:70 # 0x40d71b internal/strconv.AppendInt+0x5b internal/strconv/itoa.go:62 # 0x126a324 strconv.AppendInt+0x64 strconv/number.go:221 # 0x126a325 github.com/lib/pq.encode+0x65 github.com/lib/pq@v1.12.3/encode.go:29 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x428505 0x184c93c 0x19e2729 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184c93b github.com/mattermost/squirrel.UpdateBuilder.Where+0xbb github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x19e2728 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:138 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 560] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x18d2617 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d2616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1272 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x5cb485 0x6529d3 0x658e0d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6529d2 crypto/x509.parseName+0x192 crypto/x509/parser.go:161 # 0x658e0c crypto/x509.parseCertificate+0x6cc crypto/x509/parser.go:983 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 5632] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 224] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a29409 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x63fd77 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x63fd76 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 1152] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a2514 0x7744cf 0x77930d 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a2513 sync.(*Pool).Put+0x33 sync/pool.go:111 # 0x7744ce net/http.putBufioReader+0x12e net/http/server.go:870 # 0x77930c net/http.(*conn).finalFlush+0x2c net/http/server.go:1740 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [7: 6272] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1440] @ 0x48dd05 0x428505 0x1a0837f 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0837e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x4be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:569 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 4608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 64] @ 0x48dd05 0x428505 0xb5c3f1 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c3f0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1193 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [13: 2704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x139e208 0x139d825 0x139f606 0x13a04c5 0x19df4af 0x19df488 0x19a2ade 0x199e9ee 0x187d032 0x21a30eb 0x2120972 0x263960a 0x283c279 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139e207 github.com/jmoiron/sqlx.compileNamedQuery+0x47 github.com/jmoiron/sqlx@v1.4.0/named.go:332 # 0x139d824 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19df4ae github.com/jmoiron/sqlx.(*Tx).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:359 # 0x19df487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:480 # 0x19a2add github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).saveReactionAndUpdatePost+0x3d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:365 # 0x199e9ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).Save+0x1ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:53 # 0x187d031 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).Save+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10989 # 0x21a30ea github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).Save+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8742 # 0x2120971 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 # 0x2639609 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SaveReactionForPost+0x569 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:78 # 0x283c278 github.com/mattermost/mattermost/server/v8/channels/api4.saveReaction+0x398 github.com/mattermost/mattermost/server/v8/channels/api4/reaction.go:43 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a02cfc 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x3bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:141 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a04851 0x1a04806 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a04850 github.com/mattermost/squirrel.SelectBuilder.Join+0x490 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a04805 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 320] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 2112] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ef07 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ef06 encoding/json.addrMarshalerEncoder+0x166 encoding/json/encode.go:506 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 480] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 4032] @ 0x48dd05 0x492ae9 0x196082c 0x196f6c5 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196082b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:107 # 0x196f6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1408 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 576] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184648c 0x18463bb 0x18464b0 0x19030a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184648b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x19030a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 9504] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 1840] @ 0x48dd05 0x428505 0x2204e3b 0x2204837 0x498001 # 0x2204e3a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5da github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:725 # 0x2204836 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:791 0: 0 [7: 2240] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 864] @ 0x48dd2c 0x4930f3 0x6d0995 0x6d0965 0x6d0877 0x5ccbc4 0x5cd01c 0x6d0812 0x6d070c 0x5ccbc4 0x5cd01c 0x6d05c5 0x6d051c 0x6d0e38 0x6b7374 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6d0994 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6d0964 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6d0876 crypto/tls.(*certificateVerifyMsg).marshal.func1.1+0x16 crypto/tls/handshake_messages.go:1862 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6d0811 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x1b1 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6d070b crypto/tls.(*certificateVerifyMsg).marshal.func1+0xab crypto/tls/handshake_messages.go:1861 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6d05c4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x144 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6d051b crypto/tls.(*certificateVerifyMsg).marshal+0x9b crypto/tls/handshake_messages.go:1857 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b7373 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x6b3 crypto/tls/handshake_client_tls13.go:676 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 1152] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x192280e 0x192280f 0x186815b 0x218b3f7 0x2118fc8 0x258127d 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x192280d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x38d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x192280e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetForPost+0x38e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:374 # 0x186815a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetForPost+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5499 # 0x218b3f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetForPost+0x96 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4505 # 0x2118fc7 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 # 0x258127c 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 [2: 147456] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 4014080] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 896] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 6240] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 172032] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 304] @ 0x48dd25 0x492ae9 0x672ed5 0xb83aa6 0x498001 # 0x672ed4 encoding/binary.Read+0x74 encoding/binary/binary.go:261 # 0xb83aa5 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x65 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:150 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19e2bcf 0x19e2ad7 0x19e2ad6 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e2bce github.com/lann/builder.Append+0x7ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2ad6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x6f6 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2ad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:148 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 240] @ 0x48dd2c 0x492ae9 0x5cb485 0x6532f4 0x6597c5 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6532f3 crypto/x509.parseExtension+0x73 crypto/x509/parser.go:233 # 0x6597c4 crypto/x509.parseCertificate+0x1084 crypto/x509/parser.go:1043 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [35: 560] @ 0x48dd05 0x4246eb 0x1846025 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a07269 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 1440] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 896] @ 0x48dd2c 0x492ae9 0x2979e90 0x2979d33 0x297343f 0x29746e8 0x29747df 0x297419d 0x297d512 0x297d4d1 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x2979d32 crypto/internal/fips140/ecdsa.newDRBG[...].func1+0x32 crypto/internal/fips140/ecdsa/hmacdrbg.go:58 # 0x297343e crypto/internal/fips140/ecdsa.(*hmacDRBG).Generate+0x1fe crypto/internal/fips140/ecdsa/hmacdrbg.go:170 # 0x29746e7 crypto/internal/fips140/ecdsa.signGeneric[...].func1+0x27 crypto/internal/fips140/ecdsa/ecdsa.go:336 # 0x29747de crypto/internal/fips140/ecdsa.randomPoint[...]+0xbe crypto/internal/fips140/ecdsa/ecdsa.go:229 # 0x297419c crypto/internal/fips140/ecdsa.signGeneric[...]+0x7c crypto/internal/fips140/ecdsa/ecdsa.go:335 # 0x297d511 crypto/internal/fips140/ecdsa.sign[...]+0x271 crypto/internal/fips140/ecdsa/ecdsa_noasm.go:10 # 0x297d4d0 crypto/internal/fips140/ecdsa.Sign[...]+0x230 crypto/internal/fips140/ecdsa/ecdsa.go:306 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x493087 0x184a88c 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x184a88b github.com/mattermost/squirrel.(*updateData).ToSql+0x3cb github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 24] @ 0x48dd2c 0x428505 0xb88649 0xb8776c 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x25f0a1c 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88648 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb8776b github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x32b github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x25f0a1b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x143b github.com/mattermost/mattermost/server/v8/channels/app/post.go:356 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 68096] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 286720] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 11190272] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [3: 466944] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 13568] @ 0x48dd2c 0x41d5a8 0x1b284a5 0x1b24545 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1b284a4 github.com/boxes-ltd/imaging.parallel+0x64 github.com/boxes-ltd/imaging@v1.7.5/utils.go:35 # 0x1b24544 github.com/boxes-ltd/imaging.resizeHorizontal+0x124 github.com/boxes-ltd/imaging@v1.7.5/resize.go:113 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 12124160] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [2: 409600] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 13131776] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x28abcbb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28abcba github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x3fa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1183 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 458752] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x17dab3d 0x17dab16 0x17da9eb 0x250a5e9 0x250a546 0x250a547 0x25138e9 0x2513567 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x17dab3c io.Copy+0xfc io/io.go:388 # 0x17dab15 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x17da9ea github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x250a5e8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:257 # 0x250a545 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:265 # 0x250a546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:253 # 0x25138e8 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1+0x208 github.com/mattermost/mattermost/server/v8/channels/app/file.go:983 # 0x2513566 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x86 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 294912] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 11509760] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [2: 327680] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 11943936] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 106496] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 753664] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 12402688] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x428505 0x70a391 0x97de4f 0x97d576 0x1330d17 0x1330d01 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a390 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1330d16 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x1330d00 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0xca1c4f 0xca1c02 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1c4e github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0xae github.com/mattermost/mattermost/server/public/model/websocket_message.go:210 # 0xca1c01 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:319 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [7: 6272] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc56fd6 0x25f9e97 0x25783f7 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc56fd5 github.com/mattermost/mattermost/server/public/model.(*Post).ToJSON+0x55 github.com/mattermost/mattermost/server/public/model/post.go:394 # 0x25f9e96 github.com/mattermost/mattermost/server/v8/channels/app.(*App).publishWebsocketEventForPost+0x196 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1010 # 0x25783f6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xa2b6 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:726 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 720] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19caafc 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19caafb 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 720] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [25: 200] @ 0x48dd05 0x428505 0x225e52b 0x225e4d3 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225e52a github.com/getsentry/sentry-go.NewHub+0x8a github.com/getsentry/sentry-go@v0.46.2/hub.go:69 # 0x225e4d2 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.46.2/hub.go:120 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1152] @ 0x48dd05 0x428505 0x270f345 0x27d9393 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x27d9392 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa92 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:694 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3840] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a793b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a793a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 2592] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x198ddde 0x198dc93 0x1879e7a 0x219f886 0x262fa4e 0x28726a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198dddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198dc92 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 # 0x1879e79 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).GetViews+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10170 # 0x219f885 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).GetViews+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8118 # 0x262fa4d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProductNotices+0x38d github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:227 # 0x28726a4 github.com/mattermost/mattermost/server/v8/channels/api4.getProductNotices+0x204 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 960] @ 0x48dd05 0x428505 0x19eb207 0x19eb1c5 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19eb206 github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x66 github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x19eb1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 3520] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x18461d4 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 288] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1847b0b 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199aaf8 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199aaf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x4f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 56] @ 0x48dd05 0x428505 0x25e9eb1 0x25e9e96 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25e9eb0 github.com/mattermost/mattermost/server/v8/channels/app.New+0x670 github.com/mattermost/mattermost/server/v8/channels/app/app.go:30 # 0x25e9e95 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x655 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:208 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1947949 0x19478d5 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1947948 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19478d4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [7: 448] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [19: 912] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x54c63c 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c63b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1079 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x428505 0xb63f65 0xb63f2a 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63f64 encoding/gob.(*Encoder).newEncoderState+0x184 encoding/gob/encode.go:82 # 0xb63f29 encoding/gob.(*Encoder).encodeInterface+0x149 encoding/gob/encode.go:392 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [30: 3840] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 189696] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 9728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 288] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 240] @ 0x48dd05 0x428505 0x73d305 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73d304 net/http.(*http2Framer).readMetaFrame+0x64 net/http/h2_bundle.go:3159 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [9: 720] @ 0x48dd05 0x4246eb 0x13980f3 0x270f109 0x270edf5 0x283967e 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13980f2 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x192 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:40 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x283967d github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x9bd github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:493 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 1024] @ 0x48dd2c 0x4752f7 0xc83e9a 0xc83e9b 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc83e99 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc83e9a github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:468 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 9856] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x25e9e17 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e9e16 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5d6 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:204 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13056] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x492ae9 0x299af25 0x299be65 0x6df8ed 0x69baa7 0x6b6045 0x6b6018 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299af24 crypto/internal/fips140/hkdf.Expand[...]+0x64 crypto/internal/fips140/hkdf/hkdf.go:28 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df8ec crypto/tls.(*cipherSuiteTLS13).trafficKey+0x10c crypto/tls/key_schedule.go:31 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b6044 crypto/tls.(*Conn).setWriteTrafficSecret+0x1c4 crypto/tls/conn.go:1706 # 0x6b6017 crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x197 crypto/tls/handshake_client_tls13.go:493 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [18: 16128] @ 0x48dd0c 0x492ae9 0x875bec 0x875b88 0xccbc56 0x286eaac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x875beb github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x875b87 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0xccbc55 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x35 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x286eaab github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:717 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x493087 0x125f085 0x125ee87 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125f084 github.com/lib/pq.Config.Clone+0x244 github.com/lib/pq@v1.12.3/connector.go:523 # 0x125ee86 github.com/lib/pq.Config.hosts+0x46 github.com/lib/pq@v1.12.3/connector.go:530 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x19ea977 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea976 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x216 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [18: 2304] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xc614a7 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc614a6 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x46 github.com/mattermost/mattermost/server/public/model/post_list.go:38 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 13824] @ 0x48dd0c 0x492ae9 0x21f95a8 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f95a7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x467 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:234 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 81920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x121c54a 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x121c549 code.sajari.com/docconv/v2.ConvertHTML+0x49 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:20 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x6598b2 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6598b1 crypto/x509.parseCertificate+0x1171 crypto/x509/parser.go:1051 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 96] @ 0x48dd05 0x428505 0x2979d97 0x299b2b5 0x299bfa6 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 144] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19e2ba5 0x19e2ad7 0x19e2ad6 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2ba4 github.com/lann/builder.Append+0x7c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2ad6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x6f6 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2ad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:148 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [20: 4160] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196fadc 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fadb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x45b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 1056] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x21fb165 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fb164 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x364 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:507 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x21f1a3e 0x21f1a07 0x21f4765 0x21f40cb 0x498001 # 0x21f1a3d github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Add+0x13d github.com/mattermost/mattermost/server/public/model/websocket_message.go:286 # 0x21f1a06 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).BroadcastStatus+0x106 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:211 # 0x21f4764 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x304 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:443 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x190381e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190381d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb9d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 480] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 1472] @ 0x48dd05 0x428505 0xb63f65 0xb63f2a 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63f64 encoding/gob.(*Encoder).newEncoderState+0x184 encoding/gob/encode.go:82 # 0xb63f29 encoding/gob.(*Encoder).encodeInterface+0x149 encoding/gob/encode.go:392 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [5: 120] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1a06d8f 0x1a06d06 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a06d8e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06d05 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:442 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [23: 552] @ 0x48dd2c 0x492ae9 0x4cdc27 0x4cdc0f 0x4ce005 0x25ea7a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cdc26 path.(*lazybuf).append+0x606 path/path.go:39 # 0x4cdc0e path.Clean+0x5ee path/path.go:127 # 0x4ce004 path.Join+0x1e4 path/path.go:172 # 0x25ea7a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xf68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:224 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6144] @ 0x48dd2c 0x4930f3 0xb624de 0xb62388 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb624dd encoding/gob.(*encBuffer).Write+0x25d encoding/gob/encode.go:55 # 0xb62387 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [9: 576] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [17: 7616] @ 0x48dd05 0x493087 0x2719cc5 0x27194e2 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719cc4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x684 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:173 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x493087 0x4e343d 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e343c os.(*File).readdir+0x55c os/dir_unix.go:150 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 2640] @ 0x48dd05 0x428505 0x8597ff 0x8597c4 0x858b5e 0x498001 # 0x8597c3 github.com/mattermost/logr/v2.(*LogRec).prep+0x323 github.com/mattermost/logr/v2@v2.0.22/logrec.go:68 # 0x858b5d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [13: 1872] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca172d 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca172c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:250 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [3: 1536] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 3040] @ 0x48dd2c 0x4752f7 0x184af7f 0x184ad99 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184af7e bytes.(*Buffer).String+0xabe bytes/buffer.go:77 # 0x184ad98 github.com/mattermost/squirrel.(*updateData).ToSql+0x8d8 github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [18: 3456] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2880825 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2880824 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x2e4 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:648 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 208] @ 0x48dd05 0x493087 0x18c8c38 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18c8c37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:479 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 448] @ 0x48dd05 0x428505 0x13642be 0x13642a7 0x1364be5 0x1372019 0x136f89d 0x13715f9 0x13715cc 0x136f78e 0x137d9ac 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x13642bd github.com/yuin/goldmark/parser.NewDelimiter+0x1dd github.com/yuin/goldmark@v1.8.2/parser/delimiter.go:99 # 0x13642a6 github.com/yuin/goldmark/parser.ScanDelimiter+0x1c6 github.com/yuin/goldmark@v1.8.2/parser/delimiter.go:147 # 0x1364be4 github.com/yuin/goldmark/parser.(*emphasisParser).Parse+0x84 github.com/yuin/goldmark@v1.8.2/parser/emphasis.go:42 # 0x1372018 github.com/yuin/goldmark/parser.(*parser).parseBlock+0x9d8 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1225 # 0x136f89c github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.8.2/parser/parser.go:904 # 0x13715f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1150 # 0x13715cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.8.2/parser/parser.go:1148 # 0x136f78d github.com/yuin/goldmark/parser.(*parser).Parse+0x1cd github.com/yuin/goldmark@v1.8.2/parser/parser.go:903 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 98304] @ 0x48dd33 0x492ae9 0x7b72fe 0x7b81bf 0x7ba437 0x7bf2a5 0x7bef4b 0x19dbe07 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x7b72fd regexp.(*bitState).reset+0xfd regexp/backtrack.go:91 # 0x7b81be regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7bf2a4 regexp.(*Regexp).replaceAll+0x184 regexp/regexp.go:599 # 0x7bef4a regexp.(*Regexp).ReplaceAllStringFunc+0x4a regexp/regexp.go:577 # 0x19dbe06 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:210 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 448] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x184ce45 0x184cd9b 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184ce44 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d25d2 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d25d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 3120] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1280] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 4096] @ 0x48dd2c 0x492ae9 0x1b8e392 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 384] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x54d545 0x1942cc5 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54d544 encoding/json.Marshal+0x184 encoding/json/encode.go:215 # 0x1942cc4 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 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a5643 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a5642 github.com/jmoiron/sqlx.SelectContext+0x102 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 17056] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 24] @ 0x48dd05 0x428505 0x6b818e 0x6b4156 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6b818d crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0x6d crypto/tls/handshake_client_tls13.go:811 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [13: 208] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 960] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 112] @ 0x48dd05 0x492ae9 0x54295f 0x8fc228 0x8fc1de 0x27169c5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc227 strings.Split+0x127 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 720896] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 880] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1a071ea 0x1a071cb 0x1309f10 0x498001 # 0x1a071e9 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1c9 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 144] @ 0x48dd05 0x428505 0x751619 0x751515 0x755b50 0x755be9 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x751618 net/http.(*http2clientStream).closeReqBodyLocked+0x78 net/http/h2_bundle.go:7797 # 0x751514 net/http.(*http2clientStream).abortRequestBodyWrite+0x94 net/http/h2_bundle.go:7786 # 0x755b4f net/http.(*http2ClientConn).roundTrip.func2+0x56f net/http/h2_bundle.go:8649 # 0x755be8 net/http.(*http2ClientConn).roundTrip+0x608 net/http/h2_bundle.go:8690 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [13: 1456] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 2080] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2560] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 192] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [1: 64] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725ce5 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725ce4 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/web/params.go:200 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x198a8fd 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x198a8fc 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 496] @ 0x48dd05 0x41d56d 0x9a1f0a 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f09 github.com/hashicorp/yamux.newStream+0x49 github.com/hashicorp/yamux@v0.1.2/stream.go:70 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [9: 288] @ 0x48dd05 0x493087 0x18c7508 0x18c7f54 0x18ec539 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x767 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:280 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ec538 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463c5 0x12463b5 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463c4 bytes.(*Buffer).Grow+0xa4 bytes/buffer.go:186 # 0x12463b4 github.com/lib/pq/scram.NewClient+0x94 github.com/lib/pq@v1.12.3/scram/scram.go:81 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x41d56d 0xb83c6b 0xb83ac5 0x498001 # 0xb83c6a github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xaa github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:177 # 0xb83ac4 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x84 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:156 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x19f7f53 0x19f7ecf 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x19f7f52 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19f7ece github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1173 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x19eab13 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eab12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2816] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 216] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 10752] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1760] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 13824] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 576] @ 0x48dd05 0x428505 0x77f76b 0x266234d 0x498001 # 0x77f76a net/http.(*Server).Serve+0x42a net/http/server.go:3464 # 0x266234c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x26c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1179 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 720] @ 0x48dd2c 0x4752f7 0x5305e6 0xc3f5f4 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0xc3f5f3 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x253 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a25e39 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 264] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x190457c 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190457b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1280] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 15872] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [14: 2016] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 2160] @ 0x48dd05 0x428505 0x129d339 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x129d338 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1136 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 768] @ 0x48dd2c 0x4752f7 0x54c91a 0x54c900 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c919 encoding/json.unquote+0xb9 encoding/json/decode.go:1189 # 0x54c8ff encoding/json.(*decodeState).literalInterface+0x9f encoding/json/decode.go:1144 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f8191 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f8190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x470 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184ce6c 0x184cd9b 0x184ce90 0x19457c7 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19457c6 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 256] @ 0x48dd05 0x493087 0x18c7685 0x18c7f54 0x18ebe48 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18c7684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:286 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ebe47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 96] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x492ae9 0x292eec6 0x293b5d2 0x12475f0 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x292eec5 crypto/internal/fips140/sha256.(*Digest).MarshalBinary+0x25 crypto/internal/fips140/sha256/sha256.go:66 # 0x293b5d1 crypto/internal/fips140/hmac.(*HMAC).Reset+0x151 crypto/internal/fips140/hmac/hmac.go:122 # 0x12475ef github.com/lib/pq/scram.(*Client).saltPassword+0x12f github.com/lib/pq@v1.12.3/scram/scram.go:221 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd05 0x493087 0x198d0ae 0x1879d84 0x219f744 0x263172a 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x198d0ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x14d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:49 # 0x1879d83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10149 # 0x219f743 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8102 # 0x2631729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x9c9 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 48] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0xb74806 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0xb74805 net/rpc.suitableMethods+0x965 net/rpc/server.go:339 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [26: 416] @ 0x48dd25 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 2304] @ 0x48dd05 0x428505 0x4b0718 0x4b0af7 0x61362c 0x632376 0x630f10 0x77f64c 0x2663c1b 0x498001 # 0x4b0717 syscall.anyToSockaddr+0x37 syscall/syscall_linux.go:645 # 0x4b0af6 syscall.Getsockname+0x76 syscall/syscall_linux.go:715 # 0x61362b net.(*netFD).accept+0x1cb net/fd_unix.go:166 # 0x632375 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x630f0f net.(*UnixListener).Accept+0x2f net/unixsock.go:267 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [24: 6144] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 65536] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 1232] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 896] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 168] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x61dbb2 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x61dbb1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:330 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x1848145 0x184809b 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1848144 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19c97f5 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19c97f4 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e241d 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18e241c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x41c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2455 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [18: 244224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x88c3d0 0x88c4b1 0x88bc7c 0x8aa545 0x8aa524 0x1397ad0 0x1397932 0x258fafe 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x88c3cf text/template.(*state).walk+0x22f text/template/exec.go:287 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8aa544 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x8aa523 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1397acf github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:69 # 0x1397931 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:56 # 0x258fafd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xb1d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [9: 10368] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1920] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 2240] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 3024] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5ce05 0xb757d0 0x12880d3 0x498001 # 0xb5ce04 encoding/gob.NewDecoder+0x224 encoding/gob/decoder.go:54 # 0xb757cf net/rpc.(*Server).ServeConn+0x12f net/rpc/server.go:451 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 128] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 256] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x428505 0x184810c 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184810b github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0xab github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 8448] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x28668e5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x28668e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1544 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:220 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 1792] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 2592] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x129cbb7 0x129cb9f 0x12ed392 0x21fad43 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21facb8 0x21d4da2 0x498001 # 0x129cbb6 net/rpc.(*Client).Call+0xd6 net/rpc/client.go:321 # 0x129cb9e github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnWebSocketDisconnect+0xbe github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1086 # 0x12ed391 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).OnWebSocketDisconnect+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:222 # 0x21fad42 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:427 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21facb7 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:426 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 216] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x1a25d58 0x1a25cf5 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2121728] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 1024] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 1760] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 8448] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1847d68 0x18d2005 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847d67 github.com/mattermost/squirrel.SelectBuilder.Limit+0x87 github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18d2004 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1237 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 560] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 199424] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e58f 0x612aca 0x62763c 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e58e context.AfterFunc+0x6e context/context.go:329 # 0x612ac9 net.(*netFD).connect+0x289 net/fd_unix.go:88 # 0x62763b net.(*netFD).dial+0x3bb net/sock_posix.go:124 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 48] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 896] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x76cd65 0x79b139 0x774ce7 0x779bd8 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x76cd64 net/http.putTextprotoReader+0x44 net/http/request.go:1049 # 0x79b138 net/http.readRequest+0x798 net/http/request.go:1174 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 768] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 4864] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 960] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27262c7 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27262c6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x16a6 github.com/mattermost/mattermost/server/v8/channels/web/params.go:229 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 384] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 19456] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18412c5 0x1842679 0x194333f 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18412c4 github.com/mattermost/squirrel.(*insertData).ToSql+0x284 github.com/mattermost/squirrel@v0.5.0/insert.go:92 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a25c3c 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25c3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 400] @ 0x48dd05 0x492ae9 0x1846885 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1904] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a0734f 0x1a072af 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0734e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x32e github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a072ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 432] @ 0x48dd05 0x4246eb 0x19eab9c 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eab9b github.com/mattermost/squirrel.Expr+0x43b github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [18: 864] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 384] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x99febb 0x99fbe2 0x9a2e1c 0x9a29aa 0x673d17 0xb834b7 0x12877cd 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x673d16 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [30: 480] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 368] @ 0x48dd05 0x48de45 0x52107d 0xb764e5 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764e4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:562 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1847b54 0x1847a73 0x19038ad 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b53 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19038ac github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc2c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 400] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1920] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 16128] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 160] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x61dbb2 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x61dbb1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:330 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 5120] @ 0x48dd0c 0x428505 0x125f9a7 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125f9a6 github.com/lib/pq.newConfig+0x86 github.com/lib/pq@v1.12.3/connector.go:545 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 4160] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x190312f 0x19030a6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x190312e github.com/mattermost/squirrel.SelectBuilder.From+0x4ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19030a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 20160] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18d25ae 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d25ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 81920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2127b25 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127b24 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x24b0655 0x24887c5 0x24887bc 0x275e5cc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x24b0654 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getDirectChannel+0x114 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4319 # 0x24887c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getDirectChannel+0x64 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:4049 # 0x24887bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateDirectChannel+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:341 # 0x275e5cb github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xaab github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:662 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 15360] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [18: 144] @ 0x48dd05 0x428505 0xb59006 0xb5c0bb 0xb5c447 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 1024] @ 0x48dd2c 0x492ae9 0x298a291 0x298a7b7 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x298a290 crypto/internal/fips140/rsa.pkcs1v15ConstructEM+0x110 crypto/internal/fips140/rsa/pkcs1v15.go:79 # 0x298a7b6 crypto/internal/fips140/rsa.verifyPKCS1v15+0x116 crypto/internal/fips140/rsa/pkcs1v15.go:120 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a29409 0x188f476 0x21b852d 0x2631203 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a29408 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x308 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2631202 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:332 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 2048] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1a0734f 0x1a072af 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1a0734e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x32e github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a072ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 384] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 432] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a284ef 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a284ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1365 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 640] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726e77 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726e76 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2256 github.com/mattermost/mattermost/server/v8/channels/web/params.go:305 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [30: 8640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 288] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 224] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x99febb 0x99fbe2 0x99f4c5 0x99f4c6 0x99f6e5 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x99f4c4 github.com/hashicorp/yamux.(*Session).waitForSend+0x144 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x99f4c5 github.com/hashicorp/yamux.(*Session).Ping+0x145 github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 336] @ 0x48dd2c 0x4752f7 0x52d66a 0x8b21e7 0x8b21c0 0x8b2688 0x8fa2ba 0x8f9cda 0x8fc695 0x8faba6 0xc9d234 0xc9d178 0x2673ec8 0x267a6c8 0xc7b03a 0x498001 # 0x52d669 fmt.errorf+0xc9 fmt/errors.go:42 # 0x8b21e6 fmt.Errorf+0x2e6 fmt/errors.go:26 # 0x8b21bf github.com/mattermost/go-i18n/i18n/language.newOperands+0x2bf github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/operands.go:68 # 0x8b2687 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 # 0x8fa2b9 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 # 0x8f9cd9 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 # 0x8fc694 github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback.func1+0x34 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:298 # 0x8faba5 github.com/mattermost/mattermost/server/public/shared/i18n.init.func1+0xe5 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:49 # 0xc9d233 github.com/mattermost/mattermost/server/public/model.(*AppError).Translate+0x193 github.com/mattermost/mattermost/server/public/model/utils.go:292 # 0xc9d177 github.com/mattermost/mattermost/server/public/model.NewAppError+0xd7 github.com/mattermost/mattermost/server/public/model/utils.go:374 # 0x2673ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getSharedChannelsService+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/shared_channel.go:35 # 0x267a6c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x47 github.com/mattermost/mattermost/server/v8/channels/app/status.go:74 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 336] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x299bb98 0x299ba09 0x6b76bd 0x6b767b 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299bb97 crypto/internal/fips140/tls13.ExpandLabel[...]+0xd7 crypto/internal/fips140/tls13/tls13.go:32 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6b76bc crypto/internal/fips140/tls13.(*MasterSecret).ClientApplicationTrafficSecret+0x1dc crypto/internal/fips140/tls13/tls13.go:131 # 0x6b767a crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x19a crypto/tls/handshake_client_tls13.go:712 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [25: 200] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 832] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb73145 0xb7231f 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb73144 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xb7231e net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [11: 264] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 384] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [37: 888] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1847b1c 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1440] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x196fc51 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fc50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1424 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 672] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc406b1 0xc40672 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc406b0 path/filepath.Join+0x3d0 path/filepath/path.go:131 # 0xc40671 github.com/mattermost/mattermost/server/public/model.FindManifest+0x391 github.com/mattermost/mattermost/server/public/model/manifest.go:481 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc97866 0xc97867 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97865 github.com/tinylib/msgp/msgp.ReadStringBytes+0x7e5 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97866 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x7e6 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:580 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x493087 0x8b1bf4 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc30b 0x27169c5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x8b1bf3 github.com/mattermost/go-i18n/i18n/language.Parse+0x533 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x194566d 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x194566c 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [30: 12480] @ 0x48dd05 0x428505 0x196e069 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196e068 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0xb68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1284 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 880] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 576] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [32: 1536] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x54c63c 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c63b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1079 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [19: 4256] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 6912] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x2702bda 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x2702bd9 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x239 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:620 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 3264] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 3328] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27267de 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27267dd github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1bbd github.com/mattermost/mattermost/server/v8/channels/web/params.go:280 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 2400] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 192] @ 0x48dd05 0x428505 0x7746bc 0x774687 0x779afa 0x498001 # 0x7746bb bufio.NewWriterSize+0x1bb bufio/bufio.go:598 # 0x774686 net/http.newBufioWriterSize+0x186 net/http/server.go:882 # 0x779af9 net/http.(*conn).serve+0x2f9 net/http/server.go:1982 0: 0 [20: 3200] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1024] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 1008] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x196fe19 0x196fda6 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196fe18 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x798 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196fda5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1427 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1152] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x428505 0x2719891 0x27194c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719890 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x250 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x27194c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2de4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:369 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [27: 3456] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x55a2ec 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1958245 0x19581bc 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1958244 github.com/mattermost/squirrel.SelectBuilder.From+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19581bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:149 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 5120] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x28ca2b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x28ca2b6 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x3b6 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3686 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 13824] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 40960] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1040] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x17eeffe 0x17ed9a9 0x17ed981 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x17eeffd github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x1d github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:43 # 0x17ed9a8 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x68 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x17ed980 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x40 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:135 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18d7055 0x18d702a 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d7054 github.com/mattermost/squirrel.StatementBuilderType.Select+0x114 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d7029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1599 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1536] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 960] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x5522cf 0x551e4d 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 147456] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 7488] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x190442d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190442c 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:501 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 960] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x19e13aa 0x1886552 0x21adf6b 0x21f4534 0x21f40cb 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x19e13a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdateMany+0x109 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:74 # 0x1886551 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdateMany+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13731 # 0x21adf6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdateMany+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10853 # 0x21f4533 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0xd3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:436 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [39: 6240] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a25e39 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 6720] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x223d72b 0x225c134 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d72a github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x40a github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:472 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 560] @ 0x48dd05 0x428505 0x22580ab 0x224c2f6 0x224c2f7 0x224c0d3 0x498001 # 0x22580aa github.com/getsentry/sentry-go.(*Client).sdkInfo+0x4a github.com/getsentry/sentry-go@v0.46.2/client.go:482 # 0x224c2f5 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).resolveSdkInfo+0xd5 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:483 # 0x224c2f6 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0xd6 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:527 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [6: 96] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x493087 0x73e165 0x71cf6f 0x71ce8a 0x71c7b2 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73e164 net/http.(*http2Framer).readMetaFrame.func1+0x304 net/http/h2_bundle.go:3203 # 0x71cf6e vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x6e vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x71ce89 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x429 vendor/golang.org/x/net/http2/hpack/hpack.go:396 # 0x71c7b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [9: 1152] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x428505 0x56e205 0x7799f4 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x7799f3 net/http.(*conn).serve+0x1f3 net/http/server.go:1976 0: 0 [20: 4160] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a06585 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a06584 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:482 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [11: 8448] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 1440] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 15232] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 400] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xc8b358 0xc8b359 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b357 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b358 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196fc51 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fc50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1424 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 96] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 576] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 1584] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 2688] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x19ea7fe 0x19ea7a3 0x19ea7b1 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19ea7fd github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x9d github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x19ea7a2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x19ea7b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:40 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 720] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x286542d 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x286542c github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x8c github.com/mattermost/mattermost/server/v8/channels/api4/system.go:148 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247745 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247744 github.com/lib/pq/scram.(*Client).clientProof+0x44 github.com/lib/pq@v1.12.3/scram/scram.go:232 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 6144] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x28c7a31 0x28c79c6 0x28c79a8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28c7a30 net/textproto.MIMEHeader.Set+0x210 net/textproto/header.go:22 # 0x28c79c5 net/http.Header.Set+0x1a5 net/http/header.go:40 # 0x28c79a7 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x492ae9 0x54295f 0x8fc228 0x8fc1de 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc227 strings.Split+0x127 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x18476bc 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 14592] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f71ff 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f71fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0xde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 72] @ 0x48dd05 0x492ae9 0xc84b7a 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84b79 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xd79 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:556 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1a02a2e 0x1a02a19 0x1a02a18 0x1a032a9 0x188c725 0x21b5125 0x26be6e4 0x1309f10 0x498001 # 0x1a02a2d github.com/mattermost/squirrel.newPart+0xed github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a02a18 github.com/mattermost/squirrel.SelectBuilder.From+0xd8 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a02a17 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0xd7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:128 # 0x1a032a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalThreads+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:177 # 0x188c724 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15450 # 0x21b5124 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalThreads+0xc4 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12194 # 0x26be6e3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func2+0xe3 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2906 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x18468ff 0x1a04734 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a04733 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x373 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:290 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d106d 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d106c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x28c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1171 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x78f52d 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x78f52c net/http.(*Transport).getConn+0x16c net/http/transport.go:1529 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196a345 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196a344 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x324 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:927 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 196608] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 2310144] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 393216] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x97de4f 0x97d576 0x1330d17 0x1330d01 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x97de4e compress/zlib.(*reader).Reset+0x4ce compress/zlib/reader.go:174 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1330d16 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x1330d00 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28bb6e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28bb6e4 github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x264 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2516 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [37: 592] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x61e291 0x61b973 0x604c05 0x6058a5 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x61e290 net.(*Resolver).lookupIPAddr+0x8d0 net/lookup.go:311 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [4: 64] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x547433 0x546e85 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x547432 encoding/json.(*decodeState).scanWhile+0x72 encoding/json/decode.go:301 # 0x546e84 encoding/json.(*decodeState).unmarshal+0x104 encoding/json/decode.go:180 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x492ae9 0x139d13b 0x139d07b 0x139d851 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x191f832 0x1868fc7 0x2150cf8 0x218c56d 0x25116b0 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139d13a github.com/jmoiron/sqlx.bindArgs+0x5a github.com/jmoiron/sqlx@v1.4.0/named.go:174 # 0x139d07a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x139d850 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x191f831 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 # 0x1868fc6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5757 # 0x2150cf7 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 # 0x218c56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4712 # 0x25116af github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x112f github.com/mattermost/mattermost/server/v8/channels/app/file.go:858 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1990656] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x428505 0x13345db 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13345da image/png.(*decoder).parseChunk+0x31a image/png/reader.go:934 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x6f8efc 0x27d18f5 0x27d1a06 0x27d371e 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f8efb mime.ParseMediaType+0x3fb mime/mediatype.go:189 # 0x27d18f4 github.com/mattermost/mattermost/server/v8/channels/api4.parseMultipartRequestHeader+0x34 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:52 # 0x27d1a05 github.com/mattermost/mattermost/server/v8/channels/api4.multipartReader+0x25 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:65 # 0x27d371d github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:226 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 7168] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1152] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0718f 0x1a07106 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0718e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a07105 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:430 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1a0629d 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0629c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x37c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:439 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x606099 0x60575b 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x606098 net.(*Dialer).dialCtx+0x1f8 net/dial.go:585 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [4: 192] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 432] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726747 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726746 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1b26 github.com/mattermost/mattermost/server/v8/channels/web/params.go:276 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1024] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 9216] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0xc2d1ba 0x27bc26c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc2d1b9 github.com/mattermost/mattermost/server/public/model.CPAFieldsFromPropertyFields+0x119 github.com/mattermost/mattermost/server/public/model/custom_profile_attributes.go:259 # 0x27bc26b github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x22b github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1280] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846fbc 0x196fadc 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fadb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x45b github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1024] @ 0x48dd05 0x493087 0x212845a 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2128459 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x739 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184c99b 0x184c893 0x1944e77 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1944e76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 32] @ 0x48dd25 0x48d69b 0x2120125 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2120124 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:125 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1024] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97bee 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 3712] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 31488] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 1056] @ 0x48dd05 0x428505 0x62b192 0x6136bb 0x62ba7b 0x62ad10 0x77f64c 0x266234d 0x498001 # 0x62b191 net.sockaddrToTCP+0x71 net/tcpsock_posix.go:21 # 0x6136ba net.(*netFD).accept+0x25a net/fd_unix.go:167 # 0x62ba7a net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x62ad0f net.(*TCPListener).Accept+0x2f net/tcpsock.go:387 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x266234c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x26c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1179 0: 0 [6: 2688] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 5632] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x778d57 0x778baa 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x778d56 net/http.(*response).write+0x116 net/http/server.go:1644 # 0x778ba9 net/http.(*response).Write+0x29 net/http/server.go:1621 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 896] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 528] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c7ad 0x1253585 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c7ac github.com/lib/pq.parsePortalRowDescribe+0x12c github.com/lib/pq@v1.12.3/conn.go:1795 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd2c 0x4752f7 0xc97212 0xc97213 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97211 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97212 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 6144] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd05 0x492ae9 0x21f0abc 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0abb github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 4960] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 192] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x18d25d2 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d25d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1600] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 7168] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e2272 0x18e222a 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e2271 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x271 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e2229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x229 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2450 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x557466 0x556e3d 0x5469d4 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 512] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ef2 0x271707f 0x271706e 0x2717033 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x271707e net/textproto.MIMEHeader.Set+0x99e net/textproto/header.go:22 # 0x271706d net/http.Header.Set+0x98d net/http/header.go:40 # 0x2717032 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x952 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:225 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x428505 0x792b75 0x790332 0x790175 0x498001 # 0x792b74 net/http.(*Transport).dialConn+0x1ad4 net/http/transport.go:1987 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [14: 10752] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x1a114b4 0x188dbdb 0x21b680b 0x2664dff 0x2664317 0xc7b03a 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x1a114b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTokenStore.Cleanup+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/tokens_store.go:97 # 0x188dbda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTokenStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15763 # 0x21b680a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTokenStore).Cleanup+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12434 # 0x2664dfe github.com/mattermost/mattermost/server/v8/channels/app.doTokenCleanup+0x7e github.com/mattermost/mattermost/server/v8/channels/app/server.go:1367 # 0x2664316 github.com/mattermost/mattermost/server/v8/channels/app.runTokenCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1288 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [26: 8320] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 8064] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d1d5f 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1d5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x2fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1227 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2835e29 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2835e28 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xa8 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:176 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 12544] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 4608] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x1990bc5 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990bc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 2432] @ 0x48dd05 0x492ae9 0x72e507 0x25e9cfb 0x25e9cf2 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x25e9cfa net/http.(*Request).Cookies+0x4ba net/http/request.go:429 # 0x25e9cf1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x4b1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:195 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 2176] @ 0x48dd05 0x493087 0x1904afd 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x8dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 29184] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x19e0d9c 0x19e0cd3 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x19e0d9b github.com/mattermost/squirrel.InsertBuilder.Columns+0x1fb github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 256] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x299b94d 0x299b525 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x299b94c crypto/internal/fips140/tls13.deriveSecret[...]+0x6c crypto/internal/fips140/tls13/tls13.go:51 # 0x299b524 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x184ab0e 0x184babf 0x19dc226 0x1a0c6ad 0x1a0b6a5 0x188d9f5 0x21b658e 0x26c0853 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184ab0d github.com/mattermost/squirrel.(*updateData).ToSql+0x64d github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1a0c6ac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).updateMembership+0x82c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:752 # 0x1a0b6a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).UpdateMembership+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:715 # 0x188d9f4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).UpdateMembership+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15723 # 0x21b658d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).UpdateMembership+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12402 # 0x26c0852 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x272 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3152 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 8352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19036a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19036a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xa24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:438 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a06f1b 0x1a06e84 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a06f1a github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06e83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 48] @ 0x48dd05 0x428505 0x8fc610 0x8fc3b0 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8fc60f github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x2f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:297 # 0x8fc3af github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x2af github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:276 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 400] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x288075d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x288075c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x21c github.com/mattermost/mattermost/server/v8/channels/api4/team.go:640 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x224c42a 0x224c0d3 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x224c429 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x209 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:532 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd2c 0x428505 0xbd7991 0xbd7934 0xc9d313 0xc9d330 0x20df233 0x20def8e 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0xbd7990 github.com/google/uuid.NewRandomFromReader+0x30 github.com/google/uuid@v1.6.0/version4.go:48 # 0xbd7933 github.com/google/uuid.NewRandom+0x53 github.com/google/uuid@v1.6.0/version4.go:41 # 0xc9d312 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc9d32f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x20df232 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer)._createJob+0x52 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:65 # 0x20def8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:38 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [14: 2016] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e2376 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x18e2375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x375 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 256] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 8640] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19981b4 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19981b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x1b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x78f51e 0x78f51f 0x78b4bf 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x259693f 0x259692e 0x286eaef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x78f51d context.WithoutCancel+0x15d context/context.go:589 # 0x78f51e net/http.(*Transport).getConn+0x15e net/http/transport.go:1529 # 0x78b4be net/http.(*Transport).roundTrip+0xa7e net/http/transport.go:693 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x259693e net/http.(*Client).Do+0x65e net/http/client.go:592 # 0x259692d github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAckToPushProxy+0x64d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:582 # 0x286eaee github.com/mattermost/mattermost/server/v8/channels/api4.pushNotificationAck+0xdee github.com/mattermost/mattermost/server/v8/channels/api4/system.go:726 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x660e15 0x6610bb 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x660e14 crypto/x509.(*policyGraph).incrDepth+0x4f4 crypto/x509/verify.go:1166 # 0x6610ba crypto/x509.policiesValid+0x79a crypto/x509/verify.go:1233 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6bc6e5 0x6bc6af 0x5ccbc4 0x5cd01c 0x6bc192 0x6bbbfe 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bc6e4 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x2c4 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6bc6ae crypto/tls.(*clientHelloMsg).marshalMsg.func18+0x28e crypto/tls/handshake_messages.go:361 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bc191 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint24LengthPrefixed+0x3151 vendor/golang.org/x/crypto/cryptobyte/builder.go:156 # 0x6bbbfd crypto/tls.(*clientHelloMsg).marshalMsg+0x2bbd crypto/tls/handshake_messages.go:348 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 1152] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19727b3 0x197274b 0x1875367 0x219a1d9 0x2606ee5 0x26c07eb 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19727b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x197274a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsByThread+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1693 # 0x1875366 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsByThread+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8904 # 0x219a1d8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsByThread+0x78 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7143 # 0x2606ee4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).countThreadMentions+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2406 # 0x26c07ea github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x20a github.com/mattermost/mattermost/server/v8/channels/app/user.go:3148 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x18e6165 0x18e60b2 0x18e5fd9 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x18e6164 github.com/lann/builder.Append+0xf04 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18e60b1 github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xe51 github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x18e5fd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xd78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2775 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a0482a 0x1a04806 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1a04829 github.com/mattermost/squirrel.SelectBuilder.Join+0x469 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a04805 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:295 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a06e69 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 128] @ 0x48dd05 0x428505 0x18476bc 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x224c42a 0x224c0d3 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x224c429 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x209 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:532 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 120] @ 0x48dd05 0x428505 0x758452 0x756c4d 0x7561f8 0x498001 # 0x758451 net/http.(*http2clientStream).writeRequestBody+0x191 net/http/h2_bundle.go:9166 # 0x756c4c net/http.(*http2clientStream).writeRequest+0xa0c net/http/h2_bundle.go:8833 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [18: 5184] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a25dd7 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25dd6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1152] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 8064] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbed209 0xbed1fd 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbed208 github.com/vmihailenco/msgpack/v5.GetEncoder+0x28 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:51 # 0xbed1fc github.com/vmihailenco/msgpack/v5.Marshal+0x1c github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:61 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 5632] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x75b4a5 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b4a4 net/http.(*http2clientConnReadLoop).handleResponse+0x2c4 net/http/h2_bundle.go:9689 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x79a799 0x79a846 0x728bab 0x727a73 0x1395f9d 0x1395f90 0x2631589 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x79a798 net/http.Header.Clone+0x1b8 net/http/header.go:114 # 0x79a845 net/http.cloneOrMakeHeader+0x265 net/http/clone.go:116 # 0x728baa net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:764 # 0x727a72 net/http.(*Client).do+0x232 net/http/client.go:614 # 0x1395f9c net/http.(*Client).Do+0x33c net/http/client.go:592 # 0x1395f8f github.com/mattermost/mattermost/server/v8/channels/utils.GetURLWithCache+0x32f github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:146 # 0x2631588 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x828 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:344 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 1536] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 2880] @ 0x48dd05 0x428505 0x7736af 0x7736ba 0x773d6b 0x57b3c3 0x57be69 0x57c0a5 0x6f006d 0x79aa45 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x7736ae sync.NewCond+0x4e sync/cond.go:49 # 0x7736b9 net/http.(*connReader).lock+0x59 net/http/server.go:675 # 0x773d6a net/http.(*connReader).Read+0x2a net/http/server.go:780 # 0x57b3c2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x57be68 bufio.(*Reader).ReadSlice+0x28 bufio/bufio.go:377 # 0x57c0a4 bufio.(*Reader).ReadLine+0x24 bufio/bufio.go:406 # 0x6f006c net/textproto.(*Reader).readLineSlice+0xac net/textproto/reader.go:64 # 0x79aa44 net/textproto.(*Reader).ReadLine+0xa4 net/textproto/reader.go:44 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [10: 3200] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [12: 3840] @ 0x48dd05 0x492ae9 0x223d83b 0x225c15b 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d83a github.com/getsentry/sentry-go/internal/otel/baggage.Baggage.Members+0x5a github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:522 # 0x225c15a github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x5a github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:27 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2825227 0x2825174 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2825226 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x1006 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x2825173 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xf53 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:910 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196684a 0x196679d 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1966849 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x629 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196679c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x57c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:641 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0x5504e9 0x54dd73 0x54db31 0x54d47e 0xca6bee 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6bed github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x2d github.com/mattermost/mattermost/server/public/model/channel.go:575 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 1776] @ 0x48dd05 0x428505 0xbed22a 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbed229 github.com/vmihailenco/msgpack/v5.Marshal+0x49 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:63 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 208] @ 0x48dd25 0x4752f7 0x4e339d 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e339c os.(*File).readdir+0x4bc os/dir_unix.go:141 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 320] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x4ce234 0x18444c5 0x1844e7b 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1844e7a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:73 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 336] @ 0x48dd2c 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 4032] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 5376] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 368] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 13824] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 448] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3072] @ 0x48dd0c 0x493087 0x471429 0x18c61fa 0x18e9c77 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c61f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x839 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18e9c76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x116 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1344] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x28ca7a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x28ca7a8 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x8a8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3703 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2112] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28ca3ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28ca3fe github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x4fe github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 655360] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 24576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x121c54a 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x121c549 code.sajari.com/docconv/v2.ConvertHTML+0x49 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:20 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5bdaae 0x659859 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5bdaad encoding/asn1.ObjectIdentifier.String+0x4d encoding/asn1/asn1.go:234 # 0x659858 crypto/x509.parseCertificate+0x1118 crypto/x509/parser.go:1047 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd2c 0x4930f3 0xb8f1dd 0xb90c5d 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8f1dc github.com/mattermost/mattermost/server/public/shared/markdown.ParseLines+0x1fc github.com/mattermost/mattermost/server/public/shared/markdown/lines.go:29 # 0xb90c5c github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x1c github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:154 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 9856] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x262c605 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x262c604 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:38 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 608] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 43776] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28002b2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28002b1 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x271 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 10368] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x261b67d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x428505 0xb87cad 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87cac github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x86c github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:112 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 320] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 2016] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 384] @ 0x48dd05 0x428505 0x5ccf85 0x6bb37a 0x6bb207 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bb379 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2339 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb206 crypto/tls.(*clientHelloMsg).marshalMsg+0x21c6 crypto/tls/handshake_messages.go:257 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x1a0f173 0x188c392 0x21b4d6b 0x26c06ea 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0f172 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadUnreadReplyCount+0x412 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:1053 # 0x188c391 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadUnreadReplyCount+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15408 # 0x21b4d6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadUnreadReplyCount+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12162 # 0x26c06e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x109 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3139 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a0884b 0x188c11b 0x21b4acf 0x26bebfa 0x26c0985 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0884a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadForUser+0x98a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:586 # 0x188c11a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15366 # 0x21b4ace github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12130 # 0x26bebf9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadForUser+0xd9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2988 # 0x26c0984 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3163 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18476ab 0x196a2ee 0x1875e88 0x219ad32 0x25ff358 0x26c079a 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196a2ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x2cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:924 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26c0799 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x1b9 github.com/mattermost/mattermost/server/v8/channels/app/user.go:3144 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2479289 0x28cbbff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28cbbfe github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x6de github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3798 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a0aa2e 0x1a0a9d0 0x1a0a9ce 0x188d422 0x21b5f47 0x26c08db 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a0aa2d github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xad github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a0a9cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x4f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a0a9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).MarkAsRead+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:686 # 0x188d421 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).MarkAsRead+0x81 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15639 # 0x21b5f46 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).MarkAsRead+0x86 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12338 # 0x26c08da github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x2fa github.com/mattermost/mattermost/server/v8/channels/app/user.go:3159 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 28416] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 16] @ 0x48dd05 0x493087 0x184a88c 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184a88b github.com/mattermost/squirrel.(*updateData).ToSql+0x3cb github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 432] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x199a811 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x199a810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:148 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 9920] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4ffe 0x13a5628 0x19ddc8c 0x19ddc44 0x18def2e 0x18dee81 0x185aa3d 0x217bd69 0x249e252 0x276d0b4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4ffd github.com/jmoiron/sqlx.scanAll+0x99d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:988 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18def2d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x12d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18dee80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelMembersTimezones+0x80 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2129 # 0x185aa3c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelMembersTimezones+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2052 # 0x217bd68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelMembersTimezones+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1763 # 0x249e251 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersTimezones+0x71 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2485 # 0x276d0b3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x1b3 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1876 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x1133c86 0x1133c7e 0x211dda2 0x21142bd 0x249f3a9 0x2761f8c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x21142bc 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 # 0x249f3a8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelPinnedPostCount+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2584 # 0x2761f8b github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x2eb github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1004 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x79747e 0x797472 0x78b4fa 0x79b318 0x130d45e 0x72642b 0x725c78 0x728217 0x25959d3 0x25959c2 0x2595fb0 0x2591945 0x258fcd9 0x2594f9c 0x498001 # 0x79747d net/http.(*transportRequest).extraHeaders+0x2dd net/http/transport.go:536 # 0x797471 net/http.(*persistConn).roundTrip+0x2d1 net/http/transport.go:2858 # 0x78b4f9 net/http.(*Transport).roundTrip+0xab9 net/http/transport.go:704 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x130d45d github.com/mattermost/mattermost/server/public/shared/httpservice.(*MattermostTransport).RoundTrip+0xfd github.com/mattermost/mattermost/server/public/shared/httpservice/transport.go:20 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x25959d2 net/http.(*Client).Do+0x452 net/http/client.go:592 # 0x25959c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).rawSendToPushProxy+0x441 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:505 # 0x2595faf github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendToPushProxy+0x1ef github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:530 # 0x2591944 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1be4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:187 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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: 6912] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [13: 29952] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 32768] @ 0x48dd2c 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [5: 778240] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 753664] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4562944] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd05 0x428505 0x8f9c07 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc3b0 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8f9c06 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x166 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc3af github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x2af github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:276 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 104448] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x2478173 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2464] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 384] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [2: 1280] @ 0x48dd0c 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 240] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [40: 12800] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 64] @ 0x48dd05 0x428505 0xb59006 0xb59850 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb5984f encoding/gob.(*Decoder).decOpFor+0x90f encoding/gob/decode.go:865 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [7: 560] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 1600] @ 0x48dd05 0x428505 0xccbc68 0xccbc5c 0xccbc38 0x264b649 0x266cce5 0xc7b03a 0x498001 # 0xccbc67 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x47 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbc5b github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x3b github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0xccbc37 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x17 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x264b648 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessScheduledPosts+0x168 github.com/mattermost/mattermost/server/v8/channels/app/scheduled_post_job.go:26 # 0x266cce4 github.com/mattermost/mattermost/server/v8/channels/app.doRunScheduledPostJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1977 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 128] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x547433 0x546e85 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x547432 encoding/json.(*decodeState).scanWhile+0x72 encoding/json/decode.go:301 # 0x546e84 encoding/json.(*decodeState).unmarshal+0x104 encoding/json/decode.go:180 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 168] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1990a54 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990a53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1920] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 320] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 6624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x190327c 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190327b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:426 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 768] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [9: 1440] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3072] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x196a4fb 0x1875e88 0x219ad32 0x25ff358 0x26089ad 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x25ff357 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSinglePost+0x97 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1419 # 0x26089ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x4c github.com/mattermost/mattermost/server/v8/channels/app/post.go:2642 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd05 0x428505 0xb59654 0xb59609 0xb59608 0xb598d7 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59653 errors.New+0x713 errors/errors.go:65 # 0xb59608 encoding/gob.overflow+0x6c8 encoding/gob/decode.go:109 # 0xb59607 encoding/gob.(*Decoder).decOpFor+0x6c7 encoding/gob/decode.go:885 # 0xb598d6 encoding/gob.(*Decoder).decOpFor+0x996 encoding/gob/decode.go:866 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 16] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 7488] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x6937de 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x6937dd crypto/tls.verifyHandshakeSignature+0x7d crypto/tls/auth.go:24 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [15: 360] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x550e0a 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 192] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 4032] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x22464ca 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x22464c9 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x69 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18d1ca5 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1ca4 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x244 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x276df54 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276df53 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x373 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1945 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 2880] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x249b48e 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x249b48d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0xed github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2174 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 461312] @ 0x48dd0c 0x428505 0x136e476 0x137d69c 0x137d7e5 0x138fa0e 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x136e475 github.com/yuin/goldmark/parser.NewParser+0xf5 github.com/yuin/goldmark@v1.8.2/parser/parser.go:759 # 0x137d69b github.com/yuin/goldmark.DefaultParser+0x2db github.com/yuin/goldmark@v1.8.2/markdown.go:16 # 0x137d7e4 github.com/yuin/goldmark.New+0x24 github.com/yuin/goldmark@v1.8.2/markdown.go:102 # 0x138fa0d github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x16d github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:21 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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 [21: 1680] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbedd76 0xbeeb75 0xbee9dc 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbedd75 github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x115 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:204 # 0xbeeb74 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMap+0xf4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:107 # 0xbee9db github.com/vmihailenco/msgpack/v5.encodeMapStringInterfaceValue+0xdb github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:93 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x412f72 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 408] @ 0x48dd2c 0x4752f7 0x6f20c7 0x6f1ef2 0x25e9c86 0x25e9c75 0x25e9c4f 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x25e9c85 net/textproto.MIMEHeader.Del+0x445 net/textproto/header.go:55 # 0x25e9c74 net/http.Header.Del+0x434 net/http/header.go:81 # 0x25e9c4e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x40e github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:190 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd05 0x48d725 0x18468ff 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x128c199 0x12ec124 0x25f2f9a 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x25f09b7 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x128c198 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).MessageWillBePosted+0x98 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:896 # 0x12ec123 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).MessageWillBePosted+0x63 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:94 # 0x25f2f99 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost.func4+0x79 github.com/mattermost/mattermost/server/v8/channels/app/post.go:325 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x25f09b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x13d6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:324 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 8960] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [95: 1811840] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1841463 0x1842679 0x1989c3f 0x1988dda 0x1879b84 0x219f4c4 0x262d28e 0x2833854 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x1989c3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.saveTx+0x5de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:102 # 0x1988dd9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPreferenceStore.Save+0x1b9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/preference_store.go:53 # 0x1879b83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10107 # 0x219f4c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Save+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8070 # 0x262d28d github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdatePreferences+0x1ed github.com/mattermost/mattermost/server/v8/channels/app/preference.go:52 # 0x2833853 github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x9f3 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:143 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x19980e5 0x19980c7 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19980e4 github.com/mattermost/squirrel.newPart+0xe4 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x19980c6 github.com/mattermost/squirrel.SelectBuilder.From+0xc6 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1943310 0x194324d 0x1942fd2 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x194330f github.com/lann/builder.Append+0x6af github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194324c github.com/mattermost/squirrel.InsertBuilder.Values+0x5ec github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x1942fd1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x371 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:67 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [13: 104] @ 0x48dd05 0x428505 0x4e87af 0x4e8afd 0x4e64de 0xc406cb 0xc406c2 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e87ae os.newFile+0x4e os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc406ca os.Open+0x3ea os/file.go:390 # 0xc406c1 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3e1 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd05 0x41d56d 0x99f49f 0x99f4c6 0x99f6e5 0x498001 # 0x99f49e github.com/hashicorp/yamux.(*Session).waitForSend+0x11e github.com/hashicorp/yamux@v0.1.2/session.go:384 # 0x99f4c5 github.com/hashicorp/yamux.(*Session).Ping+0x145 github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [13: 2080] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 143616] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2016] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [35: 13440] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x4ce4d8 0x4ce4cc 0x7785a5 0x7729a9 0x779085 0x779e95 0x498001 # 0x4ce4d7 io.LimitReader+0x37 io/io.go:461 # 0x4ce4cb io.CopyN+0x2b io/io.go:364 # 0x7785a4 net/http.(*chunkWriter).writeHeader+0x1ca4 net/http/server.go:1418 # 0x7729a8 net/http.(*chunkWriter).close+0x28 net/http/server.go:410 # 0x779084 net/http.(*response).finishRequest+0x64 net/http/server.go:1673 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184816c 0x184809b 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 368] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x76be3c 0x2249fb5 0x224c44f 0x224c0d3 0x498001 # 0x76be3b net/http.NewRequestWithContext+0x25b net/http/request.go:919 # 0x2249fb4 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1f4 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [8: 640] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x428505 0xc5bb05 0x2621465 0x2621a2b 0x261fb2d 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5bb04 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x184 github.com/mattermost/mattermost/server/public/model/post.go:981 # 0x2621464 github.com/mattermost/mattermost/server/v8/channels/app.getEmojiNamesForPost+0x124 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:700 # 0x2621a2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getCustomEmojisForPost+0x6a github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:735 # 0x261fb2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x8c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:533 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 10752] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 400] @ 0x48dd05 0x493087 0x2702a74 0x2702aa2 0x27029e5 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2702a73 net/textproto.MIMEHeader.Add+0xd3 net/textproto/header.go:15 # 0x2702aa1 net/http.Header.Add+0x101 net/http/header.go:31 # 0x27029e4 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:612 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2448] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 802816] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [7: 34048] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1966a2c 0x1968ca7 0x187358e 0x2197fa2 0x25ff76c 0x2824a8b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1966a2b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostWithCollapsedThreads+0x80b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:645 # 0x1968ca6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Get+0x10c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:748 # 0x187358d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Get+0x12d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8451 # 0x2197fa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Get+0x121 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6775 # 0x25ff76b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostThread+0x1eb github.com/mattermost/mattermost/server/v8/channels/app/post.go:1449 # 0x2824a8a github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x86a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:862 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18e9c92 0x18e9c43 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e9c91 github.com/mattermost/squirrel.StatementBuilderType.Select+0x131 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e9c42 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3063 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0xb8ab93 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8ab92 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x452 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:213 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18d7505 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18d7504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x5c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1618 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28045da 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28045d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28045da 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28045d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x4246eb 0x212b56a 0x249e986 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249e985 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x65 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x28aba25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28aba24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1149 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [60: 1920] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x28ec8ed 0x28330fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x28ec8ec github.com/mattermost/mattermost/server/public/model.StructFromJSONLimited[...]+0xac github.com/mattermost/mattermost/server/public/model/utils.go:602 # 0x28330fd github.com/mattermost/mattermost/server/v8/channels/api4.updatePreferences+0x29d github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 13824] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1990a54 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990a53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [204: 52224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18451d5 0x1844d18 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18451d4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x454 github.com/mattermost/squirrel@v0.5.0/select.go:112 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 640] @ 0x48dd05 0x428505 0x2265f9f 0x2265efb 0x266369a 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2265f9e io.TeeReader+0x17e io/io.go:619 # 0x2265efa github.com/getsentry/sentry-go.(*Scope).SetRequest+0xda github.com/getsentry/sentry-go@v0.46.2/scope.go:140 # 0x2663699 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2d9 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:120 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x25d4b05 0x127ee08 0x12c8e95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x25d4b04 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).RolesGrantPermission+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1132 # 0x127ee07 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).RolesGrantPermission+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1074 # 0x12c8e94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).RolesGrantPermission+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6395 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 768] @ 0x48dd2c 0x492ae9 0x597973 0x5dfd9b 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x597972 math/big.(*Int).Bytes+0x32 math/big/int.go:531 # 0x5dfd9a crypto/rsa.fipsPublicKey+0x1a crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ced17 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ced16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:983 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1920f7d 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1920f7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 6272] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 4480] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x18e9ebc 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e9ebb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3077 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x191fbfb 0x191fb95 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x191fbfa github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x191fb94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x294 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:146 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0xb8855b 0xb9074f 0xb88375 0xb87906 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8855a github.com/mattermost/mattermost/server/public/shared/markdown.blockStartOrParagraph+0x9a github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:151 # 0xb9074e github.com/mattermost/mattermost/server/public/shared/markdown.listStart+0x42e github.com/mattermost/mattermost/server/public/shared/markdown/list.go:215 # 0xb88374 github.com/mattermost/mattermost/server/public/shared/markdown.blockStart+0xd4 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:135 # 0xb87905 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x4c5 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:77 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a06cc7 0x1a06c46 0x1a06c44 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a06cc6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a06c45 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a06c43 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:440 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a070c7 0x1a07046 0x1a07044 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a070c6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a07045 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a07043 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:428 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [20: 320] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2616787 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2616786 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x86 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:156 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 288] @ 0x48dd05 0x492ae9 0x54295f 0x223b853 0x223b83a 0x223d4d3 0x225c134 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223b852 strings.SplitN+0x1d2 strings/strings.go:333 # 0x223b839 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:296 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [60: 1440] @ 0x48dd05 0x428505 0x520cb5 0xb5819b 0xb59c93 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [19: 3952] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 3840] @ 0x48dd05 0x493087 0x21f181f 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f181e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0xdfe github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:199 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19034c5 0x1903491 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19034c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x844 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903490 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:432 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 4160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 4224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212d62a 0x269528b 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212d629 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Team+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:551 # 0x269528a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0x8a github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x19038ad 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19038ac github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc2c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 1680] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [6: 2112] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x64c5db 0x64c39a 0x6b2a75 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x64c5da crypto/x509.(*CertPool).addCertFunc+0x27a crypto/x509/cert_pool.go:210 # 0x64c399 crypto/x509.(*CertPool).AddCert+0x39 crypto/x509/cert_pool.go:184 # 0x6b2a74 crypto/tls.(*Conn).verifyServerCertificate+0xa74 crypto/tls/handshake_client.go:1156 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1947e2f 0x1947da6 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1947e2e github.com/mattermost/squirrel.SelectBuilder.From+0x18e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1947da5 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [12: 192] @ 0x48dd05 0x48d725 0x18468ff 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 608] @ 0x48dd05 0x4246eb 0x1846b2b 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x199ad26 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ad25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 15360] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x275e535 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x275e534 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xa14 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:651 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1a2849b 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x28a2a32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a2849a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1365 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x28a2a31 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x71 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:358 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [412: 237312] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [652: 584192] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [34: 10880] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 544] @ 0x48dd05 0x4246eb 0x18476ab 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [76: 8512] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 880] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [13: 312] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc403f9 0xc40394 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc403f8 path/filepath.Join+0x118 path/filepath/path.go:131 # 0xc40393 github.com/mattermost/mattermost/server/public/model.FindManifest+0xb3 github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [70: 1120] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1152] @ 0x48dd0c 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 2016] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [127: 22352] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19c994d 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [52: 4160] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 720] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [8: 1792] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [7: 336] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca16e5 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca16e4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:248 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [15: 2880] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca172d 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca172c github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0x10c github.com/mattermost/mattermost/server/public/model/websocket_message.go:250 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1ccb2d0 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x1ccb2cf github.com/gorilla/mux.(*Route).Match+0x2ef github.com/gorilla/mux@v1.8.1/route.go:102 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [177: 5664] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [24: 3456] @ 0x48dd05 0x48de45 0x52107d 0xb54cc5 0xb5685c 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb54cc4 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xb5685b encoding/gob.(*Decoder).decodeStruct+0x25b encoding/gob/decode.go:491 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [401: 205312] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x54295f 0x223d459 0x223d45f 0x225c134 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223d458 strings.Split+0x138 strings/strings.go:361 # 0x223d45e github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x13e github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:466 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [189: 54432] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19c97f5 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c97f4 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [104: 66560] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [15: 720] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 48] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x195d9a8 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195d9a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [164: 41984] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 480] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 1200] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [126: 22176] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [710: 727040] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 2688] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d1e8a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1e89 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x281c025 0x281bfe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x281c024 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0x904 github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x281bfe4 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x8c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:148 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [227: 72640] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0xccbe47 0x19c9b25 0x19c9b0e 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0xccbe46 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x66 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x19c9b24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x404 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x19c9b0d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [58: 4640] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [235: 67680] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 3168] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x225c2ce 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c2cd github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x1cd github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:30 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e221c 0x18e21d4 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e221b github.com/mattermost/squirrel.SelectBuilder.Join+0x21b github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x18e21d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x1d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2449 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [37: 1776] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 1152] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [60: 3840] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 933888] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [2: 192] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [92: 10304] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1728] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [455: 29818880] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [424: 244224] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 480] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28002b2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28002b1 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x271 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 143360] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d25d2 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d25d1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb71 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1258 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18df465 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18df464 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2158 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 832] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0xc61592 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x261b67d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b67c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x5c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:58 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 4320] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 7216] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [4: 448] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 6144] @ 0x48dd05 0x428505 0x261cc45 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261cc44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:197 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2080] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [90: 43200] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [16: 2304] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [10: 480] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 528] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 3072] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [198: 57024] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19c9878 0x1882bae 0x21a9c7a 0x21ec0f3 0x266fa93 0x25cefd3 0x12772be 0x12abe35 0x51716c 0x516019 0xb75014 0x498001 # 0x19c9877 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21ec0f2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionByID+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:149 # 0x266fa92 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessionById+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:250 # 0x25cefd2 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetSession+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:332 # 0x12772bd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetSession+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:236 # 0x12abe34 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetSession+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2881 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x521209 0x51dac6 0xb587fd 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x521208 reflect.Value.assignTo+0x108 reflect/value.go:3202 # 0x51dac5 reflect.Value.Set+0xe5 reflect/value.go:2158 # 0xb587fc encoding/gob.(*Decoder).decodeInterface+0x4dc encoding/gob/decode.go:726 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [126: 3024] @ 0x48dd05 0x428505 0x520cb5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [37: 592] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 160] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb57403 0xb57857 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [6: 480] @ 0x48dd05 0x428505 0x27376de 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27376dd github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xfd github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:28 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3584] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a03047 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a03046 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0xe6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:159 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 320] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x428505 0x99f8e5 0x9a3333 0x9a26aa 0x57b8f7 0x4ce38e 0xb546d1 0xb546a2 0xb5d093 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a3332 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x212 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x9a26a9 github.com/hashicorp/yamux.(*Stream).Read+0x569 github.com/hashicorp/yamux@v0.1.2/stream.go:132 # 0x57b8f6 bufio.(*Reader).Read+0x196 bufio/bufio.go:245 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0xb546d0 io.ReadFull+0x50 io/io.go:354 # 0xb546a1 encoding/gob.decodeUintReader+0x21 encoding/gob/decode.go:116 # 0xb5d092 encoding/gob.(*Decoder).recvMessage+0x32 encoding/gob/decoder.go:84 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [8: 5632] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [15: 3840] @ 0x48dd05 0x493087 0x1904afd 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x8dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 8448] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 288] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 7040] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [37: 1184] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f71a5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [39: 1248] @ 0x48dd2c 0x4752f7 0xc8b257 0xc8b258 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b256 github.com/tinylib/msgp/msgp.ReadStringBytes+0x96 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b257 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:156 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x428505 0xc5bb05 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc5bb04 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x184 github.com/mattermost/mattermost/server/public/model/post.go:981 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1040] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 5760] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x247d527 0x25f62d7 0x21d4da2 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x247d526 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x126 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:39 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19033eb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19033ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1584] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3072] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5513b0 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x196f74c 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196f74b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0xcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1409 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1664] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 9216] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0xc99d65 0x1134f0f 0x1133d85 0x211e0a2 0x2127c29 0x2581463 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0xc99d64 github.com/mattermost/mattermost/server/public/model.(*UserMap).UnmarshalMsg+0x244 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:851 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127c28 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 # 0x2581462 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: 128] @ 0x48dd05 0x428505 0x26bc8b6 0x26bc89f 0x27372f9 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26bc8b5 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x75 github.com/mattermost/mattermost/server/public/model/websocket_message.go:290 # 0x26bc89e github.com/mattermost/mattermost/server/v8/channels/app.(*App).PublishUserTyping+0x5e github.com/mattermost/mattermost/server/v8/channels/app/user.go:2801 # 0x27372f8 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x4d8 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:39 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 34048] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1337d45 0x1b2a610 0x2513c1d 0x498001 # 0x1337d44 image/png.(*Encoder).Encode+0x104 image/png/writer.go:606 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [2: 114688] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x18d0f25 0x18d0ecd 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d0f24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d0ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 13440] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 2112] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 81920] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3840] @ 0x48dd05 0x428505 0x697790 0x7909e5 0x7909ce 0x791a9c 0x790332 0x790175 0x498001 # 0x69778f crypto/tls.(*Config).Clone+0x8f crypto/tls/common.go:1002 # 0x7909e4 net/http.cloneTLSConfig+0x64 net/http/transport.go:3238 # 0x7909cd net/http.(*persistConn).addTLS+0x4d net/http/transport.go:1716 # 0x791a9b net/http.(*Transport).dialConn+0x9fb net/http/transport.go:1825 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 24] @ 0x48dd05 0x428505 0x8f9c07 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc30b 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8f9c06 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x166 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18cea67 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18cea66 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x1e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:964 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1248] @ 0x48dd05 0x492ae9 0x1846885 0x18d0f25 0x18d0ecd 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x18d0f24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d0ecc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1166 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 720] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 6048] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x24a8893 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x1a0d35c 0x1a0ced7 0x188bb8e 0x21b447a 0x26be9b9 0x28ca254 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a0d35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getMembershipForUser+0x43b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:805 # 0x1a0ced6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetMembershipForUser+0x56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:785 # 0x188bb8d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetMembershipForUser+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15282 # 0x21b4479 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetMembershipForUser+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12066 # 0x26be9b8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadMembershipForUser+0x78 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2974 # 0x28ca253 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3680 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 768] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xbe6bad 0xbe6a9e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2127a87 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe6bac github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0xac github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:117 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127a86 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x18d127c 0x18d1216 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d127b github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x49b github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1215 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x435 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1175 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 29184] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x4246eb 0x1846025 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1360] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 11808] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x281e8d8 0x281e84d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x281e8d7 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x1357 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x281e84c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x12cc github.com/mattermost/mattermost/server/v8/channels/api4/post.go:349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 3312] @ 0x48dd2c 0x4752f7 0x5305e6 0x76a336 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x76a335 net/http.(*Request).AddCookie+0xf5 net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 896] @ 0x48dd05 0x428505 0x2572da5 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2572da4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4c64 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:453 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18e6392 0x18e633c 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18e6391 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1131 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18e633b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2789 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 294912] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x281f94f 0x281f8c4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x281f94e github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0xdce github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x281f8c3 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xd43 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:433 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 5824] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x196e4dc 0x196e3eb 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196e4db github.com/mattermost/squirrel.StatementBuilderType.Select+0x37b github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196e3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x28a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1337 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 49152] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 15680] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 288] @ 0x48dd05 0x428505 0x5ccf85 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 2112] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x24a3c32 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x24a3c31 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x1b1 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3038 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 65280] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [11: 3520] @ 0x48dd05 0x492ae9 0x223d83b 0x225c15b 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d83a github.com/getsentry/sentry-go/internal/otel/baggage.Baggage.Members+0x5a github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:522 # 0x225c15a github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x5a github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:27 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18e22c9 0x18e2280 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e22c8 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2c8 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e227f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2451 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [24: 2304] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [204: 84864] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [11: 1056] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [205: 16400] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [165: 2640] @ 0x48dd25 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [16: 256] @ 0x48dd05 0x428505 0x875d2c 0xccbc56 0x25eabec 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x875d2b github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x1cb github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:294 # 0xccbc55 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x35 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x25eabeb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x13ab github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:251 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [168: 75264] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 160] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6185 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0xc570a5 0x281c385 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6184 github.com/mattermost/mattermost/server/public/model.StringInterface.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:219 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0xc570a4 github.com/mattermost/mattermost/server/public/model.(*Post).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post.go:400 # 0x281c384 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xc64 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:178 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a2ba9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a2ba8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:373 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 384] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x17d9f3b 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27daed9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x17d9f3a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27daed8 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x7d8 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:816 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x493087 0xb8aa4b 0xb8d1f2 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8aa4a github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseText+0x30a github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:233 # 0xb8d1f1 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1f1 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:603 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1600] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xb5759d 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb5759c encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [81: 25920] @ 0x48dd05 0x428505 0x21fd925 0x21fd914 0x21fd894 0x21fdb4c 0x21fe952 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x21fd924 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xc4 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0x21fd913 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0xb3 github.com/mattermost/mattermost/server/public/shared/request/context.go:126 # 0x21fd893 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsMFAAuthenticated+0x33 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:813 # 0x21fdb4b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x2b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1440] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x428505 0xb57625 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb57624 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [151: 16912] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [221: 339456] @ 0x48dd0c 0x492ae9 0x85d61b 0x85ce87 0x25d4c48 0x127ef22 0x128d348 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85ce86 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x25d4c47 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1140 # 0x127ef21 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1081 # 0x128d347 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1016 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca16e5 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca16e4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xc4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:248 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [7: 448] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [69: 6624] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [34: 9792] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0xb57892 0xb59d49 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0xb57891 encoding/gob.(*Decoder).decodeMap+0x411 encoding/gob/decode.go:608 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 2560] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 240] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 4160] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [647: 10352] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x521209 0x51dac6 0xb587fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x521208 reflect.Value.assignTo+0x108 reflect/value.go:3202 # 0x51dac5 reflect.Value.Set+0xe5 reflect/value.go:2158 # 0xb587fc encoding/gob.(*Decoder).decodeInterface+0x4dc encoding/gob/decode.go:726 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [5: 1920] @ 0x48dd05 0x492ae9 0x859533 0x858b5e 0x498001 # 0x859532 github.com/mattermost/logr/v2.(*LogRec).prep+0x92 github.com/mattermost/logr/v2@v2.0.22/logrec.go:59 # 0x858b5d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [19: 2128] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184648c 0x18463bb 0x18464b0 0x19030a5 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184648b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x18463ba github.com/mattermost/squirrel.SelectBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:243 # 0x18464af github.com/mattermost/squirrel.SelectBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:238 # 0x19030a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x424 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:419 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 12800] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [65: 66560] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [7: 8064] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2626a29 0x283130c 0x281b595 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2626a28 github.com/mattermost/mattermost/server/v8/channels/app.PostPriorityCheckWithApp+0x48 github.com/mattermost/mattermost/server/v8/channels/app/post_permission_utils.go:15 # 0x283130b github.com/mattermost/mattermost/server/v8/channels/api4.postPriorityCheckWithContext+0x6b github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:39 # 0x281b594 github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x234 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:83 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1440] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 10752] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 12544] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 802816] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x28abcbb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28abcba github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x3fa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1183 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 811008] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x28abcbb 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28abcba github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x3fa github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1183 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 4032] @ 0x48dd05 0x428505 0x21f9685 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f9684 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x544 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:237 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 24320] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28045da 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28045d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [494: 158080] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [314: 120576] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [553: 70784] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [46: 23552] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3024: 1935360] @ 0x48dd0c 0x492ae9 0x85d61b 0x85ce87 0x25d4c48 0x127ef22 0x128d348 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85ce86 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x25d4c47 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1140 # 0x127ef21 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1081 # 0x128d347 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1016 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [29: 66816] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 13440] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [399: 140448] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [37: 26048] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 832] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [464: 14848] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [94: 4512] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x8593b5 0x855c55 0x85d030 0x25d4ce8 0x127f022 0x128d728 0x51716c 0x516019 0xb75014 0x498001 # 0x8593b4 github.com/mattermost/logr/v2.NewLogRec+0x1b4 github.com/mattermost/logr/v2@v2.0.22/logrec.go:41 # 0x855c54 github.com/mattermost/logr/v2.Logger.Log+0x114 github.com/mattermost/logr/v2@v2.0.22/logger.go:54 # 0x85d02f github.com/mattermost/logr/v2.Sugar.Infow+0xcf github.com/mattermost/logr/v2@v2.0.22/sugar.go:143 # 0x25d4ce7 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogInfo+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1144 # 0x127f021 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogInfo+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1087 # 0x128d727 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogInfo+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1043 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 432] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 1152] @ 0x48dd2c 0x492ae9 0xca1cc8 0xca1c02 0x21f8c05 0x21f8bf9 0x21f8be2 0x26c41ea 0x21f87e3 0x2206a98 0x2206566 0x2204837 0x498001 # 0xca1cc7 github.com/mattermost/mattermost/server/public/model.(*precomputedWebSocketEventJSON).copy+0x127 github.com/mattermost/mattermost/server/public/model/websocket_message.go:215 # 0xca1c01 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).DeepCopy+0x61 github.com/mattermost/mattermost/server/public/model/websocket_message.go:319 # 0x21f8c04 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).RemovePrecomputedJSON+0x44 github.com/mattermost/mattermost/server/public/model/websocket_message.go:260 # 0x21f8bf8 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 # 0x21f8be1 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 # 0x26c41e9 github.com/mattermost/mattermost/server/v8/channels/app.(*addMentionsBroadcastHook).Process+0x189 github.com/mattermost/mattermost/server/v8/channels/app/web_broadcast_hooks.go:55 # 0x21f87e2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).runBroadcastHooks+0x182 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_broadcast_hook.go:32 # 0x2206a97 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:731 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18de945 0x18de8e0 0x185cb35 0x217e19d 0x249e103 0x276caa5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18de944 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18de8df github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembers+0x27f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2119 # 0x185cb34 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembers+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2520 # 0x217e19c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembers+0x9c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2131 # 0x249e102 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersPage+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2476 # 0x276caa4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembers+0x1c4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1848 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1232] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 811008] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x184bc45 0x184bb9b 0x184bc90 0x18e61ae 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184bc44 github.com/lann/builder.Append+0xe4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184bb9a github.com/mattermost/squirrel.UpdateBuilder.PrefixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:216 # 0x184bc8f github.com/mattermost/squirrel.UpdateBuilder.Prefix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:211 # 0x18e61ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0xf4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2776 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x184c93c 0x18e8811 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184c93b github.com/mattermost/squirrel.UpdateBuilder.Where+0xbb github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x18e8810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2978 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 1248] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 192] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a25e39 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9c109 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x191b5cb 0x191b54e 0x186687b 0x2189786 0x24f112b 0x27ca4fc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c108 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:197 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191b5ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x80a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191b54d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).GetDraftsForUser+0x78d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:152 # 0x186687a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).GetDraftsForUser+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5094 # 0x2189785 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).GetDraftsForUser+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4186 # 0x24f112a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraftsForUser+0xca github.com/mattermost/mattermost/server/v8/channels/app/draft.go:101 # 0x27ca4fb github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x1fb github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:89 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2477ce7 0x2477ce8 0x27ca49c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477ce6 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x106 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x2477ce7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x107 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x27ca49b github.com/mattermost/mattermost/server/v8/channels/api4.getDrafts+0x19b github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:80 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x475ac5 0x4755b5 0xb8691d 0xb86652 0xb8cb3d 0xb8d15d 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb8691c github.com/mattermost/mattermost/server/public/shared/markdown.trimTrailingCharactersFromLink+0x5c github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:174 # 0xb86651 github.com/mattermost/mattermost/server/public/shared/markdown.parseURLAutolink+0x251 github.com/mattermost/mattermost/server/public/shared/markdown/autolink.go:104 # 0xb8cb3c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseAutolink+0xdc github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:509 # 0xb8d15c github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x15c github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:591 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x281d5f8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d5f7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x77 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 294912] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 81920] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 3334144] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [9: 5760] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 640] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 192] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [9: 18432] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 2304] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 960] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x1846fab 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 8960] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x48d725 0xcaadff 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xcaadfe github.com/mattermost/mattermost/server/public/model.SidebarCategorySorting.MarshalJSON+0x1e github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:100 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 800] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e2bcf 0x19e2ad7 0x19e2ad6 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e2bce github.com/lann/builder.Append+0x7ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2ad6 github.com/mattermost/squirrel.UpdateBuilder.Set+0x6f6 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2ad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:148 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x18c5a6d 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5a6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:139 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 368] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [101: 2424] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [28: 8960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18461d4 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 8640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [25: 8000] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x139e658 0x139e118 0x139f6b0 0x13a04c5 0x19dbf4f 0x19dbf28 0x19633d4 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139e657 github.com/jmoiron/sqlx.compileNamedQuery+0x497 github.com/jmoiron/sqlx@v1.4.0/named.go:361 # 0x139e117 github.com/jmoiron/sqlx.bindMap+0x37 github.com/jmoiron/sqlx@v1.4.0/named.go:305 # 0x139f6af github.com/jmoiron/sqlx.bindNamedMapper+0x1af github.com/jmoiron/sqlx@v1.4.0/named.go:430 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x19633d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x25d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:298 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 1440] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc403f9 0xc40394 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc403f8 path/filepath.Join+0x118 path/filepath/path.go:131 # 0xc40393 github.com/mattermost/mattermost/server/public/model.FindManifest+0xb3 github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd05 0x493087 0x125f085 0x125ee87 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125f084 github.com/lib/pq.Config.Clone+0x244 github.com/lib/pq@v1.12.3/connector.go:523 # 0x125ee86 github.com/lib/pq.Config.hosts+0x46 github.com/lib/pq@v1.12.3/connector.go:530 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 2400] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 14400] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 4480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18e9e4c 0x185bfdd 0x217d45d 0x247914c 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e9e4b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetForPost+0x2eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3070 # 0x185bfdc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2346 # 0x217d45c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetForPost+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1987 # 0x247914b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0xab github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:232 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1974c1f 0x1974b87 0x19744e5 0x18745fb 0x2199343 0x26015fc 0x260191f 0x281f425 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1974c1e github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x65e github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1974b86 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x5c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1837 # 0x19744e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdBeforeTime+0x24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1807 # 0x18745fa github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdBeforeTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8715 # 0x2199342 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdBeforeTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6999 # 0x26015fb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdBeforeTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1733 # 0x260191e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPrevPostIdFromPostList+0x7e github.com/mattermost/mattermost/server/v8/channels/app/post.go:1760 # 0x281f424 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x8a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:417 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a2bfc 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a2bfb github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x23b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:384 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xbe6bad 0xbe6a9e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2127a87 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe6bac github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringStringPtr+0xac github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:117 # 0xbe6a9d github.com/vmihailenco/msgpack/v5.decodeMapStringStringValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:98 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127a86 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1847b7b 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x18d73ef 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d73ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x4ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1603 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x275e535 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x275e534 github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0xa14 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:651 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 6240] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 832] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [21: 336] @ 0x48dd05 0x428505 0x76a496 0x76a46c 0x76a45b 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a495 net/textproto.MIMEHeader.Set+0x255 net/textproto/header.go:22 # 0x76a46b net/http.Header.Set+0x22b net/http/header.go:40 # 0x76a45a net/http.(*Request).AddCookie+0x21a net/http/request.go:469 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3840] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x223d72b 0x225c134 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d72a github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x40a github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:472 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1152] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [72: 11520] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x21fb94a 0x21fadd7 0x4a3a6a 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x21fb949 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:588 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [35: 560] @ 0x48dd25 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 720] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc406cb 0xc406c2 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc406ca os.Open+0x3ea os/file.go:390 # 0xc406c1 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3e1 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 3840] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/mattermost/mattermost/server/v8/channels/app.(*PushNotificationsHub).start.func1+0xfe github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:435 0: 0 [30: 6240] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 696] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 480] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ef2 0x2717312 0x2717301 0x2717138 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ef1 net/textproto.CanonicalMIMEHeaderKey+0xd1 net/textproto/reader.go:666 # 0x2717311 net/textproto.MIMEHeader.Set+0xc31 net/textproto/header.go:22 # 0x2717300 net/http.Header.Set+0xc20 net/http/header.go:40 # 0x2717137 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa57 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a793b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a793a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x13a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3584] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x281ed25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x281ed24 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x1a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:365 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 163840] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 87040] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x428505 0x4ed9ec 0x7328e9 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ed9eb os.(*File).Stat+0x2b os/stat_unix.go:19 # 0x7328e8 net/http.serveFile+0x128 net/http/fs.go:698 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199ad05 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ad04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x19ea8f0 0x19ea890 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea8ef github.com/mattermost/squirrel.InsertBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19ea88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd05 0x492ae9 0x4ab7b8 0x125ea28 0x125e9de 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ab7b7 syscall.Environ+0xb7 syscall/env_unix.go:139 # 0x125ea27 os.Environ+0x67 os/env.go:140 # 0x125e9dd github.com/lib/pq.NewConfig+0x1d github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1872] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196de6b 0x196dd3f 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x492ae9 0x139e208 0x139d825 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x139e207 github.com/jmoiron/sqlx.compileNamedQuery+0x47 github.com/jmoiron/sqlx@v1.4.0/named.go:332 # 0x139d824 github.com/jmoiron/sqlx.bindStruct+0x44 github.com/jmoiron/sqlx@v1.4.0/named.go:214 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [14: 2912] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc61d7c 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d7b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:94 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 9216] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19044b2 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19044b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x291 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:502 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 832] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc406cb 0xc406c2 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc406ca os.Open+0x3ea os/file.go:390 # 0xc406c1 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3e1 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 176] @ 0x48dd25 0x48d69b 0x549f47 0x54c0aa 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549f46 encoding/json.(*decodeState).convertNumber+0xe6 encoding/json/decode.go:846 # 0x54c0a9 encoding/json.(*decodeState).literalStore+0x20e9 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x4246eb 0x212b56a 0x249b6a5 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249b6a4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6bf9b4 0x6bf993 0x5ccbc4 0x5cd01c 0x6b924a 0x6b910f 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bf9b3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bf992 crypto/tls.(*clientHelloMsg).marshalMsg.func1+0x12 crypto/tls/handshake_messages.go:110 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6b9249 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x209 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6b910e crypto/tls.(*clientHelloMsg).marshalMsg+0xce crypto/tls/handshake_messages.go:109 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [8: 512] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 8352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x2838db8 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x2838db7 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0xf7 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:455 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 2592] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [10: 80] @ 0x48dd05 0x492ae9 0xc84b7a 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84b79 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xd79 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:556 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 528] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x20e29f0 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x20e29ef github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x28f github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:71 0: 0 [3: 48] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1344] @ 0x48dd05 0x428505 0x6058d2 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x6058d1 net.(*Dialer).DialContext+0x1f1 net/dial.go:544 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 480] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 192] @ 0x48dd05 0x492ae9 0x54295f 0x223bb10 0x223bac0 0x223d4d3 0x225c134 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223bb0f strings.SplitN+0x48f strings/strings.go:333 # 0x223babf github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x43f github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:312 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 4576] @ 0x48dd05 0x428505 0x21288a6 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 608] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1040] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 61440] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [53: 142464] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x6f2cd1 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2cd0 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:529 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x196fe19 0x196fda6 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196fe18 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x798 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196fda5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1427 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 2560] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 80] @ 0x48dd05 0x4246eb 0x1846025 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 176] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0x1a23217 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a23216 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:951 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x191a065 0x191a053 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191a064 github.com/mattermost/squirrel.StatementBuilderType.Select+0x204 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191a052 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:68 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 262656] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x27c9d85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x27c9d84 github.com/mattermost/mattermost/server/v8/channels/api4.upsertDraft+0x3e4 github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 720] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca1709 0x2204e27 0x2204837 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [9: 5184] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 14336] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 155648] @ 0x48dd2c 0x492ae9 0x792665 0x792626 0x790332 0x790175 0x498001 # 0x792664 bufio.NewWriterSize+0x15c4 bufio/bufio.go:599 # 0x792625 net/http.(*Transport).dialConn+0x1585 net/http/transport.go:1992 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [4: 512] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979dfb 0x299b2b5 0x299bfa6 0x299b54d 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x299b2b4 crypto/internal/fips140/hkdf.Extract[...]+0xd4 crypto/internal/fips140/hkdf/hkdf.go:20 # 0x299bfa5 crypto/internal/fips140/tls13.extract[...]+0xa5 crypto/internal/fips140/tls13/tls13.go:46 # 0x299b54c crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x6c crypto/internal/fips140/tls13/tls13.go:123 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0x1cd08ca 0x1cd07a6 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x1cd08c9 github.com/golang-jwt/jwt/v5.(*Token).SigningString+0x29 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:83 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x2201f57 0x2201f0f 0x21f236d 0x281c149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2201f56 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).UpdateActivity+0x96 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:482 # 0x2201f0e github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateWebConnUserActivity+0x4e github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:266 # 0x21f236c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).UpdateLastActivityAtIfNeeded+0x16c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:281 # 0x281c148 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:151 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 8096] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 272] @ 0x48dd25 0x424768 0x13162b8 0x1336c82 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x13162b7 image.(*NRGBA64).At+0x37 image/image.go:497 # 0x1336c81 image/png.(*encoder).writeImage+0x1081 image/png/writer.go:498 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 3072] @ 0x48dd2c 0x492ae9 0x1336065 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1336064 image/png.(*encoder).writeImage+0x464 image/png/writer.go:353 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 188416] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2293760] @ 0x48dd33 0x492ae9 0x1316a85 0x1331ba5 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316a84 image.NewNRGBA64+0x64 image/image.go:619 # 0x1331ba4 image/png.(*decoder).readImagePass+0x844 image/png/reader.go:492 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x1313d45 0x1313cf2 0x1313e24 0x1313e2b 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1313d44 bufio.NewReaderSize+0xa4 bufio/bufio.go:57 # 0x1313cf1 bufio.NewReader+0x51 bufio/bufio.go:63 # 0x1313e23 image.asReader+0x183 image/format.go:55 # 0x1313e2a image.Decode+0x18a image/format.go:88 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19e221b 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e221a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x5a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 4608] @ 0x48dd05 0x493087 0x1904afd 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x8dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 960] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x25e98a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25e98a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:163 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 6336] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a060e5 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a060e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x1c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:406 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x19e223d 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e223c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x281d855 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d854 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x2d4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:270 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 4480] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1990978 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990977 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x4f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 18816] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [19: 152] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [40: 163840] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 240] @ 0x48dd05 0x428505 0x190334a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903349 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x6c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [54: 41472] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 40960] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 448] @ 0x48dd2c 0x4752f7 0x4cdcd8 0x4cdcd9 0x4ce005 0x25ea7a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cdcd7 path.(*lazybuf).string+0x6b7 path/path.go:50 # 0x4cdcd8 path.Clean+0x6b8 path/path.go:137 # 0x4ce004 path.Join+0x1e4 path/path.go:172 # 0x25ea7a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xf68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:224 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 2304] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [30: 11520] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2080] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [99: 4752] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 1296] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 2048] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e6605 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e6604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x13a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2800 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 672] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 112] @ 0x48dd05 0x492ae9 0x410d59 0x48e029 0x6f2cd1 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2cd0 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:529 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [14: 2016] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 5120] @ 0x48dd2c 0x4752f7 0x69532b 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x69532a crypto/tls.(*weakCertCache).newCert+0x10a crypto/tls/cache.go:32 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [9: 2592] @ 0x48dd05 0x492ae9 0x875bec 0x875b88 0x20db05a 0x20dad8e 0x498001 # 0x875beb github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x875b87 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x20db059 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x59 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:72 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 1760] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 480] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 528] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 2240] @ 0x48dd05 0x492ae9 0x72e507 0x25e9cfb 0x25e9cf2 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x25e9cfa net/http.(*Request).Cookies+0x4ba net/http/request.go:429 # 0x25e9cf1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x4b1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:195 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 1152] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 960] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 640] @ 0x48dd05 0x493087 0x12e302c 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x12e302b github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x1eb github.com/mattermost/mattermost/server/public/plugin/environment.go:102 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 9856] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5304f7 0x1844899 0x184de6f 0x1844d4d 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5304f6 fmt.Fprintf+0x96 fmt/print.go:225 # 0x1844898 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x1d8 github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19033eb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19033ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x76a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:424 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 160512] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x24adbe9 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16] @ 0x48dd05 0x428505 0x4e87af 0x4e8afd 0x4e64de 0x17daad7 0x17d9e30 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4e87ae os.newFile+0x4e os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x17daad6 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x96 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:160 # 0x17d9e2f github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xef github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 576] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 8320] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3200] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3200] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x25cff73 0x12798fe 0x12b5335 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x25cff72 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannel+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:494 # 0x12798fd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannel+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:509 # 0x12b5334 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannel+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4026 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184816c 0x184809b 0x1848190 0x18e62fc 0x18610e7 0x21832f1 0x24a8b2d 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x18e62fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x109b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2777 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x493087 0x18c7685 0x18c7a74 0x18eb814 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:286 # 0x18c7a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:329 # 0x18eb813 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x713 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 288] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 1280] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x24a3ac5 0x24a9377 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x24a3ac4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetActiveChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3023 # 0x24a9376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x76 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3580 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [72: 350208] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2496] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1200] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 2560] @ 0x48dd05 0x428505 0x18cecce 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ceccd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:981 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x197475f 0x197455d 0x187449b 0x21991c3 0x26014bc 0x2601da7 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x197475e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostIdAroundTime+0x19e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1827 # 0x197455c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostIdAfterTime+0x1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1811 # 0x187449a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostIdAfterTime+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8694 # 0x21991c2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostIdAfterTime+0x82 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6983 # 0x26014bb github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIdAfterTime+0x7b github.com/mattermost/mattermost/server/v8/channels/app/post.go:1724 # 0x2601da6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x146 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1824 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 4048] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 7200] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a06089 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a06088 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:405 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x18c7685 0x18c7a74 0x18eb814 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:286 # 0x18c7a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:329 # 0x18eb813 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x713 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 2240] @ 0x48dd2c 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x63fd77 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x63fd76 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x492ae9 0x1846885 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 40] @ 0x48dd05 0x428505 0xb5c3f1 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c3f0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1193 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f1def 0x19f1dd0 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f1dee github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xae github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd2c 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c748 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [25: 400] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 1600] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc403f9 0xc40394 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc403f8 path/filepath.Join+0x118 path/filepath/path.go:131 # 0xc40393 github.com/mattermost/mattermost/server/public/model.FindManifest+0xb3 github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 144] @ 0x48dd25 0x492ae9 0x673cbc 0xb834b7 0x12877cd 0x498001 # 0x673cbb encoding/binary.Write+0x7b encoding/binary/binary.go:414 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [13: 832] @ 0x48dd05 0x428505 0x1a061a5 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a061a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x284 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:409 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 1120] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 216] @ 0x48dd05 0x428505 0x21d4d11 0x21fb505 0xbdc7fe 0xbdcbed 0x21fafc5 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21d4d10 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go+0x30 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:16 # 0x21fb504 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:456 # 0xbdc7fd github.com/gorilla/websocket.(*Conn).advanceFrame+0xb1d github.com/gorilla/websocket@v1.5.3/conn.go:950 # 0xbdcbec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x21fafc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:464 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 456] @ 0x48dd2c 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [82: 776704] @ 0x48dd2c 0x492ae9 0xbd9594 0xbdf393 0x28eb6ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd9593 github.com/gorilla/websocket.newConn+0xf3 github.com/gorilla/websocket@v1.5.3/conn.go:303 # 0xbdf392 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x28eb6eb github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xab github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 45056] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 10560] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x288075d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x288075c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x21c github.com/mattermost/mattermost/server/v8/channels/api4/team.go:640 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 14080] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x281d855 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d854 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x2d4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:270 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 212992] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 144] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 17280] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x77484e 0x77935b 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x77935a net/http.(*conn).finalFlush+0x7a net/http/server.go:1748 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x199808f 0x1998035 0x1998033 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x199808e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x8e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1998034 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x34 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1998032 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:76 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 592] @ 0x48dd05 0x4246eb 0x1846b2b 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x4752f7 0xc97212 0xc97213 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc97211 github.com/tinylib/msgp/msgp.ReadStringBytes+0x191 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97212 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x192 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:524 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 2816] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e0f6 0x48e0dd 0x520e51 0xb5759d 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb5759c encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [224: 7340032] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 81920] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x492ae9 0x5ff76b 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x5ff76a net.srcAddrs+0x2a net/addrselect.go:45 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 352] @ 0x48dd05 0x492ae9 0x1846885 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 1114112] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 425984] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 42565632] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 1536] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 458752] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25187d9 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25187d8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x818 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1260 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 23199744] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 47677440] @ 0x48dd33 0x492ae9 0x13151fe 0x13316f2 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x251692a 0x25182f5 0x25191fa 0x25d3113 0x127cfbe 0x12c1ff5 0x51716c 0x516019 0xb75014 0x498001 # 0x13151fd image.NewRGBA+0x5d image/image.go:231 # 0x13316f1 image/png.(*decoder).readImagePass+0x391 image/png/reader.go:457 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2516929 github.com/mattermost/mattermost/server/v8/channels/app.prepareImage+0x69 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1179 # 0x25182f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).generateMiniPreview+0x334 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1251 # 0x25191f9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1315 # 0x25d3112 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetFileInfo+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:919 # 0x127cfbd github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetFileInfo+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:872 # 0x12c1ff4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetFileInfo+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5575 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 15728640] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [40: 10485760] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 576] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x1846fbc 0x18df325 0x18df2d7 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18df324 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x2e4 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18df2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x296 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2157 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 480] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18469d0 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 480] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 80] @ 0x48dd05 0x493087 0x2123a14 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2123a13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x293 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:84 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x40d656 0x2472252 0x2472218 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x40d655 internal/strconv.FormatInt+0xd5 internal/strconv/itoa.go:43 # 0x2472251 strconv.FormatInt+0x51 strconv/number.go:210 # 0x2472217 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x17 github.com/mattermost/mattermost/server/v8/channels/app/app.go:131 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 2688] @ 0x48dd2c 0x4930f3 0x127232f 0x12722de 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x127232e github.com/lib/pq.(*writeBuf).bytes+0x60e github.com/lib/pq@v1.12.3/buf.go:80 # 0x12722dd github.com/lib/pq.(*stmt).exec+0x5bd github.com/lib/pq@v1.12.3/stmt.go:130 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x493087 0x21f11ca 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f11c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x7a9 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x493087 0x6598ee 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6598ed crypto/x509.parseCertificate+0x11ad crypto/x509/parser.go:1052 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [8: 192] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 496] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x2204269 0x220428e 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x2204268 time.After+0xe8 time/sleep.go:203 # 0x220428d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).ProcessAsync.func1+0x10d github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:520 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [6: 1440] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 288] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 4800] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 384] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 3200] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 5824] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x198a947 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x198a946 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 2464] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 5120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x1921072 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1921071 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x2f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:229 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 13824] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6144] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19de407 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a03c79 0x1a03c53 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a03c78 github.com/mattermost/squirrel.StatementBuilderType.Select+0xf8 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a03c52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0xd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:233 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 768] @ 0x48dd05 0x493087 0x1844505 0x18413d1 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc8ee1d 0xc8ed8d 0xc8ee4d 0x26ae59d 0x26af705 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8ee1c maps.Copy[...]+0x41c maps/maps.go:64 # 0xc8ed8c github.com/mattermost/mattermost/server/public/model.CopyStringMap+0x38c github.com/mattermost/mattermost/server/public/model/utils.go:490 # 0xc8ee4c github.com/mattermost/mattermost/server/public/model.(*User).DeepCopy+0x44c github.com/mattermost/mattermost/server/public/model/user.go:363 # 0x26ae59c github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x5c github.com/mattermost/mattermost/server/v8/channels/app/user.go:1413 # 0x26af704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1575 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 1248] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 4224] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2766db5 0x2766d2a 0x2766cef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2766db4 net/textproto.MIMEHeader.Set+0x654 net/textproto/header.go:22 # 0x2766d29 net/http.Header.Set+0x5c9 net/http/header.go:40 # 0x2766cee github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x58e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1401 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 8320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [21: 2016] @ 0x48dd2c 0x4752f7 0x5305e6 0x27172f0 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x27172ef github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xc0f github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a06d05 0x1a06cdf 0x1309f10 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a06d04 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a06cde 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:441 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [67: 823296] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f8191 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f8190 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x470 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 704] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 4320] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2838eb1 0x2838e00 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2838eb0 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x1f0 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x2838dff github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x13f github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:457 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [73: 25696] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x779053 0x779e95 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x779052 net/http.(*response).finishRequest+0x32 net/http/server.go:1668 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [7: 34048] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 172032] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18d1dfc 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1dfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x39b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 656] @ 0x48dd25 0x4752f7 0xb561a5 0xb57403 0xb577fd 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb577fc encoding/gob.(*Decoder).decodeMap+0x37c encoding/gob/decode.go:606 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a06e69 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06e68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:444 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 768] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 11776] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x276ebab 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x276ebaa github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x26a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1995 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19dbd45 0x1a39072 0x1895d9a 0x21bfe3a 0x26c1e7e 0x28a1fff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a39071 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 # 0x1895d99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17997 # 0x21bfe39 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserTermsOfServiceStore).GetByUser+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:14221 # 0x26c1e7d 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 # 0x28a1ffe github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x19e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:322 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 134400] @ 0x48dd0c 0x493087 0x18eb8c5 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 6912] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x6a1565 0x6a2dbe 0x73f8fa 0x75171d 0x57cf32 0x758248 0x757545 0x7569ac 0x7561f8 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x6a1564 crypto/tls.(*Conn).writeRecordLocked+0x3a4 crypto/tls/conn.go:994 # 0x6a2dbd crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1254 # 0x73f8f9 net/http.http2writeWithByteTimeout+0x59 net/http/h2_bundle.go:3771 # 0x75171c net/http.http2stickyErrWriter.Write+0x3c net/http/h2_bundle.go:7813 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x758247 net/http.(*http2ClientConn).writeHeaders+0x167 net/http/h2_bundle.go:9089 # 0x757544 net/http.(*http2clientStream).encodeAndWriteHeaders+0x3a4 net/http/h2_bundle.go:8910 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [31: 1488] @ 0x48dd05 0x428505 0x548cb9 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x548cb8 encoding/json.(*decodeState).object+0x8d8 encoding/json/decode.go:707 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 768] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18425b4 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x493087 0x18c738a 0x18c7a74 0x18eb814 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x5e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:271 # 0x18c7a73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:329 # 0x18eb813 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x713 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1760] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x662eae 0x662cf1 0x661747 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x662ead crypto/x509.policiesValid-range1+0x18d crypto/x509/verify.go:1269 # 0x662cf0 crypto/x509.policiesValid.(*policyGraph).parents.Values[...].func1+0x70 maps/iter.go:41 # 0x661746 crypto/x509.policiesValid+0xe26 crypto/x509/verify.go:1266 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2766db5 0x2766d2a 0x2766cef 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2766db4 net/textproto.MIMEHeader.Set+0x654 net/textproto/header.go:22 # 0x2766d29 net/http.Header.Set+0x5c9 net/http/header.go:40 # 0x2766cee github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x58e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1401 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1973779 0x19736f6 0x1971aed 0x1874d69 0x2199b23 0x2600beb 0x2602245 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x1971aec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsAfter+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1583 # 0x1874d68 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsAfter+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8820 # 0x2199b22 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsAfter+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7079 # 0x2600bea github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsAfterPost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1633 # 0x2602244 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x5e4 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1855 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18eb1af 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0xae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3172 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19dbd10 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 768] @ 0x48dd05 0x428505 0x191fef0 0x191fe00 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x191feef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.fileInfoWithChannelID.ToModel+0x5ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:48 # 0x191fdff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x4ff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:167 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x223d427 0x225c134 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d426 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x106 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:465 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd2c 0x492ae9 0x29731e6 0x2979b68 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x29731e5 crypto/internal/fips140/ecdsa.pad000+0x65 crypto/internal/fips140/ecdsa/hmacdrbg.go:132 # 0x2979b67 crypto/internal/fips140/ecdsa.newDRBG[...]+0x647 crypto/internal/fips140/ecdsa/hmacdrbg.go:104 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x61dbb2 0x61b973 0x604c05 0x6058a5 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x61dbb1 net.(*Resolver).lookupIPAddr+0x1f1 net/lookup.go:330 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 320] @ 0x48dd05 0x493087 0x183f290 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd05 0x428505 0x224c316 0x224c0d3 0x498001 # 0x224c315 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0xf5 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:524 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 288] @ 0x48dd05 0x428505 0x5ccf85 0x6be1d4 0x6be1b3 0x5ccbc4 0x5cd01c 0x6bb37a 0x6bb207 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6be1d3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6be1b2 crypto/tls.(*clientHelloMsg).marshalMsg.func12+0x12 crypto/tls/handshake_messages.go:258 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb379 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2339 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb206 crypto/tls.(*clientHelloMsg).marshalMsg+0x21c6 crypto/tls/handshake_messages.go:257 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19bb5d7 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19bb5d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:427 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 12800] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 1944] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [56: 2688] @ 0x48dd05 0x428505 0xb7625f 0xb74b1f 0xb750d1 0x498001 # 0xb7625e net/rpc.(*Server).getResponse+0xbe net/rpc/server.go:532 # 0xb74b1e net/rpc.(*Server).sendResponse+0x5e net/rpc/server.go:350 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [62: 2976] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x2726314 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x2726313 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x16f3 github.com/mattermost/mattermost/server/v8/channels/web/params.go:231 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 512] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x428505 0x76bff3 0x2249fb5 0x224c44f 0x224c0d3 0x498001 # 0x76bff2 net/http.NewRequestWithContext+0x412 net/http/request.go:928 # 0x2249fb4 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1f4 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x18d1ca5 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1ca4 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x244 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 1840] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x184afae 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [40: 640] @ 0x48dd05 0x4246eb 0x1846b2b 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b2a github.com/mattermost/squirrel.SelectBuilder.Column+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 288] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 2560] @ 0x48dd2c 0x4752f7 0xb7b549 0xb7b54a 0x498001 # 0xb7b548 bufio.(*Scanner).Text+0x168 bufio/scan.go:115 # 0xb7b549 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x169 github.com/hashicorp/go-plugin@v1.8.0/client.go:804 0: 0 [1: 49152] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xc924f9 0xc92473 0x17ef010 0x17ed9a9 0x17ed981 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc924f8 github.com/mattermost/mattermost/server/public/model.(*User).ClearNonProfileFields+0x98 github.com/mattermost/mattermost/server/public/model/user.go:739 # 0xc92472 github.com/mattermost/mattermost/server/public/model.(*User).SanitizeProfile+0x12 github.com/mattermost/mattermost/server/public/model/user.go:746 # 0x17ef00f github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).SanitizeProfile+0x2f github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:45 # 0x17ed9a8 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).sanitizeProfiles+0x68 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:36 # 0x17ed980 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x40 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:135 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 432] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x190431d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190431c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:496 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125340e 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125340d github.com/lib/pq.(*conn).simpleQuery+0x2ed github.com/lib/pq@v1.12.3/conn.go:643 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 413440] @ 0x48dd0c 0x493087 0x18eb8c5 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 3696] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [39: 624] @ 0x48dd05 0x48d725 0x2717231 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2717230 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb50 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd2c 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 288] @ 0x48dd05 0x428505 0x25eaee7 0x25eaeba 0x25eae89 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25eaee6 net/textproto.MIMEHeader.Set+0x16a6 net/textproto/header.go:22 # 0x25eaeb9 net/http.Header.Set+0x1679 net/http/header.go:40 # 0x25eae88 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x1648 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:268 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 480] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x18e8826 0x185ea89 0x218036f 0x2570b4b 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x18e8825 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.IncrementMentionCount+0x965 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2982 # 0x185ea88 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).IncrementMentionCount+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2982 # 0x218036e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).IncrementMentionCount+0xae github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2483 # 0x2570b4a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x2a0a github.com/mattermost/mattermost/server/v8/channels/app/notification.go:342 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0x1a23217 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a23216 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:951 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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 [7: 688128] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 288] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 15360] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [13: 312] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28002b2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28002b1 github.com/mattermost/mattermost/server/v8/channels/api4.getClientLicense+0x271 github.com/mattermost/mattermost/server/v8/channels/api4/license.go:44 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 720] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 2352] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990c51 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990c50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x7d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x1398327 0x270f109 0x270edf5 0x283967e 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1398326 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x3c6 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:43 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x283967d github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x9bd github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:493 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 960] @ 0x48dd2c 0x4930f3 0x63ed65 0x63ece6 0x25e9e48 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63ed64 strings.(*Builder).WriteString+0x5c4 strings/builder.go:114 # 0x63ece5 net/url.Values.Encode+0x545 net/url/url.go:1017 # 0x25e9e47 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x607 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:206 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 1200] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97aa5 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 1152] @ 0x48dd05 0x428505 0xb62d5e 0xb62d29 0xb66785 0xb646cb 0xb6c54f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62d5d encoding/gob.(*Encoder).newEncoderState+0xbd encoding/gob/encode.go:82 # 0xb62d28 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [9: 432] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x76d685 0x76d66a 0x76d913 0x76dd1b 0x2865a4c 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x76d684 net/url.ParseQuery+0x364 net/url/url.go:932 # 0x76d669 net/http.(*Request).ParseForm+0x349 net/http/request.go:1345 # 0x76d912 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x76dd1a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x2865a4b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6ab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:169 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x18476bc 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 448] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a0533 0x69e86d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b64fb 0x6b40f6 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a0532 crypto/tls.(*Conn).retryReadRecord+0x72 crypto/tls/conn.go:800 # 0x69e86c crypto/tls.(*Conn).readRecordOrCCS+0x12ec crypto/tls/conn.go:759 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b64fa crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x5a crypto/tls/handshake_client_tls13.go:525 # 0x6b40f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x755 crypto/tls/handshake_client_tls13.go:133 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 32] @ 0x48dd2c 0x492ae9 0x58d952 0x58c907 0x6e0507 0x6b5eff 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x58d951 crypto/ecdh.(*x25519Curve).ecdh+0x31 crypto/ecdh/x25519.go:83 # 0x58c906 crypto/ecdh.(*PrivateKey).ECDH+0x86 crypto/ecdh/ecdh.go:135 # 0x6e0506 crypto/tls.(*ecdhKeyExchange).clientSharedSecret+0x46 crypto/tls/key_schedule.go:149 # 0x6b5efe crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x7e crypto/tls/handshake_client_tls13.go:478 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1920e85 0x1920e60 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1920e84 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1920e5f 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:224 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1440] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 34560] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a9d45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a9d44 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4864] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x286ad58 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x286ad57 github.com/mattermost/mattermost/server/v8/channels/api4.getAnalytics+0x1f7 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:504 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 27648] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2881d25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2881d24 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:752 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x4246eb 0x5e512f 0x61da4c 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e512e net/netip.ParseAddr+0xee net/netip/netip.go:127 # 0x61da4b net.(*Resolver).lookupIPAddr+0x8b net/lookup.go:310 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ba7fe 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 2688] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 80] @ 0x48dd05 0x428505 0x18476bc 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [16: 2560] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x62b225 0x62774e 0x62717b 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x62b224 net.sockaddrToTCP+0x104 net/tcpsock_posix.go:19 # 0x62774d net.(*netFD).dial+0x4cd net/sock_posix.go:141 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [64: 3072] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd25 0x4752f7 0xc9f88b 0xc9f82b 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc9f88a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9f82a github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 3600] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1394651 0x2716ecb 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1394650 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x2716eca github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x7ea github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:218 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 5184] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19bb5d7 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19bb5d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:427 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1a29208 0x1a291ed 0x1a291bd 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1a29207 github.com/mattermost/squirrel.newPart+0x107 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1a291ec github.com/mattermost/squirrel.SelectBuilder.From+0xec github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a291bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0xbc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1434 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [35: 11200] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xc9f88b 0xc9f82b 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc9f88a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9f82a github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1248] @ 0x48dd05 0x428505 0x1a1e1d8 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1a1e1d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x157 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:579 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 224] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x55a2ec 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 3136] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 2240] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 104] @ 0x48dd05 0x428505 0x271683f 0x27167fe 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271683e github.com/mattermost/mattermost/server/v8/channels/app.New+0x15e github.com/mattermost/mattermost/server/v8/channels/app/app.go:30 # 0x27167fd github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x11d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:149 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1728] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1942e36 0x1942df2 0x1942df1 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1942e35 github.com/mattermost/squirrel.InsertBuilder.Into+0x1d5 github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x1942df1 github.com/mattermost/squirrel.StatementBuilderType.Insert+0x191 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x1942df0 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 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [14: 448] @ 0x48dd2c 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [106: 1696] @ 0x48dd05 0x48d725 0x76a2fe 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a2fd net/http.(*Request).AddCookie+0xbd net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x1946e0a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1946e09 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 4480] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 4480] @ 0x48dd05 0x428505 0x2719331 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2719330 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2c50 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:352 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd2c 0x4930f3 0x63ebd5 0x63eb6b 0x25e9e48 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63ebd4 strings.(*Builder).WriteString+0x434 strings/builder.go:114 # 0x63eb6a net/url.Values.Encode+0x3ca net/url/url.go:1015 # 0x25e9e47 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x607 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:206 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 4816] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 672] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x199ad05 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ad04 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 17408] @ 0x48dd05 0x493087 0x183f290 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 9280] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 720] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [11: 264] @ 0x48dd2c 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x199814f 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199814e github.com/mattermost/squirrel.SelectBuilder.From+0x14e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [94: 1504] @ 0x48dd05 0x493087 0x18c7685 0x18c7f54 0x18ebe48 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18c7684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:286 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ebe47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 3520] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 29440] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1904] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 704] @ 0x48dd2c 0x4752f7 0x4d67dd 0x4d67f8 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d67dc internal/filepathlite.(*lazybuf).string+0x8fc internal/filepathlite/path.go:61 # 0x4d67f7 internal/filepathlite.Clean+0x917 internal/filepathlite/path.go:137 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 224] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 3040] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x1a06913 0x1a068cb 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06912 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [20: 960] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 1472] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 224] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 624] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ed7 0x6ef888 0x763d78 0x2663505 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ed6 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:662 # 0x6ef887 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x763d77 net/http.Header.Get+0x17 net/http/header.go:50 # 0x2663504 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x144 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 560] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1a06b0f 0x1a06a71 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a06b0e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x3ee github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06a70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x350 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:459 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [34: 14144] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1760] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 640] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 2176] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [14: 672] @ 0x48dd05 0x428505 0x2209ec5 0x2209ea6 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2209ec4 github.com/mattermost/mattermost/server/public/model.NewWebSocketResponse+0xaa4 github.com/mattermost/mattermost/server/public/model/websocket_message.go:451 # 0x2209ea5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xa85 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:100 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd2c 0x492ae9 0x5cb485 0x6546b8 0x657145 0x659a65 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x6546b7 crypto/x509.parseExtKeyUsageExtension+0x117 crypto/x509/parser.go:471 # 0x657144 crypto/x509.processExtensions+0x924 crypto/x509/parser.go:788 # 0x659a64 crypto/x509.parseCertificate+0x1324 crypto/x509/parser.go:1054 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [24: 654336] @ 0x48dd2c 0x475974 0x475486 0x4ce247 0x12220c5 0x122424f 0x1222f85 0x12227c5 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4ce246 io.WriteString+0x66 io/io.go:318 # 0x12220c4 gopkg.in/mail%2ev2.(*Message).AddAlternative.newCopier.func1+0x24 gopkg.in/mail.v2@v2.3.1/message.go:215 # 0x122424e gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x1ee gopkg.in/mail.v2@v2.3.1/writeto.go:277 # 0x1222f84 gopkg.in/mail%2ev2.(*messageWriter).writePart+0x244 gopkg.in/mail.v2@v2.3.1/writeto.go:115 # 0x12227c4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x204 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x255df5f 0x2588ef9 0x25835cc 0x256ffc5 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x255df5e github.com/mattermost/mattermost/server/v8/channels/app.MentionKeywords.AddUser+0xfe github.com/mattermost/mattermost/server/v8/channels/app/mention_keywords.go:54 # 0x2588ef8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMentionKeywordsInChannel+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1557 # 0x25835cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getExplicitMentionsAndKeywords+0x92b github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1083 # 0x256ffc4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x1e84 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:184 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd05 0x48d7c5 0x19eaa65 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eaa64 github.com/mattermost/squirrel.InsertBuilder.Values+0x304 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 51456] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0xc976bb 0xc976bc 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc976ba github.com/tinylib/msgp/msgp.ReadStringBytes+0x63a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc976bb github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x63b github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:565 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x4246eb 0x212b56a 0x249ed5c 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x212b569 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Channel+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:535 # 0x249ed5b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x5b github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x12477c4 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x12477c3 github.com/lib/pq/scram.(*Client).clientProof+0xc3 github.com/lib/pq@v1.12.3/scram/scram.go:235 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [44: 14080] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 9856] @ 0x48dd0c 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 3168] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 34048] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 224] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1942f9d 0x1942e6b 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1942f9c github.com/mattermost/squirrel.InsertBuilder.Columns+0x33c github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1942e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [20: 2240] @ 0x48dd05 0x492ae9 0x1846885 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd2c 0x4752f7 0xc8413d 0xc8413e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8413c github.com/tinylib/msgp/msgp.ReadStringBytes+0x33c github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8413d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x33d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x1998245 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:85 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2432] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x276dd68 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x276dd67 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1930 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 528] @ 0x48dd05 0x428505 0x56fddc 0x57040d 0x5703cf 0x19db965 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56fddb context.WithDeadlineCause+0x29b context/context.go:656 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 4096] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 960] @ 0x48dd05 0x428505 0xb63f65 0xb63f2a 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63f64 encoding/gob.(*Encoder).newEncoderState+0x184 encoding/gob/encode.go:82 # 0xb63f29 encoding/gob.(*Encoder).encodeInterface+0x149 encoding/gob/encode.go:392 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [14: 448] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x18d2005 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x18d2004 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x5a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1237 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 11200] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 3840] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 672] @ 0x48dd05 0x48d725 0x18468ff 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 18240] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 640] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2245e7c 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x2245e7b github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x2bb github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:159 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 192] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x211fdb5 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211fdb4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0xd4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:110 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 416] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 4784] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 640] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 480] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 3072] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 2592] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x28abbe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28abbe4 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x198a99e 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x198a99d 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 2288] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 704] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 2688] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 360] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [30: 960] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [47: 752] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 786432] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20c8688 0x20c8d97 0x20c55e5 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20c8d96 runtime/pprof.(*profileBuilder).pbSample+0xb6 runtime/pprof/proto.go:168 # 0x20c55e4 runtime/pprof.printCountProfile+0x924 runtime/pprof/pprof.go:554 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 417792] @ 0x48dd33 0x428505 0x703228 0x703252 0x70e52d 0x70e4ee 0x20c8688 0x20c8d97 0x20c55e5 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703227 compress/flate.newDeflateFast+0x3a7 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20c8d96 runtime/pprof.(*profileBuilder).pbSample+0xb6 runtime/pprof/proto.go:168 # 0x20c55e4 runtime/pprof.printCountProfile+0x924 runtime/pprof/pprof.go:554 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3317760] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20c8688 0x20c8d97 0x20c55e5 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20c8d96 runtime/pprof.(*profileBuilder).pbSample+0xb6 runtime/pprof/proto.go:168 # 0x20c55e4 runtime/pprof.printCountProfile+0x924 runtime/pprof/pprof.go:554 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x20cdf5e 0x20cdf35 0x20cdf34 0x20cdf33 0x20cddd9 0x20cc43b 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cdf5d runtime/pprof.(*protobuf).varint+0x117d runtime/pprof/protobuf.go:19 # 0x20cdf34 runtime/pprof.(*protobuf).uint64+0x1154 runtime/pprof/protobuf.go:29 # 0x20cdf33 runtime/pprof.(*protobuf).int64+0x1153 runtime/pprof/protobuf.go:62 # 0x20cdf32 runtime/pprof.(*protobuf).int64Opt+0x1152 runtime/pprof/protobuf.go:69 # 0x20cddd8 runtime/pprof.(*profileBuilder).emitLocation+0xff8 runtime/pprof/proto.go:652 # 0x20cc43a runtime/pprof.(*profileBuilder).appendLocsForStack+0x3da runtime/pprof/proto.go:456 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 294912] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 512] @ 0x48dd05 0x492ae9 0x542c16 0x2479c05 0x2479c06 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479c04 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x84 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x2479c05 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x85 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 13440] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [54: 27648] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1440] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x2245bf5 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x2245bf4 github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x34 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:148 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [80: 1280] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839c05 0x1839bc9 0x1839313 0x1942f9d 0x1942e6b 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839c04 reflect.Value.Interface+0xe4 reflect/value.go:1490 # 0x1839bc8 github.com/lann/builder.forEach+0xa8 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1942f9c github.com/mattermost/squirrel.InsertBuilder.Columns+0x33c github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1942e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199ac36 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ac35 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 16224] @ 0x48dd05 0x492ae9 0x1846885 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 4816] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x80dbe2 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x80dbe1 database/sql.(*Rows).awaitDone+0xa1 database/sql/sql.go:3016 0: 0 [6: 192] @ 0x48dd05 0x428505 0x1902e2f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902e2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:412 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19f7fc9 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f7fc8 github.com/mattermost/squirrel.SelectBuilder.Join+0x2a8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 6400] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [60: 21120] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [36: 1728] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227f549 0x12f0d2e 0x51716c 0x516019 0xb75014 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x12f0d2d github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 208] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 2400] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb73ed9 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0xb73ed8 net/rpc.suitableMethods+0x38 net/rpc/server.go:286 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x195d9a8 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x195d9a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3c7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:55 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 400] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 13440] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0x28669eb 0x28669ec 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28669ea github.com/mattermost/mattermost/server/public/model.ToJSON+0x164a github.com/mattermost/mattermost/server/public/model/utils.go:612 # 0x28669eb github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x164b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dd1cb 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 336] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 118784] @ 0x48dd2c 0x4930f3 0x6a26b7 0x6a222f 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a26b6 crypto/tls.(*Conn).unmarshalHandshakeMessage+0x2f6 crypto/tls/conn.go:1179 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 13824] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 22016] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x199a811 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x199a810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:148 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 2240] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 8064] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199ac9d 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ac9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:169 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd05 0x48d7c5 0x1a07245 0x1309f10 0x498001 # 0x1a07244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x224 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [51: 14688] @ 0x48dd05 0x492ae9 0x85d61b 0x85ce87 0x25d4c48 0x127ef22 0x128d348 0x51716c 0x516019 0xb75014 0x498001 # 0x85d61a github.com/mattermost/logr/v2.Sugar.argsToFields+0x7a github.com/mattermost/logr/v2@v2.0.22/sugar.go:173 # 0x85ce86 github.com/mattermost/logr/v2.Sugar.Debugw+0x66 github.com/mattermost/logr/v2@v2.0.22/sugar.go:138 # 0x25d4c47 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).LogDebug+0x47 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1140 # 0x127ef21 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).LogDebug+0x81 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1081 # 0x128d347 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).LogDebug+0xa7 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:1016 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x5305e6 0x183f40a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183f409 github.com/mattermost/squirrel.Eq.toSQL+0xf29 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [72: 29952] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x296b6a5 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296b6a4 crypto/internal/fips140/bigmod.newModulus+0x24 crypto/internal/fips140/bigmod/nat.go:571 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [7: 336] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18d1d05 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1d04 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x281d6d9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d6d8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x158 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:257 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 704] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 640] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 3520] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [125: 6000] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [7: 224] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 1232] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1a06f1b 0x1a06e84 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1a06f1a github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06e83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [317: 20288] @ 0x48dd05 0x428505 0xb56edd 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb56edc encoding/gob.(*Decoder).decodeArrayHelper+0x9c encoding/gob/decode.go:543 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1760] @ 0x48dd05 0x428505 0x1253619 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253618 github.com/lib/pq.(*conn).simpleQuery+0x4f8 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 32768] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 768] @ 0x48dd05 0x428505 0x75bd8b 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75bd8a net/http.(*http2clientConnReadLoop).handleResponse+0xbaa net/http/h2_bundle.go:9805 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [25: 7200] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1ccac30 0x1cca8ce 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccac2f github.com/gorilla/mux.extractVars+0x4cf github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0x1cca8cd github.com/gorilla/mux.routeRegexpGroup.setMatch+0x16d github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd05 0x493087 0x18c7685 0x18c7f54 0x18ec539 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:286 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ec538 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x139d13b 0x139d07b 0x139d851 0x139f606 0x13a04c5 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x139d13a github.com/jmoiron/sqlx.bindArgs+0x5a github.com/jmoiron/sqlx@v1.4.0/named.go:174 # 0x139d07a github.com/jmoiron/sqlx.bindAnyArgs+0x7a github.com/jmoiron/sqlx@v1.4.0/named.go:167 # 0x139d850 github.com/jmoiron/sqlx.bindStruct+0x70 github.com/jmoiron/sqlx@v1.4.0/named.go:219 # 0x139f605 github.com/jmoiron/sqlx.bindNamedMapper+0x105 github.com/jmoiron/sqlx@v1.4.0/named.go:434 # 0x13a04c4 github.com/jmoiron/sqlx.NamedExecContext+0xa4 github.com/jmoiron/sqlx@v1.4.0/named_context.go:128 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [12: 9216] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 12800] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [103: 52736] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 464] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 5824] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 20480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 5120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [17: 4896] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196fbee 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fbed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1424 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 816] @ 0x48dd05 0x4246eb 0x1846fab 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [38: 1216] @ 0x48dd05 0x428505 0x1287305 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1287304 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x124 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:481 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x99febb 0x99fbe2 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [47: 2256] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0xb594cf 0xb598d7 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb594ce encoding/gob.(*Decoder).decOpFor+0x58e encoding/gob/decode.go:873 # 0xb598d6 encoding/gob.(*Decoder).decOpFor+0x996 encoding/gob/decode.go:866 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [9: 1008] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 960] @ 0x48dd2c 0x4930f3 0xb62805 0xb626aa 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb66f88 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb62804 encoding/gob.(*encBuffer).WriteString+0x264 encoding/gob/encode.go:60 # 0xb626a9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb66f87 encoding/gob.(*Encoder).sendActualType+0x147 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [3: 144] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1088] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 6720] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x56ee7b 0x56fc78 0x60ab1b 0x60aae6 0x60c005 0x60f66c 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x56ee7a context.(*cancelCtx).propagateCancel+0x7a context/context.go:478 # 0x56fc77 context.WithDeadlineCause+0x137 context/context.go:643 # 0x60ab1a context.WithDeadline+0x2fa context/context.go:626 # 0x60aae5 net.(*Resolver).exchange+0x2c5 net/dnsclient_unix.go:182 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x1847b0b 0x19045f6 0x190457d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847b0a github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19045f5 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x3d5 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190457c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:504 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [68: 39168] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x224680a 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x2246809 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0xe9 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:111 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [12: 960] @ 0x48dd05 0x493087 0x2248f3c 0x224c262 0x224c0d3 0x498001 # 0x2248f3b github.com/getsentry/sentry-go/report.(*Aggregator).TakeReport+0x1fb github.com/getsentry/sentry-go@v0.46.2/report/aggregator.go:67 # 0x224c261 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x41 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:515 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [5: 800] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1536] @ 0x48dd2c 0x492ae9 0x753bf6 0x738532 0x738a51 0x75a82a 0x759c12 0x498001 # 0x753bf5 net/http.(*http2Transport).newClientConn.http2NewFramer.func2+0x35 net/http/h2_bundle.go:2017 # 0x738531 net/http.(*http2Framer).ReadFrameForHeader+0x71 net/http/h2_bundle.go:2095 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [59: 3776] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [41: 23616] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 37888] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 3520] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x18b5f49 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x18b5f48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0xa8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:96 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 96] @ 0x48dd05 0x41d56d 0x12874e8 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12874e7 net/rpc.(*Client).Call+0x307 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 336] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 11616] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x281d669 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d668 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:251 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 896] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 416] @ 0x48dd05 0x492ae9 0x54295f 0x8fc228 0x8fc1de 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc227 strings.Split+0x127 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 71808] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80967a 0x806822 0x8095a9 0x25db8b9 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x809679 database/sql.(*DB).Conn.func1+0x39 database/sql/sql.go:1950 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x8095a8 database/sql.(*DB).Conn+0x68 database/sql/sql.go:1949 # 0x25db8b8 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x138 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:65 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [48: 2304] @ 0x48dd05 0x428505 0x4a56a5 0x4a5674 0xb73a93 0xb73a4e 0x1287ee5 0x1287e5a 0x498001 # 0x4a56a4 internal/sync.newEntryNode[...]+0x304 internal/sync/hashtriemap.go:572 # 0x4a5673 internal/sync.(*HashTrieMap[...]).LoadOrStore+0x2d3 internal/sync/hashtriemap.go:151 # 0xb73a92 sync.(*Map).LoadOrStore+0x432 sync/map.go:65 # 0xb73a4d net/rpc.(*Server).register+0x3ed net/rpc/server.go:277 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [42: 1344] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [7: 448] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 13824] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1847d8f 0x1a1f009 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a1f008 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [40: 960] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x48d725 0x18468ff 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x194796f 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x194796e 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [11: 528] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2477711 0x2717c6f 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2477710 github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x1f0 github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:470 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 3040] @ 0x48dd05 0x492ae9 0x72e507 0x24775b0 0x24775bb 0x2717c6f 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x24775af net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x24775ba github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 8960] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 2688] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 288] @ 0x48dd05 0x492ae9 0x542c16 0x2479b09 0x2479b01 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479b08 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:853 # 0x2479b00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:301 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 608] @ 0x48dd05 0x493087 0x19ec56b 0x19ec836 0x19f5919 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec56a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x7aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:156 # 0x19ec835 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:184 # 0x19f5918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:992 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 96] @ 0x48dd25 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8bb6 0x4e8baa 0x4e8b9d 0x4e656c 0x4e2d0b 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8bb5 os.openDirNolog.func1+0x35 os/file_unix.go:291 # 0x4e8ba9 os.ignoringEINTR+0x29 os/file_posix.go:256 # 0x4e8b9c os.openDirNolog+0x1c os/file_unix.go:290 # 0x4e656b os.openDir+0x2b os/file.go:428 # 0x4e2d0a os.ReadDir+0x4a os/dir.go:115 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [65: 1040] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 96] @ 0x48dd25 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [9: 288] @ 0x48dd05 0x492ae9 0x542c16 0x2479c05 0x2479c06 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479c04 github.com/mattermost/mattermost/server/public/model.(*TeamMember).GetRoles+0x84 github.com/mattermost/mattermost/server/public/model/team_member.go:143 # 0x2479c05 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x85 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 144] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18453d3 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18453d2 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x652 github.com/mattermost/squirrel@v0.5.0/select.go:133 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [72: 4608] @ 0x48dd05 0x428505 0x99f8e5 0x9a35e6 0x9a393c 0x12f192a 0x1287a0c 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a35e5 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x9a393b github.com/hashicorp/yamux.(*Stream).Close+0x1db github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0x12f1929 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x2e9 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:46 # 0x1287a0b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x28b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:488 0: 0 [8: 128] @ 0x48dd25 0x48d69b 0x549f47 0x54c0aa 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549f46 encoding/json.(*decodeState).convertNumber+0xe6 encoding/json/decode.go:846 # 0x54c0a9 encoding/json.(*decodeState).literalStore+0x20e9 encoding/json/decode.go:991 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [52: 8320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x493087 0x18c7508 0x18c7f54 0x18ebe48 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18c7507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x767 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:280 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ebe47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 1008] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [55: 31680] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 5152] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [27: 6480] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x184b9b4 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [35: 6160] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [88: 2112] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 6400] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18e140f 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e140e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0xae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2351 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 981504] @ 0x48dd2c 0x4752f7 0x1397974 0x1397975 0x258fafe 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x1397973 bytes.(*Buffer).String+0xb3 bytes/buffer.go:77 # 0x1397974 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0xb4 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:59 # 0x258fafd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xb1d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x198a03b 0x18794fa 0x219eda2 0x2589be6 0x25936da 0x257df70 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x198a03a 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 # 0x18794f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).Get+0x99 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10002 # 0x219eda1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).Get+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7990 # 0x2589be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetNotificationNameFormat+0xa5 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:1669 # 0x25936d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotification+0x99 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:236 # 0x257df6f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0xfe2f github.com/mattermost/mattermost/server/v8/channels/app/notification.go:569 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 860160] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x25725da 0x25725b3 0x25f5ae5 0x25f27ad 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x25725d9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x4499 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x25725b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x4472 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:433 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 1224] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1947f7c 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947f7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x2db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [25: 600] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [22: 4224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x25db8d3 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25db8d2 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x152 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:69 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 168] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x546e9e 0x546a79 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x272642b 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x272642a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x180a github.com/mattermost/mattermost/server/v8/channels/web/params.go:248 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb73145 0xb7231f 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb73144 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xb7231e net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [12: 96] @ 0x48dd05 0x493087 0x8b1bf4 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc405 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b1bf3 github.com/mattermost/go-i18n/i18n/language.Parse+0x533 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc404 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:273 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 4640] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [41: 15744] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1a0734f 0x1a072af 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a0734e github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x32e github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a072ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x28e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:434 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 240] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 320] @ 0x48dd05 0x428505 0x25ea565 0x25e9edd 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25ea564 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0xd24 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:294 # 0x25e9edc github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x69c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:210 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184c99b 0x184c893 0x19e2729 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x19e2728 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:138 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 768] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x61e606 0x5fd994 0x498001 # 0x61e605 net.(*Resolver).lookupIPAddr.func1+0x45 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [11: 352] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x19e2010 0x188609a 0x21ad99a 0x21f1fa3 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19e200f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.Get+0x16f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:114 # 0x1886099 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13626 # 0x21ad999 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10773 # 0x21f1fa2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x82 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:245 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [74: 1184] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [34: 17408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd05 0x428505 0x805c46 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x805c45 database/sql.(*DB).conn+0x985 database/sql/sql.go:1440 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 624] @ 0x48dd05 0x428505 0x520cb5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 64] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18469d0 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469cf github.com/mattermost/squirrel.SelectBuilder.Columns+0x18f github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 1792] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [80: 3840] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd05 0x4246eb 0x8078a5 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x8078a4 database/sql.(*DB).execDC+0x4c4 database/sql/sql.go:1719 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1152] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 2304] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 4800] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 720] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2880708 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2880707 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x1c7 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:639 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 3520] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 10368] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199abd4 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199abd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x5d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:165 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 448] @ 0x48dd25 0x492ae9 0x9a1f25 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f24 github.com/hashicorp/yamux.newStream+0x64 github.com/hashicorp/yamux@v0.1.2/stream.go:71 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [4: 1920] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [22: 704] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [59: 1416] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [22: 3168] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 2352] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb59638 0xb59608 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59637 encoding/gob.overflow+0x6f7 encoding/gob/decode.go:109 # 0xb59607 encoding/gob.(*Decoder).decOpFor+0x6c7 encoding/gob/decode.go:885 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 29568] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [59: 16992] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1990bed 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990bec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x76c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 16224] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 2432] @ 0x48dd2c 0x4930f3 0x557139 0x557466 0x55a2ec 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [29: 4640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 3040] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x281753a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2817539 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:273 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 5120] @ 0x48dd05 0x493087 0x212845a 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2128459 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x739 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726747 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726746 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1b26 github.com/mattermost/mattermost/server/v8/channels/web/params.go:276 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd1dc 0x27270a7 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd1db strconv.ParseInt+0x5b strconv/number.go:140 # 0x27270a6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2486 github.com/mattermost/mattermost/server/v8/channels/web/params.go:320 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726c27 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726c26 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2006 github.com/mattermost/mattermost/server/v8/channels/web/params.go:298 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [19: 304] @ 0x48dd05 0x41d56d 0xb83c6b 0xb832a9 0x12877cd 0x498001 # 0xb83c6a github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xaa github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:177 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [13: 312] @ 0x48dd05 0x41d56d 0x4bee48 0x20e2033 0x20e2024 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x20e2032 time.After+0x172 time/sleep.go:203 # 0x20e2023 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x163 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:55 0: 0 [18: 864] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 96] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [40: 5120] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 4608] @ 0x48dd05 0x493087 0x196f7cf 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196f7ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1409 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [68: 3264] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27262c7 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27262c6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x16a6 github.com/mattermost/mattermost/server/v8/channels/web/params.go:229 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 2592] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5cdd5 0xb757d0 0x12880d3 0x498001 # 0xb5cdd4 encoding/gob.NewDecoder+0x1f4 encoding/gob/decoder.go:53 # 0xb757cf net/rpc.(*Server).ServeConn+0x12f net/rpc/server.go:451 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 320] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 768] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [8: 512] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x20e29f0 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x20e29ef github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x28f github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:71 0: 0 [7: 1456] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56fc78 0x60ab1b 0x60aae6 0x60c005 0x60f66c 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56fc77 context.WithDeadlineCause+0x137 context/context.go:643 # 0x60ab1a context.WithDeadline+0x2fa context/context.go:626 # 0x60aae5 net.(*Resolver).exchange+0x2c5 net/dnsclient_unix.go:182 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [71: 49984] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [102: 14688] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [13: 1456] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [60: 1920] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 264] @ 0x48dd05 0x428505 0x1946dd6 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1946dd5 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 128] @ 0x48dd05 0x492ae9 0x542c16 0x2477948 0x2477949 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2477947 github.com/mattermost/mattermost/server/public/model.(*Session).GetUserRoles+0x47 github.com/mattermost/mattermost/server/public/model/session.go:272 # 0x2477948 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x48 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [59: 1416] @ 0x48dd05 0x4246eb 0x212d62a 0x268cd4c 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x212d629 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Team+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:551 # 0x268cd4b github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0x6b github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 832] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 10368] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1902e8d 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902e8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:412 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 288] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 78336] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 14592] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 192] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x2979daf 0x299af5a 0x299be65 0x6df86e 0x69baa7 0x6b8245 0x6b820f 0x6b4156 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x6df86d crypto/tls.(*cipherSuiteTLS13).trafficKey+0x8d crypto/tls/key_schedule.go:30 # 0x69baa6 crypto/tls.(*halfConn).setTrafficSecret+0x66 crypto/tls/conn.go:233 # 0x6b8244 crypto/tls.(*Conn).setWriteTrafficSecret+0x124 crypto/tls/conn.go:1706 # 0x6b820e crypto/tls.(*clientHandshakeStateTLS13).sendClientFinished+0xee crypto/tls/handshake_client_tls13.go:819 # 0x6b4155 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x7b5 crypto/tls/handshake_client_tls13.go:145 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [6: 144] @ 0x48dd05 0x4246eb 0x1398327 0x270f109 0x270edf5 0x2836d0c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1398326 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x3c6 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:43 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x2836d0b github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xf8b github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:256 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2176] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 41472] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x196fe19 0x196fda6 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x196fe18 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x798 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x196fda5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1427 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x1841a73 0x1841335 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1841a72 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x532 github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1056] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [29: 464] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1920] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [13: 416] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [18: 864] @ 0x48dd05 0x492ae9 0x551136 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 720] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 432] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1920] @ 0x48dd05 0x428505 0x126f8f3 0x1256fd6 0x12506a6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126f8f2 github.com/lib/pq.ssl+0x52 github.com/lib/pq@v1.12.3/ssl.go:71 # 0x1256fd5 github.com/lib/pq.(*conn).ssl+0x95 github.com/lib/pq@v1.12.3/conn.go:1180 # 0x12506a5 github.com/lib/pq.(*Connector).open+0x765 github.com/lib/pq@v1.12.3/conn.go:279 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 704] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x126e68f 0x80fda9 0x810451 0x80fbda 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x126e68e github.com/lib/pq.(*rows).Close+0x4e github.com/lib/pq@v1.12.3/rows.go:49 # 0x80fda8 database/sql.(*Rows).close.func1+0x28 database/sql/sql.go:3456 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80fbd9 database/sql.(*Rows).close+0x139 database/sql/sql.go:3455 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 147456] @ 0x48dd2c 0x492ae9 0x4ce193 0x4a2651 0x4cef08 0x4ce831 0x4ce52c 0x4ce50b 0x7785a5 0x772757 0x57cf32 0x779065 0x779e95 0x498001 # 0x4ce192 io.init.func1+0x32 io/io.go:657 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4cef07 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x7785a4 net/http.(*chunkWriter).writeHeader+0x1ca4 net/http/server.go:1418 # 0x772756 net/http.(*chunkWriter).Write+0x36 net/http/server.go:378 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x779064 net/http.(*response).finishRequest+0x44 net/http/server.go:1671 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 10560] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x281d7a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d7a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 12960] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1990b1d 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990b1c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979e90 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979e8f crypto/internal/fips140/hmac.New[...]+0x12f crypto/internal/fips140/hmac/hmac.go:186 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 18432] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [15: 3840] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 160] @ 0x48dd05 0x428505 0x19ea89b 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19ea89a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x13a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 7488] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 320] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 15136] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x281d7ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d7fe github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x27e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 294912] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1872] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dce25 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dce24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:282 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 800] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [3: 336] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [61: 31232] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc97745 0xc97746 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc97744 github.com/tinylib/msgp/msgp.ReadStringBytes+0x6c4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97745 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x6c5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:570 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x428505 0x1847b1c 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1847b1b github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [24: 1536] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 6048] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 96] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 160] @ 0x48dd05 0x428505 0x61b31d 0x61b35b 0x1395bba 0x2716a0b 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x61b31c net.SplitHostPort.func1+0x4fc net/ipsock.go:171 # 0x61b35a net.SplitHostPort+0x53a net/ipsock.go:178 # 0x1395bb9 github.com/mattermost/mattermost/server/v8/channels/utils.GetIPAddress+0x159 github.com/mattermost/mattermost/server/v8/channels/utils/utils.go:111 # 0x2716a0a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x32a github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:186 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 5120] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [62: 3968] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7639 0x71aabf 0x75975c 0x757630 0x71f726 0x71f895 0x71f4f2 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x71aabe vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x3be vendor/golang.org/x/net/http2/hpack/encode.go:77 # 0x75975b net/http.(*http2ClientConn).writeHeader+0x13b net/http/h2_bundle.go:9359 # 0x75762f net/http.(*http2clientStream).encodeAndWriteHeaders.func1+0x2f net/http/h2_bundle.go:8900 # 0x71f725 net/http/internal/httpcommon.EncodeHeaders.func3+0x65 net/http/internal/httpcommon/httpcommon.go:405 # 0x71f894 net/http/internal/httpcommon.EncodeHeaders.func1+0x94 net/http/internal/httpcommon/httpcommon.go:289 # 0x71f4f1 net/http/internal/httpcommon.EncodeHeaders+0x6f1 net/http/internal/httpcommon/httpcommon.go:397 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [2: 192] @ 0x48dd05 0x428505 0x5ccf85 0x6bb37a 0x6bb207 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bb379 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x2339 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb206 crypto/tls.(*clientHelloMsg).marshalMsg+0x21c6 crypto/tls/handshake_messages.go:257 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [25: 3200] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6bb0f0 0x6baf82 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6bb0ef vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x20af vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baf81 crypto/tls.(*clientHelloMsg).marshalMsg+0x1f41 crypto/tls/handshake_messages.go:240 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [35: 560] @ 0x48dd05 0x428505 0xb5bc45 0xb5bbf3 0xb5bc03 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc44 errors.New+0x3e4 errors/errors.go:65 # 0xb5bbf2 encoding/gob.overflow+0x392 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [28: 896] @ 0x48dd2c 0x4752f7 0xc83f25 0xc83f26 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc83f24 github.com/tinylib/msgp/msgp.ReadStringBytes+0x124 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc83f25 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x125 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:473 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x18df247 0x18df22c 0x18df22b 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18df246 github.com/mattermost/squirrel.newPart+0x206 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x18df22b github.com/mattermost/squirrel.SelectBuilder.From+0x1eb github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18df22a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x1ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2156 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 8064] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x276e2f4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x276e2f3 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x173 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1956 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 336] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbe4e57 0xbe47ea 0xbe6ebd 0xbe6d4a 0xbe6d7b 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbe4e56 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeInterface+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:421 # 0xbe47e9 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeInterfaceCond+0x29 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:327 # 0xbe6ebc github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0xdc github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:171 # 0xbe6d49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xbe6d7a github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x9a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 16128] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 1872] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [49: 10192] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 480] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [32: 2048] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 9216] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 552] @ 0x48dd05 0x428505 0x520cb5 0xb5819b 0xb59c93 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [96: 98304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845431 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845430 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x6b0 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725c94 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725c93 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1073 github.com/mattermost/mattermost/server/v8/channels/web/params.go:199 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [649: 10384] @ 0x48dd05 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x55a8fa 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x55a8f9 encoding/json.(*Encoder).Encode+0x239 encoding/json/stream.go:236 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199ab6e 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199ab6d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1200] @ 0x48dd05 0x428505 0x621fb4 0x773e94 0x57b3c3 0x57b4f3 0x779fb3 0x498001 # 0x621fb3 net.(*conn).Read+0xb3 net/net.go:198 # 0x773e93 net/http.(*connReader).Read+0x153 net/http/server.go:812 # 0x57b3c2 bufio.(*Reader).fill+0x102 bufio/bufio.go:113 # 0x57b4f2 bufio.(*Reader).Peek+0x52 bufio/bufio.go:152 # 0x779fb2 net/http.(*conn).serve+0x7b2 net/http/server.go:2109 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 1584] @ 0x48dd05 0x428505 0x2738792 0x2738777 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2738791 github.com/mattermost/mattermost/server/public/model.NewWebSocketResponse+0x11b1 github.com/mattermost/mattermost/server/public/model/websocket_message.go:451 # 0x2738776 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x1196 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:74 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 1088] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x415da5 0xb5c38f 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c38e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1189 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [27: 432] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [77: 34496] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x2836d0c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x2836d0b github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xf8b github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:256 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 10240] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 8640] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f812d 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f812c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x40c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [62: 2976] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb59910 0xb598e0 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5990f encoding/gob.overflow+0x9cf encoding/gob/decode.go:109 # 0xb598df encoding/gob.(*Decoder).decOpFor+0x99f encoding/gob/decode.go:867 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [6: 288] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 176] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x55a2ec 0x559f35 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1200] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [3: 768] @ 0x48dd2c 0x492ae9 0x296b1f4 0x296b231 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296b1f3 crypto/internal/fips140/bigmod.NewNat+0x33 crypto/internal/fips140/bigmod/nat.go:72 # 0x296b230 crypto/internal/fips140/bigmod.NewModulus+0x70 crypto/internal/fips140/bigmod/nat.go:552 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [19: 7296] @ 0x48dd05 0x492ae9 0x2718f09 0x2718eab 0x27182da 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2718f08 github.com/mattermost/logr/v2.Logger.With+0x2828 github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x2718eaa github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27ca github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 3680] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [5: 640] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x55a8fa 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x55a8f9 encoding/json.(*Encoder).Encode+0x239 encoding/json/stream.go:236 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 8320] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18413d1 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f2e24 0x21f9d85 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f2e23 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x2a3 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:337 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [7: 112] @ 0x48dd25 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb731a5 0xb72511 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb731a4 net/rpc.(*gobClientCodec).ReadResponseBody+0x24 net/rpc/client.go:232 # 0xb72510 net/rpc.(*Client).input+0x290 net/rpc/client.go:141 0: 0 [87: 4176] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x272642b 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x272642a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x180a github.com/mattermost/mattermost/server/v8/channels/web/params.go:248 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x22a408e 0x20e3c44 0x20e3045 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x22a408d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184ce6c 0x184cd9b 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 144] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [8: 1280] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xc8b358 0xc8b359 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b357 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b358 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca1709 0x2204e27 0x2204837 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca1708 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).PrecomputeJSON+0xe8 github.com/mattermost/mattermost/server/public/model/websocket_message.go:249 # 0x2204e26 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x5c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:723 # 0x2204836 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:791 0: 0 [1: 128] @ 0x48dd05 0x493087 0x12636d2 0x1261eb6 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x12636d1 github.com/lib/pq.(*Config).setFromTag+0x11f1 github.com/lib/pq@v1.12.3/connector.go:853 # 0x1261eb5 github.com/lib/pq.(*Config).fromDSN+0x7d5 github.com/lib/pq@v1.12.3/connector.go:793 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce9b0 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce9af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:966 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x62e365 0x627abb 0x62717b 0x61c3d8 0x62f787 0x607d4b 0x607688 0x606e19 0x605b65 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x62e364 net.sockaddrToUDP+0x104 net/udpsock_posix.go:18 # 0x627aba net.(*netFD).dial+0x83a net/sock_posix.go:143 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x607d4a net.(*sysDialer).dialSingle+0x26a net/dial.go:795 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x124f2d6 0x125bedb 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125beda github.com/lib/pq.(*conn).readExecuteResponse+0xfa github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 32640] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1872] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [151: 4832] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x18e21af 0x18e2127 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x18e21ae github.com/mattermost/squirrel.SelectBuilder.From+0x1ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18e2126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x126 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2448 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18e231f 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e231e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ba7fe 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19ba7fd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0xdd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:269 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 832] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [55: 1320] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1a067c7 0x1a06746 0x1a06744 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a067c6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a06745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a06743 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:452 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a3e75 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a3e74 github.com/jmoiron/sqlx.(*Row).scanAny+0x7f4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:787 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 672] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x12f0ba2 0x51716c 0x516019 0xb75014 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x12f0ba1 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 800] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1456] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [32: 1536] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1944d54 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1944d53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x753 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1a067c7 0x1a06746 0x1a06744 0x1309f10 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1a067c6 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xa6 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1a06745 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1a06743 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:452 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 400] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 2576] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19909ee 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19909ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x56d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [36: 576] @ 0x48dd05 0x48d725 0x19f1df4 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1df3 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xb3 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [87: 4176] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x224a125 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a124 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0xc4 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:84 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [7: 336] @ 0x48dd05 0x428505 0x17d9d8b 0x17d9d5b 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x17d9d8a bytes.NewReader+0x4a bytes/reader.go:159 # 0x17d9d5a github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0x1a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:78 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 3920] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 160] @ 0x48dd05 0x493087 0x1904afd 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904afc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x8dc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:531 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 5376] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 6880] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [44: 1056] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [67: 51456] @ 0x48dd0c 0x493087 0x471429 0x18c61fa 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c61f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x839 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:169 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18d1cd5 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1cd4 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x274 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183ef85 0x183f555 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ef84 github.com/mattermost/squirrel.Eq.toSQL+0xaa4 github.com/mattermost/squirrel@v0.5.0/expr.go:198 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 640] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 240] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18461d4 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [57: 1368] @ 0x48dd05 0x428505 0x225e51a 0x225e4d3 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225e519 github.com/getsentry/sentry-go.NewHub+0x79 github.com/getsentry/sentry-go@v0.46.2/hub.go:69 # 0x225e4d2 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.46.2/hub.go:120 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61d7c 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d7b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:94 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x1846885 0x1972bd8 0x1972ba9 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x1972bd7 github.com/mattermost/squirrel.StatementBuilderType.Select+0x397 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1972ba8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x368 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1733 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1440] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2304] @ 0x48dd0c 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1a19985 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x1a19984 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:335 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a19393 0x18944b1 0x21591ed 0x21be15d 0x26af049 0x26aeffe 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a19392 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Update+0x1d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:269 # 0x18944b0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Update+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:17535 # 0x21591ec 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 # 0x21be15c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Update+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13869 # 0x26af048 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).UpdateUser+0x3e8 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:206 # 0x26aeffd github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0x39d github.com/mattermost/mattermost/server/v8/channels/app/user.go:1508 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 13440] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 1440] @ 0x48dd05 0x492ae9 0x249e9d5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249e9d4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0xb4 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2525 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 10560] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 104] @ 0x48dd05 0x428505 0x212445b 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x212445a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x9a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:128 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 7488] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199ad73 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ad72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x772 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 10816] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [5: 240] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x99febb 0x99fbe2 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x299be29 0x299ba09 0x299b525 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299be28 crypto/internal/fips140/tls13.ExpandLabel[...]+0x368 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x299b524 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x44 crypto/internal/fips140/tls13/tls13.go:121 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1945747 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1945746 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 2304] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x4cef08 0x4ce831 0x4ce52c 0x4ce50b 0x224897f 0x224c4d3 0x224c0d3 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4cef07 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x224897e github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x9e github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:111 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [7: 896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21f140c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21f140b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9eb github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [87: 61248] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196fc51 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fc50 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1424 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 4480] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x198a90a 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x198a909 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [43: 2752] @ 0x48dd05 0x428505 0x99f8e5 0x99f4c5 0x99f4c6 0x99f6e5 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x99f4c4 github.com/hashicorp/yamux.(*Session).waitForSend+0x144 github.com/hashicorp/yamux@v0.1.2/session.go:385 # 0x99f4c5 github.com/hashicorp/yamux.(*Session).Ping+0x145 github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [4: 256] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd05 0x428505 0x2717be5 0x2717bb4 0x2717b9f 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2717be4 net/textproto.MIMEHeader.Set+0x1504 net/textproto/header.go:22 # 0x2717bb3 net/http.Header.Set+0x14d3 net/http/header.go:40 # 0x2717b9e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x14be github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:255 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 64] @ 0x48dd05 0x428505 0xbdcc18 0x21fafc5 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbdcc17 github.com/gorilla/websocket.(*Conn).NextReader+0xd7 github.com/gorilla/websocket@v1.5.3/conn.go:1016 # 0x21fafc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:464 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x272bc65 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272bc64 github.com/mattermost/mattermost/server/v8/channels/web.root+0x8e4 github.com/mattermost/mattermost/server/v8/channels/web/static.go:116 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 2496] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x261b829 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261b828 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x208 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:69 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1958429 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1958428 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x488 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:150 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 2688] @ 0x48dd2c 0x41d5e6 0x75573f 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x75573e net/http.(*http2ClientConn).roundTrip+0x15e net/http/h2_bundle.go:8619 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 640] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19cabad 0x19ca893 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19cabac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19ca892 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 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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: 16896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [12: 15360] @ 0x48dd0c 0x493087 0x18eb8c5 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 160512] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 15360] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3456] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 14336] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 4992] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc9d953 0x28bcf10 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9d952 github.com/mattermost/mattermost/server/public/model.MapFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:510 # 0x28bcf0f github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2621 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 19712] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [78: 4992] @ 0x48dd05 0x428505 0xb59973 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59972 encoding/gob.(*Decoder).decOpFor+0xa32 encoding/gob/decode.go:868 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [8: 3072] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7b80be 0x7b80d7 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b80bd regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7b80d6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 448] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x199a7d1 0x199a66a 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x199a7d0 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x199a669 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:147 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 12800] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 11264] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [63: 1008] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x190436f 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190436e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [47: 27072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 3456] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69d95b 0x6a1f71 0x6a1f72 0x6a1ff9 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69d95a crypto/tls.(*Conn).readRecordOrCCS+0x3da crypto/tls/conn.go:626 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [26: 416] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 720] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 1664] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1664] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [59: 18880] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x195d72f 0x195d6d5 0x195d670 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x195d72e github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0x14e github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x195d6d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0xf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x195d66f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:52 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19eaad0 0x19eaa08 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19eaacf github.com/lann/builder.Append+0x36f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaa07 github.com/mattermost/squirrel.InsertBuilder.Values+0x2a7 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 6144] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x76cb25 0x79a9df 0x774ce7 0x779bd8 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x76cb24 net/http.newTextprotoReader+0x24 net/http/request.go:1039 # 0x79a9de net/http.readRequest+0x3e net/http/request.go:1080 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [5: 560] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2080] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [32: 13312] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 7680] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 160] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 864] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1a07269 0x1309f10 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [14: 672] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x428505 0x19036fc 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19036fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xa7b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:435 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x1251bbb 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x1251bba github.com/lib/pq.dial+0x19a github.com/lib/pq@v1.12.3/conn.go:446 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19e3453 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e3452 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x292 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:186 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd1dc 0x27261ff 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd1db strconv.ParseInt+0x5b strconv/number.go:140 # 0x27261fe github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x15de github.com/mattermost/mattermost/server/v8/channels/web/params.go:222 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2080] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1584] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 1464] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 5376] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x493412 0x53e105 0x53e1f0 0x5431d4 0x1841a65 0x1841335 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x1841a64 github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x524 github.com/mattermost/squirrel@v0.5.0/insert.go:140 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 960] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 640] @ 0x48dd05 0x428505 0x75bbfd 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75bbfc net/http.(*http2clientConnReadLoop).handleResponse+0xa1c net/http/h2_bundle.go:9797 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [3: 96] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd05 0x428505 0x22482af 0x22481e0 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x22482ae io.LimitReader+0x12e io/io.go:461 # 0x22481df github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x5f github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [32: 3072] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726e28 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726e27 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2207 github.com/mattermost/mattermost/server/v8/channels/web/params.go:304 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x5704f3 0x1cc825f 0x1cc52ca 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x1cc825e github.com/gorilla/mux.requestWithRoute+0x5e github.com/gorilla/mux@v1.8.1/mux.go:454 # 0x1cc52c9 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2736] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x22461b8 0x2249f7a 0x224c44f 0x224c0d3 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x22461b7 github.com/getsentry/sentry-go/internal/protocol.Dsn.GetAPIURL+0x1f7 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:222 # 0x2249f79 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [18: 6912] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x71d508 0x71cd94 0x71c7b2 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x71d507 vendor/golang.org/x/net/http2/hpack.(*Decoder).decodeString+0x47 vendor/golang.org/x/net/http2/hpack/hpack.go:513 # 0x71cd93 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x333 vendor/golang.org/x/net/http2/hpack/hpack.go:386 # 0x71c7b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x2719085 0x27182da 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2719084 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x29a4 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:294 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1040] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 64] @ 0x48dd05 0x41d56d 0xb84cac 0xb84c93 0x12f33ac 0x12f325c 0x12e8174 0x12e99de 0x12e9894 0x498001 # 0xb84cab net/rpc.(*Client).Call+0x2b net/rpc/client.go:321 # 0xb84c92 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:172 # 0x12f33ab github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xab github.com/mattermost/mattermost/server/public/plugin/supervisor.go:234 # 0x12f325b github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x1b github.com/mattermost/mattermost/server/public/plugin/supervisor.go:210 # 0x12e8173 github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xb3 github.com/mattermost/mattermost/server/public/plugin/environment.go:677 # 0x12e99dd github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x12e9893 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x153 github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x18468ff 0x1947da5 0x1947d71 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x18468fe github.com/mattermost/squirrel.SelectBuilder.Columns+0xbe github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1947da4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1947d70 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [4: 192] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27271b1 0x272be7b 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x272be7a github.com/mattermost/mattermost/server/v8/channels/web.root+0xafa github.com/mattermost/mattermost/server/v8/channels/web/static.go:123 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x470c9f 0x4af985 0x4b5257 0x4b5261 0x4edc55 0x4edc31 0x4edc3a 0x4edc2e 0x4ed78c 0x573a49 0x572a98 0x572a99 0x1338610 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b5256 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4b5260 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4edc54 syscall.Lstat+0x54 syscall/syscall_linux_amd64.go:69 # 0x4edc30 os.lstatNolog.func1+0x30 os/stat_unix.go:45 # 0x4edc39 os.ignoringEINTR+0x39 os/file_posix.go:256 # 0x4edc2d os.lstatNolog+0x2d os/stat_unix.go:44 # 0x4ed78b os.Lstat+0x2b os/stat.go:26 # 0x573a48 path/filepath.walkSymlinks+0x188 path/filepath/symlink.go:85 # 0x572a97 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x572a98 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x133860f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:47 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1152] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1394651 0x2716ecb 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1394650 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x2716eca github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x7ea github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:218 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [53: 1272] @ 0x48dd05 0x428505 0x2270225 0x2270263 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2270224 github.com/getsentry/sentry-go.WithTransactionName+0xc4 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1001 # 0x2270262 github.com/getsentry/sentry-go.StartTransaction+0x102 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1158 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 640] @ 0x48dd2c 0x492ae9 0x4e91cc 0x4e5645 0x4e5633 0x13385fe 0x1338601 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e91cb os.readlink+0x6b os/file_unix.go:430 # 0x4e5644 os.Readlink+0x24 os/file.go:447 # 0x4e5632 os.executable+0x12 os/executable_procfs.go:23 # 0x13385fd os.Executable+0x11d os/executable.go:19 # 0x1338600 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x120 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:46 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 26048] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x272be10 0x272bda5 0x272bcec 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x272be0f net/textproto.MIMEHeader.Set+0xa8f net/textproto/header.go:22 # 0x272bda4 net/http.Header.Set+0xa24 net/http/header.go:40 # 0x272bceb github.com/mattermost/mattermost/server/v8/channels/web.root+0x96b github.com/mattermost/mattermost/server/v8/channels/web/static.go:122 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 8000] @ 0x48dd05 0x428505 0x2716ad0 0x2716c0c 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716acf github.com/mattermost/mattermost/server/public/shared/request.NewContext+0x3ef github.com/mattermost/mattermost/server/public/shared/request/context.go:31 # 0x2716c0b github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x52b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:183 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 6864] @ 0x48dd05 0x428505 0x4edc28 0x4ed78c 0x573a49 0x572a98 0x572a99 0x1338610 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4edc27 os.lstatNolog+0x27 os/stat_unix.go:43 # 0x4ed78b os.Lstat+0x2b os/stat.go:26 # 0x573a48 path/filepath.walkSymlinks+0x188 path/filepath/symlink.go:85 # 0x572a97 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x572a98 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x133860f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:47 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 640] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x54d545 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x54d544 encoding/json.Marshal+0x184 encoding/json/encode.go:215 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [22: 19712] @ 0x48dd0c 0x492ae9 0x85977f 0x858b5e 0x498001 # 0x85977e github.com/mattermost/logr/v2.(*LogRec).prep+0x2de github.com/mattermost/logr/v2@v2.0.22/logrec.go:67 # 0x858b5d github.com/mattermost/logr/v2.(*Logr).start+0xdd github.com/mattermost/logr/v2@v2.0.22/logr.go:433 0: 0 [31: 496] @ 0x48dd05 0x428505 0x271709b 0x271706e 0x2717033 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271709a net/textproto.MIMEHeader.Set+0x9ba net/textproto/header.go:22 # 0x271706d net/http.Header.Set+0x98d net/http/header.go:40 # 0x2717032 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x952 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:225 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0xc9da88 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9da87 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x27 github.com/mattermost/mattermost/server/public/model/utils.go:547 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [37: 75776] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 5888] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 3952] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 128] @ 0x48dd05 0x48d725 0xc3f58f 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f58e github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x1ee github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 3024] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x18c8c38 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c8c37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:479 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [106: 1696] @ 0x48dd05 0x48d725 0x76a2d5 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a2d4 net/http.(*Request).AddCookie+0x94 net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 400] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 1248] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [44: 4928] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x20e2033 0x20e2024 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x20e2032 time.After+0x172 time/sleep.go:203 # 0x20e2023 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x163 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:55 0: 0 [69: 1104] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 128] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227f549 0x12f0d2e 0x51716c 0x516019 0xb75014 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x12f0d2d github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [44: 15488] @ 0x48dd05 0x428505 0x261cbd2 0x261cbc6 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261cbd1 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x51 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0x261cbc5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:190 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 21504] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x184bf68 0x19e24b7 0x19e2491 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184bf67 github.com/mattermost/squirrel.UpdateBuilder.Table+0x147 github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x19e24b6 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x19e2490 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:137 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 32] @ 0x48dd05 0x428505 0x184ce0c 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184ce0b github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0xab github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 28416] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [115: 5520] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f1def 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1dee github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xae github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [29: 7424] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [27: 8640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [76: 496128] @ 0x48dd2c 0x428505 0x687266 0x687253 0x6872df 0x6e070f 0x6aca42 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x687265 crypto/internal/fips140/mlkem.(*DecapsulationKey768).EncapsulationKey+0x25 crypto/internal/fips140/mlkem/mlkem768.go:125 # 0x687252 crypto/mlkem.(*DecapsulationKey768).EncapsulationKey+0x12 crypto/mlkem/mlkem.go:85 # 0x6872de crypto/mlkem.(*DecapsulationKey768).Encapsulator+0x9e crypto/mlkem/mlkem.go:93 # 0x6e070e crypto/tls.(*hybridKeyExchange).keyShares+0x18e crypto/tls/key_schedule.go:193 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [10: 4014080] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2432] @ 0x48dd05 0x428505 0x6135a5 0x61354f 0x632376 0x630f10 0x77f64c 0x2663c1b 0x498001 # 0x6135a4 net.newFD+0x144 net/fd_unix.go:27 # 0x61354e net.(*netFD).accept+0xee net/fd_unix.go:158 # 0x632375 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x630f0f net.(*UnixListener).Accept+0x2f net/unixsock.go:267 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183f290 0x183f598 0x184dcbd 0x18442bd 0x1844428 0x183b0cc 0x183b938 0x198d2ca 0x1879d84 0x219f744 0x263172a 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f597 github.com/mattermost/squirrel.NotEq.ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/expr.go:234 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x183b0cb github.com/mattermost/squirrel.(*deleteData).ToSql+0x36b github.com/mattermost/squirrel@v0.5.0/delete.go:76 # 0x183b937 github.com/mattermost/squirrel.DeleteBuilder.ToSql+0x177 github.com/mattermost/squirrel@v0.5.0/delete.go:144 # 0x198d2c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlProductNoticesStore.ClearOldNotices+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/product_notices_store.go:51 # 0x1879d83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10149 # 0x219f743 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerProductNoticesStore).ClearOldNotices+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8102 # 0x2631729 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x9c9 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:353 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 256] @ 0x48dd05 0x428505 0x6a251e 0x6a222f 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a251d crypto/tls.(*Conn).unmarshalHandshakeMessage+0x15d crypto/tls/conn.go:1140 # 0x6a222e crypto/tls.(*Conn).readHandshake+0x26e crypto/tls/conn.go:1120 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [69: 1104] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [32: 348160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 1792] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dc18f 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 800] @ 0x48dd05 0x492ae9 0x542c16 0x2479b09 0x2479b01 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479b08 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:853 # 0x2479b00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:301 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [42: 4704] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [6: 1728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1944d9b 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1944d9a 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 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d43a 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 19712] @ 0x48dd2c 0x4930f3 0x127232f 0x12722de 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x127232e github.com/lib/pq.(*writeBuf).bytes+0x60e github.com/lib/pq@v1.12.3/buf.go:80 # 0x12722dd github.com/lib/pq.(*stmt).exec+0x5bd github.com/lib/pq@v1.12.3/stmt.go:130 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x1338925 0x1338880 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x1338924 path/filepath.Join+0x444 path/filepath/path.go:131 # 0x133887f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x39f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:57 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [15: 11520] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [28: 4480] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 384] @ 0x48dd05 0x428505 0xb757f6 0xb75998 0x12880d3 0x498001 # 0xb757f5 encoding/gob.NewEncoder+0x155 encoding/gob/encoder.go:36 # 0xb75997 net/rpc.(*Server).ServeConn+0x2f7 net/rpc/server.go:452 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 393216] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 4032] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [22: 5632] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 1664] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x547433 0x548ee7 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x547432 encoding/json.(*decodeState).scanWhile+0x72 encoding/json/decode.go:301 # 0x548ee6 encoding/json.(*decodeState).object+0xb06 encoding/json/decode.go:751 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x196fab8 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fab7 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x437 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 5120] @ 0x48dd2c 0x4752f7 0x695577 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x695576 crypto/tls.(*weakCertCache).newCert+0x356 crypto/tls/cache.go:33 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [19: 9728] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296c79a 0x296b0c5 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296c799 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:742 # 0x296b0c4 crypto/internal/fips140/bigmod.rr+0x264 crypto/internal/fips140/bigmod/nat.go:512 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [22: 4224] @ 0x48dd05 0x428505 0x6058d2 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x6058d1 net.(*Dialer).DialContext+0x1f1 net/dial.go:544 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x26d0278 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x26d0277 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xd17 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:894 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x7995f0 0x7995e4 0x799597 0x78d61f 0x78cf98 0x79038b 0x790175 0x498001 # 0x7995ef container/list.(*List).insertValue+0xef container/list/list.go:104 # 0x7995e3 container/list.(*List).PushFront+0xe3 container/list/list.go:146 # 0x799596 net/http.(*connLRU).add+0x96 net/http/transport.go:3252 # 0x78d61e net/http.(*Transport).tryPutIdleConn+0x63e net/http/transport.go:1150 # 0x78cf97 net/http.(*Transport).putOrCloseIdleConn+0x17 net/http/transport.go:1045 # 0x79038a net/http.(*Transport).dialConnFor+0x12a net/http/transport.go:1654 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [12: 16896] @ 0x48dd2c 0x4930f3 0x6bde95 0x6bde65 0x6bdd77 0x5ccbc4 0x5cd01c 0x6bdb05 0x6bdabe 0x5ccbc4 0x5cd01c 0x6bda54 0x6bda33 0x5ccbc4 0x5cd01c 0x6bb88e 0x6bb720 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6bde94 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x134 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6bde64 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddBytes+0x104 vendor/golang.org/x/crypto/cryptobyte/builder.go:110 # 0x6bdd76 crypto/tls.(*clientHelloMsg).marshalMsg.func14.1.1+0x16 crypto/tls/handshake_messages.go:290 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bdb04 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x84 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bdabd crypto/tls.(*clientHelloMsg).marshalMsg.func14.1+0x3d crypto/tls/handshake_messages.go:289 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bda53 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bda32 crypto/tls.(*clientHelloMsg).marshalMsg.func14+0x12 crypto/tls/handshake_messages.go:286 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb88d vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x284d vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6bb71f crypto/tls.(*clientHelloMsg).marshalMsg+0x26df crypto/tls/handshake_messages.go:285 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [90: 4320] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726ec7 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726ec6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x22a6 github.com/mattermost/mattermost/server/v8/channels/web/params.go:306 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 18432] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [12: 576] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x75b4a5 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b4a4 net/http.(*http2clientConnReadLoop).handleResponse+0x2c4 net/http/h2_bundle.go:9689 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a29308 0x188f476 0x21b852d 0x2295903 0x20db11a 0x20dad8e 0x498001 # 0x1a29307 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Count+0x207 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1441 # 0x188f475 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Count+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16218 # 0x21b852c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Count+0xac github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12800 # 0x2295902 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users.MakeWorker.func2+0xe2 github.com/mattermost/mattermost/server/v8/channels/jobs/active_users/worker.go:23 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [4: 704] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 73728] @ 0x48dd2c 0x492ae9 0x4ce193 0x4a2651 0x4cef08 0x4ce831 0x4ce52c 0x4ce50b 0x224897f 0x224c4d3 0x224c0d3 0x498001 # 0x4ce192 io.init.func1+0x32 io/io.go:657 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4cef07 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x224897e github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x9e github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:111 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [20: 2240] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x199814f 0x19980c6 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x199814e github.com/mattermost/squirrel.SelectBuilder.From+0x14e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19980c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:78 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [73: 1752] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 864] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [20: 640] @ 0x48dd2c 0x4752f7 0xc9711a 0xc9711b 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97119 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9711a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 11520] @ 0x48dd0c 0x428505 0x1b8e465 0x1b8e527 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:151 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x5ccf85 0x6be4ea 0x6be4c4 0x5ccbc4 0x5cd01c 0x6be454 0x6be433 0x5ccbc4 0x5cd01c 0x6bb0f0 0x6baf82 0x6bfdd5 0x6d0e38 0x6b3ae5 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5ccf84 vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x2e4 vendor/golang.org/x/crypto/cryptobyte/builder.go:200 # 0x6be4e9 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint8LengthPrefixed+0x69 vendor/golang.org/x/crypto/cryptobyte/builder.go:146 # 0x6be4c3 crypto/tls.(*clientHelloMsg).marshalMsg.func11.1+0x43 crypto/tls/handshake_messages.go:243 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6be453 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x33 vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6be432 crypto/tls.(*clientHelloMsg).marshalMsg.func11+0x12 crypto/tls/handshake_messages.go:241 # 0x5ccbc3 vendor/golang.org/x/crypto/cryptobyte.(*Builder).callContinuation+0x63 vendor/golang.org/x/crypto/cryptobyte/builder.go:184 # 0x5cd01b vendor/golang.org/x/crypto/cryptobyte.(*Builder).addLengthPrefixed+0x37b vendor/golang.org/x/crypto/cryptobyte/builder.go:209 # 0x6bb0ef vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16LengthPrefixed+0x20af vendor/golang.org/x/crypto/cryptobyte/builder.go:151 # 0x6baf81 crypto/tls.(*clientHelloMsg).marshalMsg+0x1f41 crypto/tls/handshake_messages.go:240 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6d0e37 crypto/tls.transcriptMsg+0x77 crypto/tls/handshake_messages.go:1957 # 0x6b3ae4 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x144 crypto/tls/handshake_client_tls13.go:67 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1942f9d 0x1942e6b 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1942f9c github.com/mattermost/squirrel.InsertBuilder.Columns+0x33c github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x1942e6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x20a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:66 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 216] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [84: 4032] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725ce5 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725ce4 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x10c4 github.com/mattermost/mattermost/server/v8/channels/web/params.go:200 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 15680] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 45696] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551365 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551364 encoding/json.mapEncoder.encode+0x484 encoding/json/encode.go:802 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 18944] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x276067a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2760679 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x79 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:810 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 480] @ 0x48dd05 0x428505 0x2979d97 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979d96 crypto/internal/fips140/hmac.New[...]+0x36 crypto/internal/fips140/hmac/hmac.go:169 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x1247890 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x124788f github.com/lib/pq/scram.(*Client).clientProof+0x18f github.com/lib/pq@v1.12.3/scram/scram.go:240 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184ce6c 0x184cd9b 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd2c 0x4930f3 0x292fb85 0x293b1f2 0x12477a2 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x292fb84 crypto/internal/fips140/sha256.(*Digest).Sum+0x1a4 crypto/internal/fips140/sha256/sha256.go:208 # 0x293b1f1 crypto/internal/fips140/hmac.(*HMAC).Sum+0xd1 crypto/internal/fips140/hmac/hmac.go:61 # 0x12477a1 github.com/lib/pq/scram.(*Client).clientProof+0xa1 github.com/lib/pq@v1.12.3/scram/scram.go:234 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19455e5 0x19454e0 0x19454c3 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19455e4 github.com/lann/builder.Append+0x3a4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19454df github.com/mattermost/squirrel.UpdateBuilder.Set+0x29f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19454c2 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 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 144] @ 0x48dd05 0x48d7c5 0x184bf85 0x19e24b7 0x19e2491 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184bf84 github.com/mattermost/squirrel.UpdateBuilder.Table+0x164 github.com/mattermost/squirrel@v0.5.0/update.go:229 # 0x19e24b6 github.com/mattermost/squirrel.StatementBuilderType.Update+0xd6 github.com/mattermost/squirrel@v0.5.0/statement.go:26 # 0x19e2490 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:137 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417314 0x6614e8 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6614e7 crypto/x509.newPolicyGraphNode+0xbc7 crypto/x509/verify.go:1058 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [9: 432] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f37d 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x183f37c github.com/mattermost/squirrel.Eq.toSQL+0xe9c github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [22: 22528] @ 0x48dd2c 0x492ae9 0x296cab4 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 320] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x1cd098d 0x1cd07a6 0x25918e5 0x258fcd9 0x2594f9c 0x498001 # 0x1cd098c github.com/golang-jwt/jwt/v5.(*Token).SigningString+0xec github.com/golang-jwt/jwt/v5@v5.3.1/token.go:93 # 0x1cd07a5 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x25 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:64 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x258fcd8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x158 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:90 # 0x2594f9b 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] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x1247a91 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a90 github.com/lib/pq/scram.(*Client).serverSignature+0xb0 github.com/lib/pq@v1.12.3/scram/scram.go:254 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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: 6528] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2a7a8 0x18922e7 0x21bba6d 0x2593ead 0x2598e37 0x258fc96 0x2594f9c 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a2a7a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetUnreadCount+0x147 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1561 # 0x18922e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetUnreadCount+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16992 # 0x21bba6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetUnreadCount+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13424 # 0x2593eac github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x8c github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:314 # 0x2598e36 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1f6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:737 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x492ae9 0x1376ae7 0x1376aaa 0x1376b78 0x137d9e4 0x138fa73 0x138fc78 0x259a947 0x2598de5 0x258fc96 0x2594f9c 0x498001 # 0x1376ae6 bufio.NewWriterSize+0x126 bufio/bufio.go:599 # 0x1376aa9 bufio.NewWriter+0xe9 bufio/bufio.go:608 # 0x1376b77 github.com/yuin/goldmark/renderer.(*renderer).Render+0x1b7 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:159 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fa72 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdown+0x1d2 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:31 # 0x138fc77 github.com/mattermost/mattermost/server/v8/channels/utils.StripMarkdownAndDecode+0x17 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:46 # 0x259a946 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildFullPushNotificationMessage+0x6c6 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:867 # 0x2598de4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).BuildPushNotificationMessage+0x1a4 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:734 # 0x258fc95 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationSync+0x115 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:74 # 0x2594f9b 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] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [24: 6912] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19e2637 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2636 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:142 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [59: 52864] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 2352] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 576] @ 0x48dd05 0x492ae9 0x125cd38 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125cd37 github.com/lib/pq.(*conn).ExecContext+0xb7 github.com/lib/pq@v1.12.3/conn_go18.go:32 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199add5 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199add4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x7d4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 736] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [102: 52224] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 8064] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x281753a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2817539 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:273 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a1e63c 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5bb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:593 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x2702a74 0x2702aa2 0x27029e5 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2702a73 net/textproto.MIMEHeader.Add+0xd3 net/textproto/header.go:15 # 0x2702aa1 net/http.Header.Add+0x101 net/http/header.go:31 # 0x27029e4 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:612 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x415da5 0x71bd73 0x71bcab 0x71a9a7 0x75975c 0x757630 0x71f726 0x71fb0b 0x71f4f2 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x71bd72 vendor/golang.org/x/net/http2/hpack.(*headerFieldTable).addEntry+0x112 vendor/golang.org/x/net/http2/hpack/tables.go:59 # 0x71bcaa vendor/golang.org/x/net/http2/hpack.(*dynamicTable).add+0x4a vendor/golang.org/x/net/http2/hpack/hpack.go:174 # 0x71a9a6 vendor/golang.org/x/net/http2/hpack.(*Encoder).WriteField+0x2a6 vendor/golang.org/x/net/http2/hpack/encode.go:68 # 0x75975b net/http.(*http2ClientConn).writeHeader+0x13b net/http/h2_bundle.go:9359 # 0x75762f net/http.(*http2clientStream).encodeAndWriteHeaders.func1+0x2f net/http/h2_bundle.go:8900 # 0x71f725 net/http/internal/httpcommon.EncodeHeaders.func3+0x65 net/http/internal/httpcommon/httpcommon.go:405 # 0x71fb0a net/http/internal/httpcommon.EncodeHeaders.func1+0x30a net/http/internal/httpcommon/httpcommon.go:368 # 0x71f4f1 net/http/internal/httpcommon.EncodeHeaders+0x6f1 net/http/internal/httpcommon/httpcommon.go:397 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [6: 576] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 24576] @ 0x48dd2c 0x492ae9 0x75313a 0x753126 0x7530c2 0x752c59 0x735808 0x498001 # 0x753139 bufio.NewWriterSize+0x499 bufio/bufio.go:599 # 0x753125 bufio.NewWriter+0x485 bufio/bufio.go:608 # 0x7530c1 net/http.(*http2Transport).newClientConn+0x421 net/http/h2_bundle.go:8119 # 0x752c58 net/http.(*http2Transport).NewClientConn+0x38 net/http/h2_bundle.go:8079 # 0x735807 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:919 0: 0 [73: 3504] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726cdd 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726cdc github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x20bc github.com/mattermost/mattermost/server/v8/channels/web/params.go:300 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 384] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 32384] @ 0x48dd0c 0x428505 0x125028b 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125028a github.com/lib/pq.(*Connector).open+0x34a github.com/lib/pq@v1.12.3/conn.go:269 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 1120] @ 0x48dd05 0x428505 0x1287e65 0x498001 # 0x1287e64 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x324 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [12: 384] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19ea937 0x19ea890 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19ea936 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1d6 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19ea88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x1a114b4 0x188dbdb 0x21b680b 0x2664dff 0x2664317 0xc7b03a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1a114b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTokenStore.Cleanup+0x93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/tokens_store.go:97 # 0x188dbda github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTokenStore).Cleanup+0x1a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15763 # 0x21b680a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTokenStore).Cleanup+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12434 # 0x2664dfe github.com/mattermost/mattermost/server/v8/channels/app.doTokenCleanup+0x7e github.com/mattermost/mattermost/server/v8/channels/app/server.go:1367 # 0x2664316 github.com/mattermost/mattermost/server/v8/channels/app.runTokenCleanupJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1288 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [42: 672] @ 0x48dd05 0x48d725 0x19f5577 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f5576 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x176 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x18d1ca5 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1ca4 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x244 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 16384] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 2240] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x19ea937 0x19ea890 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19ea936 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1d6 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19ea88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [89: 28480] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 26112] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 2016] @ 0x48dd05 0x492ae9 0x225beb2 0x2258090 0x224c2f6 0x224c2f7 0x224c0d3 0x498001 # 0x225beb1 github.com/getsentry/sentry-go.(*Client).listIntegrations+0x31 github.com/getsentry/sentry-go@v0.46.2/client.go:1036 # 0x225808f github.com/getsentry/sentry-go.(*Client).sdkInfo+0x2f github.com/getsentry/sentry-go@v0.46.2/client.go:485 # 0x224c2f5 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).resolveSdkInfo+0xd5 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:483 # 0x224c2f6 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0xd6 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:527 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 1280] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x18b5f33 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x18b5f32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:93 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 224] @ 0x48dd05 0x428505 0x631799 0x613765 0x632376 0x630f10 0x77f64c 0x2663c1b 0x498001 # 0x631798 net.sockaddrToUnix+0x38 net/unixsock_posix.go:54 # 0x613764 net.(*netFD).accept+0x304 net/fd_unix.go:167 # 0x632375 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x630f0f net.(*UnixListener).Accept+0x2f net/unixsock.go:267 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [15: 61440] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 2240] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 16] @ 0x48dd05 0x428505 0x19e2b0a 0x19e2ad6 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e2b09 github.com/mattermost/squirrel.UpdateBuilder.Set+0x729 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2ad5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x6f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:148 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 384] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2246b11 0x2246985 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2246b10 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).writeItem+0x30 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:141 # 0x2246984 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x264 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:120 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 224] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2866385 0x28662f6 0x28662d8 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2866384 net/textproto.MIMEHeader.Set+0xfe4 net/textproto/header.go:22 # 0x28662f5 net/http.Header.Set+0xf55 net/http/header.go:40 # 0x28662d7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf37 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:201 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 216] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 24] @ 0x48dd05 0x4246eb 0x212c7ea 0x260a372 0x266c765 0xc7b03a 0x498001 # 0x212c7e9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Post+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:539 # 0x260a371 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x1d1 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1120] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [12: 1536] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x77484e 0x779073 0x779e95 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x77484d net/http.putBufioWriter+0xed net/http/server.go:888 # 0x779072 net/http.(*response).finishRequest+0x52 net/http/server.go:1672 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [25: 11200] @ 0x48dd05 0x428505 0x19601be 0x1960813 0x196f6c5 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19601bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumnsWithTypes+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:78 # 0x1960812 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.postSliceColumns+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:106 # 0x196f6c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1408 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x296af65 0x296aec8 0x296aedb 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296af64 crypto/internal/fips140/bigmod.(*Nat).expand+0x104 crypto/internal/fips140/bigmod/nat.go:82 # 0x296aec7 crypto/internal/fips140/bigmod.(*Nat).ExpandFor+0x67 crypto/internal/fips140/bigmod/nat.go:678 # 0x296aeda crypto/internal/fips140/bigmod.rr+0x7a crypto/internal/fips140/bigmod/nat.go:482 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [19: 34048] @ 0x48dd2c 0x4930f3 0x6e075d 0x6aca42 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6e075c crypto/tls.(*hybridKeyExchange).keyShares+0x1dc crypto/tls/key_schedule.go:193 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [7: 112] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 176] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x281d7a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d7a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:268 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 704] @ 0x48dd2c 0x4930f3 0xb64425 0xb642a7 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb64424 encoding/gob.(*encBuffer).WriteString+0x644 encoding/gob/encode.go:60 # 0xb642a6 encoding/gob.(*Encoder).encodeInterface+0x4c6 encoding/gob/encode.go:409 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19c993e 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19c993d 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 9216] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x126845e 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x126845d github.com/lib/pq.convertURL+0x83d github.com/lib/pq@v1.12.3/connector.go:1150 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21f140c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21f140b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9eb github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2128] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19eac4f 0x19eaba5 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19eac4e github.com/lann/builder.Append+0x4ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaba4 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x444 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x126208c 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126208b github.com/lib/pq.(*Config).fromDSN+0x9ab github.com/lib/pq@v1.12.3/connector.go:785 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 19456] @ 0x48dd0c 0x492ae9 0x542c16 0x19b8447 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x19b8446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:84 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3456] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x774566 0x779afa 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x774565 net/http.newBufioWriterSize+0x65 net/http/server.go:876 # 0x779af9 net/http.(*conn).serve+0x2f9 net/http/server.go:1982 0: 0 [31: 3472] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 1600] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x27168e5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x27168e4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x204 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:156 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1040] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56fc78 0x605fc5 0x605f98 0x60575b 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56fc77 context.WithDeadlineCause+0x137 context/context.go:643 # 0x605fc4 context.WithDeadline+0x124 context/context.go:626 # 0x605f97 net.(*Dialer).dialCtx+0xf7 net/dial.go:570 # 0x60575a net.(*Dialer).DialContext+0x7a net/dial.go:527 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [5: 10240] @ 0x48dd2c 0x492ae9 0x4c6018 0x4c758a 0x4c5130 0x13953c5 0x258f18b 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x4c6017 time.LoadLocationFromTZData+0xc57 time/zoneinfo_read.go:283 # 0x4c7589 time.loadLocation+0xc9 time/zoneinfo_read.go:535 # 0x4c512f time.LoadLocation+0x18f time/zoneinfo.go:690 # 0x13953c4 github.com/mattermost/mattermost/server/v8/channels/utils.GetFormattedPostTime+0x2c4 github.com/mattermost/mattermost/server/v8/channels/utils/time.go:54 # 0x258f18a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:359 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x493087 0x136ed52 0x136fbcf 0x4a240c 0x136f62f 0x136f603 0x137d9ac 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x136ed51 github.com/yuin/goldmark/parser.(*parser).addInlineParser+0x311 github.com/yuin/goldmark@v1.8.2/parser/parser.go:816 # 0x136fbce github.com/yuin/goldmark/parser.(*parser).Parse.func1+0x30e github.com/yuin/goldmark@v1.8.2/parser/parser.go:878 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x136f62e sync.(*Once).Do+0x6e sync/once.go:69 # 0x136f602 github.com/yuin/goldmark/parser.(*parser).Parse+0x42 github.com/yuin/goldmark@v1.8.2/parser/parser.go:865 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0x1a1e6aa 0x188f8d1 0x21b8a1d 0x2128a36 0x26d0f5e 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e6a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:599 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26d0f5d github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook.func2+0x7d github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:795 0: 0 [22: 2464] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19eaad0 0x19eaa08 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19eaacf github.com/lann/builder.Append+0x36f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaa07 github.com/mattermost/squirrel.InsertBuilder.Values+0x2a7 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [69: 14352] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 528] @ 0x48dd05 0x428505 0x134886a 0x134889a 0x1371b13 0x136f89d 0x13715f9 0x13715cc 0x136f78e 0x137d9ac 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x1348869 github.com/yuin/goldmark/ast.NewTextSegment+0x89 github.com/yuin/goldmark@v1.8.2/ast/inline.go:192 # 0x1348899 github.com/yuin/goldmark/ast.MergeOrAppendTextSegment+0xb9 github.com/yuin/goldmark@v1.8.2/ast/inline.go:218 # 0x1371b12 github.com/yuin/goldmark/parser.(*parser).parseBlock+0x4d2 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1220 # 0x136f89c github.com/yuin/goldmark/parser.(*parser).Parse.func2+0x3c github.com/yuin/goldmark@v1.8.2/parser/parser.go:904 # 0x13715f8 github.com/yuin/goldmark/parser.(*parser).walkBlock+0x78 github.com/yuin/goldmark@v1.8.2/parser/parser.go:1150 # 0x13715cb github.com/yuin/goldmark/parser.(*parser).walkBlock+0x4b github.com/yuin/goldmark@v1.8.2/parser/parser.go:1148 # 0x136f78d github.com/yuin/goldmark/parser.(*parser).Parse+0x1cd github.com/yuin/goldmark@v1.8.2/parser/parser.go:903 # 0x137d9ab github.com/yuin/goldmark.(*markdown).Convert+0x8b github.com/yuin/goldmark@v1.8.2/markdown.go:117 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [37: 11840] @ 0x48dd05 0x493087 0x73e165 0x71cf6f 0x71c9c9 0x71c7d0 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73e164 net/http.(*http2Framer).readMetaFrame.func1+0x304 net/http/h2_bundle.go:3203 # 0x71cf6e vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x6e vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x71c9c8 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldIndexed+0x1c8 vendor/golang.org/x/net/http2/hpack/hpack.go:349 # 0x71c7cf vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xef vendor/golang.org/x/net/http2/hpack/hpack.go:311 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [6: 1920] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [10: 640] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184480c 0x184de6f 0x1841463 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x5305e6 0x247242d 0x2472393 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x247242c github.com/mattermost/mattermost/server/v8/channels/app.(*App).dbHealthCheckKey+0x4c github.com/mattermost/mattermost/server/v8/channels/app/app.go:145 # 0x2472392 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x52 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 5120] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 29568] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x6b9766 0x6b9639 0x6b9638 0x6bfdd5 0x6a1c57 0x6ad5b5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6b9765 vendor/golang.org/x/crypto/cryptobyte.(*Builder).add+0x725 vendor/golang.org/x/crypto/cryptobyte/builder.go:308 # 0x6b9638 vendor/golang.org/x/crypto/cryptobyte.(*Builder).AddUint16+0x5f8 vendor/golang.org/x/crypto/cryptobyte/builder.go:84 # 0x6b9637 crypto/tls.(*clientHelloMsg).marshalMsg+0x5f7 crypto/tls/handshake_messages.go:136 # 0x6bfdd4 crypto/tls.(*clientHelloMsg).marshal+0x14 crypto/tls/handshake_messages.go:376 # 0x6a1c56 crypto/tls.(*Conn).writeHandshakeRecord+0xd6 crypto/tls/conn.go:1058 # 0x6ad5b4 crypto/tls.(*Conn).clientHandshake+0x454 crypto/tls/handshake_client.go:281 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [10: 81920] @ 0x48dd2c 0x428505 0x686fee 0x686fe2 0x6e9458 0x6e06aa 0x6aca42 0x6ad1e5 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x686fed crypto/internal/fips140/mlkem.NewDecapsulationKey768+0x2d crypto/internal/fips140/mlkem/mlkem768.go:199 # 0x686fe1 crypto/mlkem.NewDecapsulationKey768+0x21 crypto/mlkem/mlkem.go:59 # 0x6e9457 crypto/tls.keyExchangeForCurveID.func1+0x17 crypto/tls/key_schedule.go:78 # 0x6e06a9 crypto/tls.(*hybridKeyExchange).keyShares+0x129 crypto/tls/key_schedule.go:184 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [82: 15744] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1a1f009 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a1f008 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x168 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:653 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x184aae5 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184aae4 github.com/mattermost/squirrel.(*updateData).ToSql+0x624 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 480] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [42: 16128] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x7a89d8 0x7a89cc 0x7bd537 0x7be04c 0x7be040 0x1165956 0x11657a8 0x1166625 0x121ce74 0x121c607 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x7a89d7 regexp/syntax.(*compiler).init+0x37 regexp/syntax/compile.go:81 # 0x7a89cb regexp/syntax.Compile+0x2b regexp/syntax/compile.go:73 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1165955 github.com/JalfResi/justext.addKwTags+0x35 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/preprocess.go:32 # 0x11657a7 github.com/JalfResi/justext.preprocess+0x87 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/preprocess.go:16 # 0x1166624 github.com/JalfResi/justext.(*Reader).ReadAll+0x64 github.com/JalfResi/justext@v0.0.0-20221106200834-be571e3e3052/reader.go:43 # 0x121ce73 code.sajari.com/docconv/v2.HTMLReadability+0x133 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:146 # 0x121c606 code.sajari.com/docconv/v2.ConvertHTML+0x106 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:34 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [41: 1343488] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e6195 0x4e6196 0x4e60dc 0x4ce77d 0x5770b4 0x5770a0 0x577c8c 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e6194 io.Copy+0x34 io/io.go:388 # 0x4e6195 os.genericWriteTo+0x35 os/file.go:295 # 0x4e60db os.(*File).WriteTo+0x9b os/file.go:273 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x5770b3 io.Copy+0x33 io/io.go:388 # 0x57709f os/exec.(*Cmd).writerDescriptor.func1+0x1f os/exec/exec.go:602 # 0x577c8b os/exec.(*Cmd).Start.func2+0x2b os/exec/exec.go:757 0: 0 [43: 1409024] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x121c54a 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x121c549 code.sajari.com/docconv/v2.ConvertHTML+0x49 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:20 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [10: 10240] @ 0x48dd2c 0x492ae9 0x296cab4 0x296b118 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296b117 crypto/internal/fips140/bigmod.rr+0x2b7 crypto/internal/fips140/bigmod/nat.go:518 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [21: 1008] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1946ded 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1946dec 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 192] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x184aba6 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x184aba5 github.com/mattermost/squirrel.(*updateData).ToSql+0x6e5 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [36: 576] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 69888] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x198599d 0x19858fb 0x1874855 0x21995d6 0x260a437 0x266c765 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x198599c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19858fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostReminders+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:3232 # 0x1874854 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostReminders+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8757 # 0x21995d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostReminders+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7031 # 0x260a436 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x296 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2808 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x48dd05 0x493087 0xb87e37 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87e36 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x9f6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:115 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [15: 30720] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x7744cf 0x77930d 0x7793b8 0x77afc8 0x779fc5 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x7744ce net/http.putBufioReader+0x12e net/http/server.go:870 # 0x77930c net/http.(*conn).finalFlush+0x2c net/http/server.go:1740 # 0x7793b7 net/http.(*conn).close+0x17 net/http/server.go:1755 # 0x77afc7 net/http.(*conn).serve.func1+0x1e7 net/http/server.go:1919 # 0x779fc4 net/http.(*conn).serve+0x7c4 net/http/server.go:2115 0: 0 [41: 656] @ 0x48dd25 0x4752f7 0xc84930 0xc848f0 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8492f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb2f github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc848ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xaef github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 8064] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [75: 4800] @ 0x48dd05 0x428505 0xb62d5e 0xb62d29 0xb6550f 0xb634e4 0xb65979 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb66f88 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb62d5d encoding/gob.(*Encoder).newEncoderState+0xbd encoding/gob/encode.go:82 # 0xb62d28 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb66f87 encoding/gob.(*Encoder).sendActualType+0x147 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 128] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x7b80be 0x7b80d7 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7b80bd regexp.newBitState+0x9d regexp/backtrack.go:50 # 0x7b80d6 regexp.(*Regexp).backtrack+0xb6 regexp/backtrack.go:315 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [6: 288] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726987 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726986 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1d66 github.com/mattermost/mattermost/server/v8/channels/web/params.go:287 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f465 0x2838db8 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f464 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:77 # 0x2838db7 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0xf7 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:455 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 5632] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [37: 17760] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [25: 1600] @ 0x48dd05 0x493087 0x21f0d5e 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0d5d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x33d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 3168] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [14: 37632] @ 0x48dd2c 0x4930f3 0xb60df7 0xb66bf6 0xb6471e 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb60df6 encoding/gob.(*encBuffer).Write+0x56 encoding/gob/encode.go:55 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb6471d encoding/gob.(*Encoder).encodeInterface+0x93d encoding/gob/encode.go:424 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 96] @ 0x48dd05 0x428505 0x52d4ba 0x4a2651 0x53831f 0x5378db 0x125afef 0x125af61 0x1258165 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x52d4b9 fmt.init.func2+0x19 fmt/scan.go:379 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x53831e fmt.newScanState+0x3e fmt/scan.go:384 # 0x5378da fmt.Fscanf+0x5a fmt/scan.go:142 # 0x125afee fmt.Sscanf+0x3ee fmt/scan.go:114 # 0x125af60 github.com/lib/pq.(*conn).processParameterStatus+0x360 github.com/lib/pq@v1.12.3/conn.go:1563 # 0x1258164 github.com/lib/pq.(*conn).startup+0xec4 github.com/lib/pq@v1.12.3/conn.go:1268 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 3024] @ 0x48dd05 0x428505 0x75b4d0 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b4cf net/http.(*http2clientConnReadLoop).handleResponse+0x2ef net/http/h2_bundle.go:9690 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [12: 960] @ 0x48dd05 0x493087 0x73e165 0x71cf6f 0x71c9c9 0x71c7d0 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73e164 net/http.(*http2Framer).readMetaFrame.func1+0x304 net/http/h2_bundle.go:3203 # 0x71cf6e vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x6e vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x71c9c8 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldIndexed+0x1c8 vendor/golang.org/x/net/http2/hpack/hpack.go:349 # 0x71c7cf vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xef vendor/golang.org/x/net/http2/hpack/hpack.go:311 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [28: 1344] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1944e77 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1944e76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [2: 96] @ 0x48dd05 0x492ae9 0x54295f 0x8fc1d4 0x8fc16b 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc1d3 strings.Split+0xd3 strings/strings.go:361 # 0x8fc16a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 192] @ 0x48dd05 0x428505 0xc84cf8 0x1134f0f 0x1135ad1 0x11359df 0x21eb947 0x1134550 0x113a22d 0x21eb3e2 0x21cf065 0x21ebda6 0x28bd6aa 0x28bd66c 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84cf7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xef7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21eb946 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal.func1+0x1c6 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:59 # 0x113454f github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Scan+0x12f github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:130 # 0x113a22c github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Scan+0x6c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:107 # 0x21eb3e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCacheLocal+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:51 # 0x21cf064 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearSessionCacheForUserSkipClusterSend+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/cluster_handlers.go:64 # 0x21ebda5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClearUserSessionCache+0x25 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:100 # 0x28bd6a9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ClearSessionCacheForUser+0x289 github.com/mattermost/mattermost/server/v8/channels/app/session.go:222 # 0x28bd66b github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x24b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2673 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19f73e5 0x19ca143 0x1882f9b 0x21aa0e6 0x21ec4e2 0x266f966 0x28bd619 0x28bd2a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21ec4e1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).RevokeSessionsForDeviceId+0xa1 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:170 # 0x266f965 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RevokeSessionsForDeviceId+0x45 github.com/mattermost/mattermost/server/v8/channels/app/session.go:242 # 0x28bd618 github.com/mattermost/mattermost/server/v8/channels/api4.attachDeviceId+0x1f8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2668 # 0x28bd2a8 github.com/mattermost/mattermost/server/v8/channels/api4.handleDeviceProps+0x408 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2646 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 896] @ 0x48dd2c 0x4930f3 0xb64274 0xb6423a 0xb642c1 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb64273 encoding/gob.(*encBuffer).writeByte+0x493 encoding/gob/encode.go:51 # 0xb64239 encoding/gob.(*encoderState).encodeUint+0x459 encoding/gob/encode.go:109 # 0xb642c0 encoding/gob.(*Encoder).encodeInterface+0x4e0 encoding/gob/encode.go:408 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [3: 4224] @ 0x48dd2c 0x4752f7 0x6956dd 0x6eb6e2 0x42d5b9 0x498001 # 0x6956dc crypto/tls.(*weakCertCache).newCert.func1+0x3c crypto/tls/cache.go:33 # 0x6eb6e1 runtime.callCleanup[...]+0x21 runtime/mcleanup.go:204 # 0x42d5b8 runtime.runCleanups+0xd8 runtime/mcleanup.go:745 0: 0 [2: 64] @ 0x48dd05 0x493087 0xb87e37 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb87e36 github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x9f6 github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:115 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2880] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1947da5 0x1947d71 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1947da4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x104 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1947d70 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [40: 640] @ 0x48dd05 0x428505 0xb5bc45 0xb5bbf3 0xb5bc03 0xb5c447 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc44 errors.New+0x3e4 errors/errors.go:65 # 0xb5bbf2 encoding/gob.overflow+0x392 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [6: 1536] @ 0x48dd2c 0x492ae9 0x296a2cd 0x2990b05 0x298bbb9 0x5da885 0x5da7f6 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x2990b04 crypto/internal/fips140/rsa.encrypt+0x124 crypto/internal/fips140/rsa/rsa.go:380 # 0x298bbb8 crypto/internal/fips140/rsa.verifyPSS+0x198 crypto/internal/fips140/rsa/pkcs1v22.go:344 # 0x5da884 crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x504 crypto/internal/fips140/rsa/pkcs1v22.go:325 # 0x5da7f5 crypto/rsa.VerifyPSS+0x475 crypto/rsa/fips.go:170 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 224] @ 0x48dd05 0x428505 0x41d554 0x790b57 0x791a9c 0x790332 0x790175 0x498001 # 0x790b56 net/http.(*persistConn).addTLS+0x1d6 net/http/transport.go:1725 # 0x791a9b net/http.(*Transport).dialConn+0x9fb net/http/transport.go:1825 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [12: 3244032] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [138: 6624] @ 0x48dd05 0x428505 0x226ff05 0x226ff5c 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226ff04 github.com/getsentry/sentry-go.ContinueFromHeaders+0x1a4 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1078 # 0x226ff5b github.com/getsentry/sentry-go.ContinueTrace+0x1fb github.com/getsentry/sentry-go@v0.46.2/tracing.go:1061 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee855 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x24784a2 0x2761e7a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee854 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1f4 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:77 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2761e79 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelStats+0x1d9 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:987 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [83: 3984] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27269d4 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27269d3 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1db3 github.com/mattermost/mattermost/server/v8/channels/web/params.go:288 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 24576] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [35: 560] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [11: 8448] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x19ea85b 0x19ea817 0x19ea816 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19ea85a github.com/mattermost/squirrel.InsertBuilder.Into+0xfa github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19ea816 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19ea815 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 640] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x550e0a 0x552643 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [45: 7200] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd05 0x428505 0x2716e07 0x2716dd4 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2716e06 net/http.MaxBytesReader+0x726 net/http/request.go:1190 # 0x2716dd3 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x6f3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:216 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 8960] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a1f71 0x6a1f72 0x6a1ff9 0x6ad665 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6ad664 crypto/tls.(*Conn).clientHandshake+0x504 crypto/tls/handshake_client.go:300 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [22: 59136] @ 0x48dd0c 0x493087 0x18eb8c5 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 17920] @ 0x48dd05 0x428505 0xccbb2e 0xccbb22 0x271910e 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0xccbb2d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbb21 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0x271910d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2a2d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:325 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1280] @ 0x48dd05 0x428505 0x2249ad6 0x2249b4e 0x224c270 0x224c0d3 0x498001 # 0x2249ad5 github.com/getsentry/sentry-go/internal/protocol.NewClientReportItem+0x75 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:248 # 0x2249b4d github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0xed github.com/getsentry/sentry-go@v0.46.2/report/report.go:22 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 128] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62b667 0x62b509 0x62b50a 0x607e8e 0x607688 0x606e19 0x605b65 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62b666 net.(*sysDialer).doDialTCPProto+0xe6 net/tcpsock_posix.go:85 # 0x62b508 net.(*sysDialer).doDialTCP+0x68 net/tcpsock_posix.go:75 # 0x62b509 net.(*sysDialer).dialTCP+0x69 net/tcpsock_posix.go:71 # 0x607e8d net.(*sysDialer).dialSingle+0x3ad net/dial.go:791 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 128] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [14: 672] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725dcc 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725dcb github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x11ab github.com/mattermost/mattermost/server/v8/channels/web/params.go:203 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd2c 0x492ae9 0x831365 0x831330 0x831090 0x8631d0 0x85ecb9 0x85e965 0x498001 # 0x831364 github.com/francoispqt/gojay.(*Encoder).grow+0x64 github.com/francoispqt/gojay@v1.2.13/encode_builder.go:10 # 0x83132f github.com/francoispqt/gojay.(*Encoder).encodeObject+0x2f github.com/francoispqt/gojay@v1.2.13/encode_object.go:47 # 0x83108f github.com/francoispqt/gojay.(*Encoder).EncodeObject+0x2f github.com/francoispqt/gojay@v1.2.13/encode_object.go:13 # 0x8631cf github.com/mattermost/logr/v2/formatters.(*JSON).Format+0x1cf github.com/mattermost/logr/v2@v2.0.22/formatters/json.go:88 # 0x85ecb8 github.com/mattermost/logr/v2.(*TargetHost).writeRec+0x138 github.com/mattermost/logr/v2@v2.0.22/target.go:262 # 0x85e964 github.com/mattermost/logr/v2.(*TargetHost).start+0x104 github.com/mattermost/logr/v2@v2.0.22/target.go:238 0: 0 [16: 5632] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [90: 4320] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725a57 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725a56 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0xe36 github.com/mattermost/mattermost/server/v8/channels/web/params.go:193 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2016] @ 0x48dd2c 0x41d5e6 0x7556fd 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x7556fc net/http.(*http2ClientConn).roundTrip+0x11c net/http/h2_bundle.go:8616 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 64] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x544605 0x71e9be 0x71ec6d 0x71f6f8 0x71fe2e 0x71f4f2 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x544604 strings.ToLower+0xa4 strings/strings.go:746 # 0x71e9bd net/http/internal/httpcommon.asciiToLower+0x3d net/http/internal/httpcommon/httpcommon.go:65 # 0x71ec6c net/http/internal/httpcommon.LowerHeader+0x8c net/http/internal/httpcommon/httpcommon.go:154 # 0x71f6f7 net/http/internal/httpcommon.EncodeHeaders.func3+0x37 net/http/internal/httpcommon/httpcommon.go:398 # 0x71fe2d net/http/internal/httpcommon.EncodeHeaders.func1+0x62d net/http/internal/httpcommon/httpcommon.go:364 # 0x71f4f1 net/http/internal/httpcommon.EncodeHeaders+0x6f1 net/http/internal/httpcommon/httpcommon.go:397 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [7: 9856] @ 0x48dd0c 0x428505 0x1b8e506 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:147 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 160] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x751a05 0x7519dc 0x751af5 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x751a04 net.JoinHostPort+0x1c4 net/ipsock.go:242 # 0x7519db net/http.http2authorityAddr+0x19b net/http/h2_bundle.go:7876 # 0x751af4 net/http.(*http2Transport).RoundTripOpt+0xb4 net/http/h2_bundle.go:7892 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [23: 6624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19e24fc 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e24fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x11b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:140 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [11: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 672] @ 0x48dd2c 0x4752f7 0xc83f25 0xc83f26 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc83f24 github.com/tinylib/msgp/msgp.ReadStringBytes+0x124 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc83f25 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x125 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:473 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 9984] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [41: 20992] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 704] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 864] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x22449a7 0x224486b 0x224892c 0x224c4d3 0x224c0d3 0x498001 # 0x22449a6 github.com/getsentry/sentry-go/internal/ratelimit.fromResponse+0x106 github.com/getsentry/sentry-go@v0.46.2/internal/ratelimit/map.go:63 # 0x224486a github.com/getsentry/sentry-go/internal/ratelimit.FromResponse+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/ratelimit/map.go:50 # 0x224892b github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x4b github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:108 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [2: 448] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a284ef 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a284ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1365 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2: 480] @ 0x48dd05 0x428505 0x2480bc7 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x2480bc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x46 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:175 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 768] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1947e9d 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1947e9c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x1fc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:377 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [6: 288] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [6: 288] @ 0x48dd05 0x492ae9 0x7fcf57 0x807c4e 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x807c4d database/sql.(*DB).execDC.func2+0xad database/sql/sql.go:1709 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 160] @ 0x48dd05 0x428505 0x1134a46 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21f140c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21f140b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x9eb github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:179 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 448] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e287c 0x19e2786 0x19e2776 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e287b github.com/lann/builder.Append+0x49b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2785 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3a5 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:145 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [21: 3024] @ 0x48dd05 0x428505 0x77f709 0x77f6fd 0x2663c1b 0x498001 # 0x77f708 net/http.(*Server).newConn+0x3c8 net/http/server.go:635 # 0x77f6fc net/http.(*Server).Serve+0x3bc net/http/server.go:3462 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [43: 688] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1a01786 0x1a01711 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a01785 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x445 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a01710 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:162 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 7488] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [55: 19360] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x76d69c 0x76d66a 0x76d913 0x76dd1b 0x2865a4c 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x76d69b net/url.ParseQuery+0x37b net/url/url.go:933 # 0x76d669 net/http.(*Request).ParseForm+0x349 net/http/request.go:1345 # 0x76d912 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x76dd1a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x2865a4b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6ab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:169 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1536] @ 0x48dd05 0x428505 0x626fa6 0x626f7d 0x61c3d8 0x62f787 0x607d4b 0x607688 0x606e19 0x605b65 0x61f4be 0x60ab70 0x60c005 0x60f66c 0x498001 # 0x626fa5 net.newFD+0xc5 net/fd_unix.go:27 # 0x626f7c net.socket+0x9c net/sock_posix.go:27 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x607d4a net.(*sysDialer).dialSingle+0x26a net/dial.go:795 # 0x607687 net.(*sysDialer).dialSerial+0x247 net/dial.go:756 # 0x606e18 net.(*sysDialer).dialParallel+0x2f8 net/dial.go:657 # 0x605b64 net.(*Dialer).DialContext+0x484 net/dial.go:557 # 0x61f4bd net.(*Resolver).dial+0x9d net/lookup.go:699 # 0x60ab6f net.(*Resolver).exchange+0x34f net/dnsclient_unix.go:185 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [9: 432] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 6144] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7584c8 0x756c4d 0x7561f8 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7584c7 net/http.(*http2clientStream).writeRequestBody+0x207 net/http/h2_bundle.go:9168 # 0x756c4c net/http.(*http2clientStream).writeRequest+0xa0c net/http/h2_bundle.go:8833 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [39: 624] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [10: 240] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [8: 2304] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x48dd05 0x492ae9 0x54295f 0x8fc1d4 0x8fc16b 0x27169c5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc1d3 strings.Split+0xd3 strings/strings.go:361 # 0x8fc16a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184ce6c 0x184cd9b 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184ce6b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184cd9a github.com/mattermost/squirrel.UpdateBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/update.go:295 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 128] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 16800] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [38: 608] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x21fb94a 0x21fadd7 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x21fb949 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:588 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19e0dc6 0x19e0cd3 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e0dc5 github.com/mattermost/squirrel.InsertBuilder.Columns+0x225 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19e0cd2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x132 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:54 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [79: 1896] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [58: 2784] @ 0x48dd05 0x428505 0xb596dd 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb596dc encoding/gob.(*Decoder).decOpFor+0x79c encoding/gob/decode.go:887 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1903237 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1903236 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x5b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:426 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 9568] @ 0x48dd05 0x428505 0x4edac8 0x4ed72c 0x4e9fc5 0x17daaaf 0x17d9e30 0x25095c2 0x2866049 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4edac7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x4e9fc4 os.MkdirAll+0x24 os/path.go:21 # 0x17daaae github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0x6e github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:156 # 0x17d9e2f github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).TestConnection+0xef github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:79 # 0x25095c1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).TestFileStoreConnection+0x21 github.com/mattermost/mattermost/server/v8/channels/app/file.go:97 # 0x2866048 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xca8 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:193 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 4256] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1344] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x18b5fe5 0x18573e4 0x2177f8a 0x2481eb7 0x2481370 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18b5fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlBotStore.Get+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/bot_store.go:97 # 0x18573e3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerBotStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1200 # 0x2177f89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerBotStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1093 # 0x2481eb6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBot+0x76 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:335 # 0x248136f github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x60f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:255 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 384] @ 0x48dd2c 0x4930f3 0x63fda5 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63fda4 net/url.(*URL).AppendBinary+0x44 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [86: 4128] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726d2a 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726d29 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2109 github.com/mattermost/mattermost/server/v8/channels/web/params.go:301 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 14592] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [55: 28160] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 2352] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 24320] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b252 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b251 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x551 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1317 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288b132 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288b131 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x431 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1316 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 9216] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 1408] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [25: 6000] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x184b9b4 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x184b9b3 github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/update.go:195 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 128] @ 0x48dd05 0x428505 0x225812b 0x224c2f6 0x224c2f7 0x224c0d3 0x498001 # 0x225812a github.com/getsentry/sentry-go.(*Client).sdkInfo+0xca github.com/getsentry/sentry-go@v0.46.2/client.go:486 # 0x224c2f5 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).resolveSdkInfo+0xd5 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:483 # 0x224c2f6 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0xd6 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:527 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 512] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [49: 21952] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 2480] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 48] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x18e231f 0x18e22d7 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18e231e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x31e github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18e22d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2452 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x493087 0x63e685 0x76d69c 0x76d66a 0x76d913 0x76dd1b 0x2865a4c 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x76d69b net/url.ParseQuery+0x37b net/url/url.go:933 # 0x76d669 net/http.(*Request).ParseForm+0x349 net/http/request.go:1345 # 0x76d912 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x76dd1a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x2865a4b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6ab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:169 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x194333f 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x194333e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x6de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:69 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 432] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 768] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 336] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 672] @ 0x48dd2c 0x4752f7 0xc84029 0xc8402a 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84028 github.com/tinylib/msgp/msgp.ReadStringBytes+0x228 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84029 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x229 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:493 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x547d37 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x547d36 encoding/json.(*decodeState).array+0x56 encoding/json/decode.go:509 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [66: 23232] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2702a45 0x2702aa2 0x27029e5 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2702a44 net/textproto.MIMEHeader.Add+0xa4 net/textproto/header.go:15 # 0x2702aa1 net/http.Header.Add+0x101 net/http/header.go:31 # 0x27029e4 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:612 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x125b57c 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 4368] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 5152] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [11: 67584] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x6a0810 0x6a07d7 0x69e2c5 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x6a080f bytes.(*Buffer).Grow+0x6f bytes/buffer.go:186 # 0x6a07d6 crypto/tls.(*Conn).readFromUntil+0x36 crypto/tls/conn.go:836 # 0x69e2c4 crypto/tls.(*Conn).readRecordOrCCS+0xd44 crypto/tls/conn.go:677 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [4: 448] @ 0x48dd05 0x428505 0x41d554 0x7911bf 0x790332 0x790175 0x498001 # 0x7911be net/http.(*Transport).dialConn+0x11e net/http/transport.go:1774 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x28046fe 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x28046fd github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0x21d1bb3 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665bcf 0x2665bca 0x2664d57 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x21d1bb2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x472 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:240 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665bce github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x2e github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665bc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doReportUserCountForCloudSubscriptionJob+0x29 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1453 # 0x2664d56 github.com/mattermost/mattermost/server/v8/channels/app.runCloudUserCountReportJob.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1358 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 192] @ 0x48dd05 0x428505 0x18d1bc5 0x18d1ba7 0x18d1ba6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1bc4 github.com/mattermost/squirrel.newPart+0x164 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x18d1ba6 github.com/mattermost/squirrel.SelectBuilder.From+0x146 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x18d1ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x145 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1223 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3840] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 19456] @ 0x48dd0c 0x492ae9 0x542c16 0x19b8447 0x19bac0c 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x19b8446 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.Role.ToModel+0x26 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:84 # 0x19bac0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x4eb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:291 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2880] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 6144] @ 0x48dd2c 0x492ae9 0x1b8e3f0 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3ef github.com/klauspost/compress/flate.newHuffmanEncoder+0x8f github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0x4b08b8 0x4b0af7 0x61362c 0x632376 0x630f10 0x77f64c 0x2663c1b 0x498001 # 0x4b08b7 syscall.anyToSockaddr+0x1d7 syscall/syscall_linux.go:664 # 0x4b0af6 syscall.Getsockname+0x76 syscall/syscall_linux.go:715 # 0x61362b net.(*netFD).accept+0x1cb net/fd_unix.go:166 # 0x632375 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x630f0f net.(*UnixListener).Accept+0x2f net/unixsock.go:267 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [22: 1408] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 160] @ 0x48dd05 0x493087 0x184188c 0x1841335 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x184188b github.com/mattermost/squirrel.(*insertData).appendValuesToSQL+0x34b github.com/mattermost/squirrel@v0.5.0/insert.go:137 # 0x1841334 github.com/mattermost/squirrel.(*insertData).ToSql+0x2f4 github.com/mattermost/squirrel@v0.5.0/insert.go:99 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2016] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 2112] @ 0x48dd05 0x48de45 0x52107d 0xb54cc5 0xb5685c 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb54cc4 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xb5685b encoding/gob.(*Decoder).decodeStruct+0x25b encoding/gob/decode.go:491 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 128] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x183f125 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x183f124 github.com/mattermost/squirrel.Eq.toSQL+0xc44 github.com/mattermost/squirrel@v0.5.0/expr.go:220 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 7904] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [59: 20768] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2835e29 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2835e28 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xa8 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:176 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 960] @ 0x48dd2c 0x4752f7 0x1841434 0x18413db 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1841433 bytes.(*Buffer).String+0x3f3 bytes/buffer.go:77 # 0x18413da github.com/mattermost/squirrel.(*insertData).ToSql+0x39a github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [71: 20448] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1ccac30 0x1cca8ce 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccac2f github.com/gorilla/mux.extractVars+0x4cf github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0x1cca8cd github.com/gorilla/mux.routeRegexpGroup.setMatch+0x16d github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 5056] @ 0x48dd05 0x428505 0xb56edd 0xb58225 0xb59c93 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb56edc encoding/gob.(*Decoder).decodeArrayHelper+0x9c encoding/gob/decode.go:543 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [37: 592] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [40: 19200] @ 0x48dd05 0x492ae9 0x2127dd6 0x2127dc5 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2127dd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x2127dc4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:177 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 464] @ 0x48dd05 0x428505 0x27176fb 0x27176ce 0x27176b8 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27176fa net/textproto.MIMEHeader.Set+0x101a net/textproto/header.go:22 # 0x27176cd net/http.Header.Set+0xfed net/http/header.go:40 # 0x27176b7 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xfd7 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:235 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 2240] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 5376] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 11520] @ 0x48dd0c 0x428505 0x1b8e4c5 0x1b8e52c 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e4c4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x164 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e52b github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1cb github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:152 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x61b31d 0x61b35b 0x75187a 0x751af5 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x61b31c net.SplitHostPort.func1+0x4fc net/ipsock.go:171 # 0x61b35a net.SplitHostPort+0x53a net/ipsock.go:178 # 0x751879 net/http.http2authorityAddr+0x39 net/http/h2_bundle.go:7858 # 0x751af4 net/http.(*http2Transport).RoundTripOpt+0xb4 net/http/h2_bundle.go:7892 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [20: 480] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 320] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 9152] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cacd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28caccf github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x42f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3744 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 311296] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 49152] @ 0x48dd2c 0x492ae9 0x4ce193 0x4a2651 0x4cef08 0x4ce831 0x4ce52c 0x4ce50b 0x7785a5 0x7729a9 0x779085 0x779e95 0x498001 # 0x4ce192 io.init.func1+0x32 io/io.go:657 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4cef07 io.discard.ReadFrom+0x27 io/io.go:663 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x7785a4 net/http.(*chunkWriter).writeHeader+0x1ca4 net/http/server.go:1418 # 0x7729a8 net/http.(*chunkWriter).close+0x28 net/http/server.go:410 # 0x779084 net/http.(*response).finishRequest+0x64 net/http/server.go:1673 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [38: 4864] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 896] @ 0x48dd25 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [25: 2800] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x8072f4 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x8072f3 database/sql.(*DB).exec+0x53 database/sql/sql.go:1689 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1248] @ 0x48dd2c 0x4752f7 0x225c12f 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c12e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x2e github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 13440] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [23: 123648] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 640] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0xb64785 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0xb64784 encoding/gob.(*Encoder).encodeInterface+0x9a4 encoding/gob/encode.go:426 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [4: 448] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x546e9e 0x546a79 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [47: 7520] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [49: 2352] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xb766a9 0xb7665f 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb766a8 reflect.MakeMap+0x308 reflect/value.go:3093 # 0xb7665e net/rpc.(*Server).readRequest+0x2be net/rpc/server.go:579 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [11: 704] @ 0x48dd05 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 4160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 4864] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x1944e8c 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x1944e8b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x88b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [9: 432] @ 0x48dd05 0x428505 0x73ae6b 0x7385ff 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73ae6a net/http.http2parseHeadersFrame+0x4a net/http/h2_bundle.go:2629 # 0x7385fe net/http.(*http2Framer).ReadFrameForHeader+0x13e net/http/h2_bundle.go:2102 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [15: 720] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725d7f 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725d7e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x115e github.com/mattermost/mattermost/server/v8/channels/web/params.go:202 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [55: 7920] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 80] @ 0x48dd25 0x48d69b 0x2736233 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2736232 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0xd2 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:20 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x4752f7 0x5305e6 0x2245c4a 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x2245c49 github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x89 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:148 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 32] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0xc61592 0x261f86a 0x281f491 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281f490 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x910 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:418 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 92416] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x1a461a8 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1a461a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:215 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x196a4fb 0x1875e88 0x219ad32 0x2606216 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x196a4fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetSingle+0x4da github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:932 # 0x1875e87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetSingle+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9030 # 0x219ad31 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetSingle+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7239 # 0x2606215 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0xf5 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2291 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 576] @ 0x48dd05 0x493087 0xba4c52 0xba1efb 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba4c51 encoding/xml.(*Decoder).rawToken+0x17f1 encoding/xml/xml.go:844 # 0xba1efa encoding/xml.(*Decoder).Token+0x9a encoding/xml/xml.go:284 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 32768] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x114ba72 0x11478e2 0x121c0e5 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x114ba71 archive/zip.newFlateReader+0x71 archive/zip/register.go:73 # 0x11478e1 archive/zip.(*File).Open+0x221 archive/zip/reader.go:245 # 0x121c0e4 code.sajari.com/docconv/v2.parseDocxText+0x44 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:138 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [78: 6240] @ 0x48dd05 0x428505 0x25eab6c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25eab6b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x132b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:251 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [74: 700928] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 13376] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cad25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cad24 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x484 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3745 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2992] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [9: 6336] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9472] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2880] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19f73e5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f73e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1132 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 13248] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19981b4 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19981b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x1b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 168] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [85: 24480] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [75: 8400] @ 0x48dd05 0x428505 0x41d554 0xb84cac 0xb84c93 0x12f33ac 0x12f325c 0x12e8174 0x12e99de 0x12e9894 0x498001 # 0xb84cab net/rpc.(*Client).Call+0x2b net/rpc/client.go:321 # 0xb84c92 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:172 # 0x12f33ab github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xab github.com/mattermost/mattermost/server/public/plugin/supervisor.go:234 # 0x12f325b github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x1b github.com/mattermost/mattermost/server/public/plugin/supervisor.go:210 # 0x12e8173 github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xb3 github.com/mattermost/mattermost/server/public/plugin/environment.go:677 # 0x12e99dd github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x12e9893 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x153 github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [47: 1504] @ 0x48dd05 0x428505 0xb5ba13 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba12 encoding/gob.(*Decoder).compileDec+0x1b2 encoding/gob/decode.go:1155 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 1280] @ 0x48dd0c 0x428505 0x1b8e405 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x475ac5 0x4755b5 0x12617e7 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12617e6 github.com/lib/pq.(*Config).fromDSN+0x106 github.com/lib/pq@v1.12.3/connector.go:704 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 1248] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x7751a5 0x779bd8 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x7751a4 net/http.(*conn).readRequest+0x6e4 net/http/server.go:1040 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [4: 192] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19478d4 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19478d3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [39: 19968] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18453d3 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18453d2 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x652 github.com/mattermost/squirrel@v0.5.0/select.go:133 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 208] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 216] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a06a53 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a06a52 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:458 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [30: 480] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 9504] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a069b8 0x1309f10 0x498001 # 0x1a069b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x297 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 528] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 5824] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [24: 3072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18413d1 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18413d0 github.com/mattermost/squirrel.(*insertData).ToSql+0x390 github.com/mattermost/squirrel@v0.5.0/insert.go:107 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 696] @ 0x48dd2c 0x4752f7 0xc8413d 0xc8413e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8413c github.com/tinylib/msgp/msgp.ReadStringBytes+0x33c github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8413d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x33d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [109: 69760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 360] @ 0x48dd2c 0x4752f7 0xb53293 0xb56ec9 0xb58225 0xb59c93 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb53292 encoding/gob.decStringSlice+0x312 encoding/gob/dec_helpers.go:378 # 0xb56ec8 encoding/gob.(*Decoder).decodeArrayHelper+0x88 encoding/gob/decode.go:540 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 96] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [64: 10240] @ 0x48dd2c 0x4930f3 0x54d4e5 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [68: 2176] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 144] @ 0x48dd05 0x48d7c5 0x18469e9 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18469e8 github.com/mattermost/squirrel.SelectBuilder.Columns+0x1a8 github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 340480] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 58752] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 16128] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 2400] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 3584] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1248] @ 0x48dd05 0x428505 0x774278 0x774239 0x774355 0x779aba 0x498001 # 0x774277 bufio.NewReaderSize+0x1f7 bufio/bufio.go:56 # 0x774238 bufio.NewReader+0x1b8 bufio/bufio.go:63 # 0x774354 net/http.newBufioReader+0x2d4 net/http/server.go:865 # 0x779ab9 net/http.(*conn).serve+0x2b9 net/http/server.go:1981 0: 0 [6: 480] @ 0x48dd05 0x428505 0x1a0655c 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a0655b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x63b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:482 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 896] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f1ed7 0x6ef888 0x763d78 0x26634d8 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f1ed6 net/textproto.CanonicalMIMEHeaderKey+0xb6 net/textproto/reader.go:662 # 0x6ef887 net/textproto.MIMEHeader.Get+0x27 net/textproto/header.go:34 # 0x763d77 net/http.Header.Get+0x17 net/http/header.go:50 # 0x26634d7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x117 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 480] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [73: 30368] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 58368] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 61440] @ 0x48dd2c 0x492ae9 0x753254 0x7531f7 0x7531d0 0x752c59 0x735808 0x498001 # 0x753253 bufio.NewReaderSize+0x5b3 bufio/bufio.go:57 # 0x7531f6 bufio.NewReader+0x556 bufio/bufio.go:63 # 0x7531cf net/http.(*http2Transport).newClientConn+0x52f net/http/h2_bundle.go:8124 # 0x752c58 net/http.(*http2Transport).NewClientConn+0x38 net/http/h2_bundle.go:8079 # 0x735807 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:919 0: 0 [6: 96] @ 0x48dd05 0x4246eb 0x18476ab 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 160] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x19e287c 0x19e2786 0x19e2776 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x19e287b github.com/lann/builder.Append+0x49b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2785 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3a5 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:145 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 1920] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53001e 0x5305b0 0x27172f0 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53001d fmt.newPrinter+0x1d fmt/print.go:152 # 0x5305af fmt.Sprintf+0x2f fmt/print.go:238 # 0x27172ef github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xc0f github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 1632] @ 0x48dd2c 0x4752f7 0xc83f25 0xc83f26 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc83f24 github.com/tinylib/msgp/msgp.ReadStringBytes+0x124 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc83f25 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x125 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:473 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 504] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 432] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [16: 768] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 976] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19e257e 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e257d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x19d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:142 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 2240] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x18410cd 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x18410cc github.com/mattermost/squirrel.(*insertData).ToSql+0x8c github.com/mattermost/squirrel@v0.5.0/insert.go:63 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1024] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ef07 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2249a85 0x224c270 0x224c0d3 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ef06 encoding/json.addrMarshalerEncoder+0x166 encoding/json/encode.go:506 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2249a84 github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0x24 github.com/getsentry/sentry-go@v0.46.2/report/report.go:18 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [6: 7680] @ 0x48dd0c 0x428505 0x1b8e3a5 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 4816896] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1376256] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1280] @ 0x48dd0c 0x492ae9 0x125ee7e 0x1250096 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125ee7d github.com/lib/pq.Config.hosts+0x3d github.com/lib/pq@v1.12.3/connector.go:529 # 0x1250095 github.com/lib/pq.(*Connector).open+0x155 github.com/lib/pq@v1.12.3/conn.go:261 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28320a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28320a4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x1840170 0x18405fa 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184016f github.com/mattermost/squirrel.Lt.toSql+0x40f github.com/mattermost/squirrel@v0.5.0/expr.go:342 # 0x18405f9 github.com/mattermost/squirrel.LtOrEq.ToSql+0x19 github.com/mattermost/squirrel@v0.5.0/expr.go:361 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 28672] @ 0x48dd2c 0x492ae9 0x1b8e392 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e391 github.com/klauspost/compress/flate.newHuffmanEncoder+0x31 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [116: 33408] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd05 0x428505 0x8fc610 0x8fc30b 0x27169c5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x8fc60f github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x2f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:297 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 352] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18e14ef 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18e14ee github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2354 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x24784a2 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e2aa5 0x19e29b2 0x19e29b1 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e2aa4 github.com/lann/builder.Append+0x6c4 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e29b1 github.com/mattermost/squirrel.UpdateBuilder.Set+0x5d1 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e29b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:147 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [59: 20768] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2477711 0x2717c6f 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2477710 github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x1f0 github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:470 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x4752f7 0x5305e6 0x247242d 0x24722a5 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x247242c github.com/mattermost/mattermost/server/v8/channels/app.(*App).dbHealthCheckKey+0x4c github.com/mattermost/mattermost/server/v8/channels/app/app.go:145 # 0x24722a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0xa4 github.com/mattermost/mattermost/server/v8/channels/app/app.go:134 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x428505 0x753238 0x7531f7 0x7531d0 0x752c59 0x735808 0x498001 # 0x753237 bufio.NewReaderSize+0x597 bufio/bufio.go:56 # 0x7531f6 bufio.NewReader+0x556 bufio/bufio.go:63 # 0x7531cf net/http.(*http2Transport).newClientConn+0x52f net/http/h2_bundle.go:8124 # 0x752c58 net/http.(*http2Transport).NewClientConn+0x38 net/http/h2_bundle.go:8079 # 0x735807 net/http.(*http2addConnCall).run+0x47 net/http/h2_bundle.go:919 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x184ab0e 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184ab0d github.com/mattermost/squirrel.(*updateData).ToSql+0x64d github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [31: 1488] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1ccb2d0 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccb2cf github.com/gorilla/mux.(*Route).Match+0x2ef github.com/gorilla/mux@v1.8.1/route.go:102 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1944a58 0x1944950 0x1944933 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1944a57 github.com/lann/builder.Append+0x457 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x194494f github.com/mattermost/squirrel.UpdateBuilder.Set+0x34f github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x1944932 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x332 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:155 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [13: 624] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x1944e77 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x1944e76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x876 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:158 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [47: 2256] @ 0x48dd05 0x428505 0x21f9f5b 0x498001 # 0x21f9f5a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0x13a github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [16: 384] @ 0x48dd05 0x428505 0x7873b1 0x7873f4 0x79b099 0x774ce7 0x779bd8 0x498001 # 0x7873b0 io.LimitReader+0x530 io/io.go:461 # 0x7873f3 net/http.readTransfer+0x573 net/http/transfer.go:573 # 0x79b098 net/http.readRequest+0x6f8 net/http/request.go:1158 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [8: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [22: 2464] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19eaad0 0x19eaa08 0x19ea96c 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19eaacf github.com/lann/builder.Append+0x36f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaa07 github.com/mattermost/squirrel.InsertBuilder.Values+0x2a7 github.com/mattermost/squirrel@v0.5.0/insert.go:256 # 0x19ea96b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:43 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x1846fbc 0x1a04c7e 0x1a04c33 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a04c7d github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x8bd github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a04c32 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x872 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:310 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 8] @ 0x48dd05 0x492ae9 0x411bad 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cabae 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cabad github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x30d github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3732 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [78: 4992] @ 0x48dd05 0x428505 0x4e94b1 0x4e33b4 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e94b0 os.newUnixDirent+0x30 os/file_unix.go:470 # 0x4e33b3 os.(*File).readdir+0x4d3 os/dir_unix.go:141 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 7040] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979daf 0x672493 0x124751e 0x1246c2c 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124751d github.com/lib/pq/scram.(*Client).saltPassword+0x5d github.com/lib/pq@v1.12.3/scram/scram.go:214 # 0x1246c2b github.com/lib/pq/scram.(*Client).step2+0x3eb github.com/lib/pq@v1.12.3/scram/scram.go:183 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x211ff0b 0x211ff06 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x211ff0a github.com/mattermost/mattermost/server/public/model.NewPostList+0x22a github.com/mattermost/mattermost/server/public/model/post_list.go:29 # 0x211ff05 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x225 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:111 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 208896] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd05 0x493087 0x12681e5 0x126813d 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12681e4 github.com/lib/pq.convertURL.func1+0x5c4 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x126813c github.com/lib/pq.convertURL+0x51c github.com/lib/pq@v1.12.3/connector.go:1142 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd25 0x4752f7 0xc97745 0xc97746 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc97744 github.com/tinylib/msgp/msgp.ReadStringBytes+0x6c4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97745 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x6c5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:570 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 640] @ 0x48dd05 0x428505 0xb62a71 0xb62a13 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62a70 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xb62a12 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [422: 34570240] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [104: 6656] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 5632] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [15: 2640] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [106: 61056] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x286690d 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x286690c github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x156c github.com/mattermost/mattermost/server/v8/channels/api4/system.go:220 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [113: 32544] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 7225344] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 3784704] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28cb2df 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28cb2de github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0xa3e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3777 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 4992] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28669eb 0x28669ec 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28669ea github.com/mattermost/mattermost/server/public/model.ToJSON+0x164a github.com/mattermost/mattermost/server/public/model/utils.go:612 # 0x28669eb github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x164b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dc18f 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dc18e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:224 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 9856] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 11520] @ 0x48dd0c 0x428505 0x1b8e405 0x1b8e522 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e404 github.com/klauspost/compress/flate.newHuffmanEncoder+0xa4 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e521 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c1 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:150 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247850a 0x2760cb5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2478509 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x409 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:125 # 0x2760cb4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannel+0x6b4 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:857 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 3888] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x27264b7 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x27264b6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1896 github.com/mattermost/mattermost/server/v8/channels/web/params.go:256 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x13a0503 0x19dbf4f 0x19dbf28 0x1945150 0x186f791 0x21937bd 0x20df9db 0x20db757 0x20db3ba 0x20dad8e 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x13a0502 github.com/jmoiron/sqlx.NamedExecContext+0xe2 github.com/jmoiron/sqlx@v1.4.0/named_context.go:132 # 0x19dbf4e github.com/jmoiron/sqlx.(*DB).NamedExecContext+0x1ae github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:135 # 0x19dbf27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).NamedExec+0x187 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:220 # 0x194514f 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 # 0x186f790 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatus+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7332 # 0x21937bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatus+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5912 # 0x20df9da github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobSuccess+0x5a github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:129 # 0x20db756 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:101 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [1: 32] @ 0x48dd05 0x428505 0x299b568 0x6b634c 0x6b40de 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x299b567 crypto/internal/fips140/tls13.(*HandshakeSecret).MasterSecret+0x87 crypto/internal/fips140/tls13/tls13.go:122 # 0x6b634b crypto/tls.(*clientHandshakeStateTLS13).establishHandshakeKeys+0x4cb crypto/tls/handshake_client_tls13.go:517 # 0x6b40dd crypto/tls.(*clientHandshakeStateTLS13).handshake+0x73d crypto/tls/handshake_client_tls13.go:130 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x191fa25 0x191f9ff 0x1867d5c 0x218af68 0x21191b9 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x25f156a 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x191fa24 github.com/mattermost/squirrel.StatementBuilderType.Select+0x124 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x191f9fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0xfe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:143 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21191b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:56 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x25f1569 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x1f89 github.com/mattermost/mattermost/server/v8/channels/app/post.go:420 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 13824] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x492ae9 0x707448 0x706350 0x7058ff 0x7018cf 0x7028a8 0x702cb2 0x97e8aa 0x97e8a0 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x707447 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x70634f compress/flate.(*huffmanBitWriter).indexTokens+0x26f compress/flate/huffman_bit_writer.go:562 # 0x7058fe compress/flate.(*huffmanBitWriter).writeBlock+0xde compress/flate/huffman_bit_writer.go:435 # 0x7018ce compress/flate.(*compressor).writeBlock+0x8e compress/flate/deflate.go:173 # 0x7028a7 compress/flate.(*compressor).deflate+0x667 compress/flate/deflate.go:489 # 0x702cb1 compress/flate.(*compressor).write+0x71 compress/flate/deflate.go:547 # 0x97e8a9 compress/flate.(*Writer).Write+0x89 compress/flate/deflate.go:709 # 0x97e89f compress/zlib.(*Writer).Write+0x7f compress/zlib/writer.go:154 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 770048] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 12312576] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 128] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x672517 0x2979dfb 0x672493 0x1247a1a 0x12472cc 0x12464cf 0x125959f 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x672516 crypto/hmac.New.UnwrapNew[...].func1+0x16 crypto/internal/fips140hash/hash.go:33 # 0x2979dfa crypto/internal/fips140/hmac.New[...]+0x9a crypto/internal/fips140/hmac/hmac.go:171 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x1247a19 github.com/lib/pq/scram.(*Client).serverSignature+0x39 github.com/lib/pq@v1.12.3/scram/scram.go:250 # 0x12472cb github.com/lib/pq/scram.(*Client).step3+0x1ab github.com/lib/pq@v1.12.3/scram/scram.go:207 # 0x12464ce github.com/lib/pq/scram.(*Client).Step+0x6e github.com/lib/pq@v1.12.3/scram/scram.go:123 # 0x125959e github.com/lib/pq.(*conn).auth+0xfde github.com/lib/pq@v1.12.3/conn.go:1423 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [42: 10080] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 768] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 10256384] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [3: 393216] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [2: 393216] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 10379264] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 655360] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 10502144] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 196608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f9fb 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f9fa encoding/json.intEncoder+0x15a encoding/json/encode.go:558 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 400] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x48d725 0x27361d4 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x27361d3 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0x73 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:19 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 46592] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [9: 216] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 640] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [72: 884736] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 448] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a02c11 0x1a02fd0 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a02c10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).getTotalThreadsQuery+0x2d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:130 # 0x1a02fcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:158 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [37: 4144] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [1: 16] @ 0x48dd2c 0x4930f3 0x12619e5 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x12619e4 github.com/lib/pq.(*Config).fromDSN+0x304 github.com/lib/pq@v1.12.3/connector.go:736 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 480] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0x28669eb 0x28669ec 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28669ea github.com/mattermost/mattermost/server/public/model.ToJSON+0x164a github.com/mattermost/mattermost/server/public/model/utils.go:612 # 0x28669eb github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x164b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd0c 0x428505 0x1b8e465 0x1b8e527 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e464 github.com/klauspost/compress/flate.newHuffmanEncoder+0x104 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e526 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1c6 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:151 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1632] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1841463 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [62: 35712] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [71: 7952] @ 0x48dd05 0x428505 0x41d554 0x129d3d7 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x129d3d6 net/rpc.(*Client).Call+0xf6 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [1: 16] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [44: 704] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 130560] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 26112] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 768] @ 0x48dd2c 0x4930f3 0x7fdd8d 0x7fddc6 0x7ff525 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x2605fbf 0x282c9d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fdd8c bytes.Clone+0x5ac bytes/bytes.go:1388 # 0x7fddc5 database/sql.convertAssignRows+0x5e5 database/sql/convert.go:272 # 0x7ff524 database/sql.convertAssignRows+0x1d44 database/sql/convert.go:437 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x2605fbe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x1de github.com/mattermost/mattermost/server/v8/channels/app/post.go:2272 # 0x282c9cf github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x4af github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1575 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x2605fbf 0x282c9d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x2605fbe github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPostWithMigration+0x1de github.com/mattermost/mattermost/server/v8/channels/app/post.go:2272 # 0x282c9cf github.com/mattermost/mattermost/server/v8/channels/api4.getFileInfosForPost+0x4af github.com/mattermost/mattermost/server/v8/channels/api4/post.go:1575 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19dbd10 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x76d407 0x76d913 0x76dd1b 0x2865a4c 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x76d406 net/http.(*Request).ParseForm+0xe6 net/http/request.go:1334 # 0x76d912 net/http.(*Request).ParseMultipartForm+0x52 net/http/request.go:1378 # 0x76dd1a net/http.(*Request).FormValue+0x3a net/http/request.go:1421 # 0x2865a4b github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x6ab github.com/mattermost/mattermost/server/v8/channels/api4/system.go:169 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1664] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184abb9 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184abb8 github.com/mattermost/squirrel.(*updateData).ToSql+0x6f8 github.com/mattermost/squirrel@v0.5.0/update.go:102 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [5: 17280] @ 0x48dd2c 0x4930f3 0xb624de 0xb62388 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb624dd encoding/gob.(*encBuffer).Write+0x25d encoding/gob/encode.go:55 # 0xb62387 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [8: 14336] @ 0x48dd2c 0x4930f3 0xb624de 0xb62388 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb624dd encoding/gob.(*encBuffer).Write+0x25d encoding/gob/encode.go:55 # 0xb62387 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [226: 5424] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 4928] @ 0x48dd2c 0x492ae9 0xbe61eb 0xbea78a 0xbeab77 0xbec2c7 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe61ea github.com/vmihailenco/msgpack/v5.readN+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:649 # 0xbea789 github.com/vmihailenco/msgpack/v5.(*Decoder).bytes+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:95 # 0xbeab76 github.com/vmihailenco/msgpack/v5.decodeBytesValue+0x96 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:163 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63b077 0x223c02f 0x223c018 0x223d4d3 0x225c134 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63b076 net/url.unescape+0x2d6 net/url/url.go:166 # 0x223c02e net/url.PathUnescape+0x9ae net/url/url.go:100 # 0x223c017 github.com/getsentry/sentry-go/internal/otel/baggage.parseMember+0x997 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:327 # 0x223d4d2 github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:467 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x5305e6 0x184ab46 0x184babf 0x18442bd 0x1844428 0x18455e5 0x1844d18 0x184613f 0x18e6305 0x18610e7 0x21832f1 0x24a8b2d 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x184ab45 github.com/mattermost/squirrel.(*updateData).ToSql+0x685 github.com/mattermost/squirrel@v0.5.0/update.go:100 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x18455e4 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x864 github.com/mattermost/squirrel@v0.5.0/select.go:153 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e6304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.UpdateLastViewedAt+0x10a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2779 # 0x18610e6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).UpdateLastViewedAt+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:3591 # 0x21832f0 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).UpdateLastViewedAt+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:3020 # 0x24a8b2c github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x38c github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3546 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x190307c 0x190305a 0x190302a 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x190307b github.com/mattermost/squirrel.StatementBuilderType.Select+0x3fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1903059 github.com/mattermost/squirrel.Select+0x3d9 github.com/mattermost/squirrel@v0.5.0/statement.go:58 # 0x1903029 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:418 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 29184] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a1f85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a1f84 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0x124 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:321 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1728] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281de8d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281de8c github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x90c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:319 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2304] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a03690 0x188c8e8 0x21b52e8 0x2593f3b 0x2594125 0x2594edf 0x498001 # 0x1a0368f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x26f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:197 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x2593f3a github.com/mattermost/mattermost/server/v8/channels/app.(*App).getUserBadgeCount+0x11a github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:321 # 0x2594124 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:334 # 0x2594ede github.com/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: 128] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 480] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 32514048] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [66: 17842176] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0xc61f65 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0xc61f64 github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x84 github.com/mattermost/mattermost/server/public/model/post_list.go:107 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f465 0x283627d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f464 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:77 # 0x283627c github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x4fc github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:215 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 10912] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x281d6d9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d6d8 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x158 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:257 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 1968] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [104: 133120] @ 0x48dd2c 0x492ae9 0x609d65 0x60acd4 0x60c005 0x60f66c 0x498001 # 0x609d64 net.dnsPacketRoundTrip+0xa4 net/dnsclient_unix.go:114 # 0x60acd3 net.(*Resolver).exchange+0x4b3 net/dnsclient_unix.go:195 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [67: 21954560] @ 0x48dd33 0x492ae9 0x1b8df96 0x1b9d047 0x1b8c9bd 0x1b8ccb8 0x1c15af7 0x1c15ad2 0x2700d2c 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8df95 github.com/klauspost/compress/flate.(*fastGen).addBlock+0xf5 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:85 # 0x1b9d046 github.com/klauspost/compress/flate.(*fastEncL5).Encode+0x126 github.com/klauspost/compress@v1.18.6/flate/level5.go:62 # 0x1b8c9bc github.com/klauspost/compress/flate.(*compressor).storeFast+0x15c github.com/klauspost/compress@v1.18.6/flate/deflate.go:737 # 0x1b8ccb7 github.com/klauspost/compress/flate.(*compressor).write+0x97 github.com/klauspost/compress@v1.18.6/flate/deflate.go:762 # 0x1c15af6 github.com/klauspost/compress/flate.(*Writer).Write+0x376 github.com/klauspost/compress@v1.18.6/flate/deflate.go:950 # 0x1c15ad1 github.com/klauspost/compress/gzip.(*Writer).Write+0x351 github.com/klauspost/compress@v1.18.6/gzip/gzip.go:233 # 0x2700d2b github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x68b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:140 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 3744] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x196fca5 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fca4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x624 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1425 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 896] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x184afae 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [21: 12096] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 21760] @ 0x48dd2c 0x492ae9 0x75859f 0x756c4d 0x7561f8 0x498001 # 0x75859e net/http.(*http2clientStream).writeRequestBody+0x2de net/http/h2_bundle.go:9172 # 0x756c4c net/http.(*http2clientStream).writeRequest+0xa0c net/http/h2_bundle.go:8833 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 48] @ 0x48dd2c 0x4930f3 0x6a5ca5 0x6a5c5b 0x6a5ccb 0x698fb2 0x6ac4df 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6a5ca4 slices.Clone[...]+0x64 slices/slices.go:360 # 0x6a5c5a crypto/tls.supportedCipherSuites+0x1a crypto/tls/defaults.go:63 # 0x6a5cca crypto/tls.defaultCipherSuites+0x8a crypto/tls/defaults.go:70 # 0x698fb1 crypto/tls.(*Config).cipherSuites+0x1b1 crypto/tls/common.go:1186 # 0x6ac4de crypto/tls.(*Conn).makeClientHello+0x41e crypto/tls/handshake_client.go:96 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [2: 3031040] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 7680] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [3: 336] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 1253376] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x8f9c07 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc30b 0x27169c5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x8f9c06 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).TfuncAndLanguage+0x166 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:309 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc30a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x20a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:279 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2304] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x225c2ce 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c2cd github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x1cd github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:30 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 576] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 425984] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4644864] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 704] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x6f3026 0x6febc8 0x6fe8c5 0x6ff926 0x6ff4ec 0x27d37f8 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x6f3025 net/textproto.readMIMEHeader+0x3e5 net/textproto/reader.go:592 # 0x6febc7 mime/multipart.(*Part).populateHeaders+0x67 mime/multipart/multipart.go:171 # 0x6fe8c4 mime/multipart.newPart+0xa4 mime/multipart/multipart.go:153 # 0x6ff925 mime/multipart.(*Reader).nextPart+0x3a5 mime/multipart/multipart.go:409 # 0x6ff4eb mime/multipart.(*Reader).NextPart+0x2b mime/multipart/multipart.go:372 # 0x27d37f7 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x237 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:238 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [143: 6864] @ 0x48dd05 0x428505 0x4121bf 0x48e488 0x22679a5 0x2267956 0x225e4d2 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0x22679a4 maps.Clone[...]+0x2c4 maps/maps.go:55 # 0x2267955 github.com/getsentry/sentry-go.(*Scope).Clone+0x275 github.com/getsentry/sentry-go@v0.46.2/scope.go:343 # 0x225e4d1 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.46.2/hub.go:118 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 15232] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 360448] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x17dab3d 0x17dab16 0x17da9eb 0x250a5e9 0x250a546 0x250a547 0x25138e9 0x2513669 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x17dab3c io.Copy+0xfc io/io.go:388 # 0x17dab15 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x17da9ea github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x250a5e8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:257 # 0x250a545 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:265 # 0x250a546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:253 # 0x25138e8 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1+0x208 github.com/mattermost/mattermost/server/v8/channels/app/file.go:983 # 0x2513668 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x88 github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [63: 4128768] @ 0x48dd33 0x492ae9 0x70336c 0x703358 0x703a05 0x703a0d 0x97e758 0x97e851 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x70336b compress/flate.(*compressor).initDeflate+0x4eb compress/flate/deflate.go:372 # 0x703357 compress/flate.(*compressor).init+0x4d7 compress/flate/deflate.go:595 # 0x703a04 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:666 # 0x703a0c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:680 # 0x97e757 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x97e850 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 106496] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 2048] @ 0x48dd0c 0x492ae9 0x1b23c74 0x1b244ba 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1b23c73 github.com/boxes-ltd/imaging.precomputeWeights+0xb3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:21 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 401408] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 4833280] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [47: 752] @ 0x48dd05 0x428505 0x7738e5 0x779e25 0x498001 # 0x7738e4 net/http.(*connReader).startBackgroundRead+0x84 net/http/server.go:698 # 0x779e24 net/http.(*conn).serve+0x624 net/http/server.go:2062 0: 0 [40: 1280] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x2737277 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x2737276 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userTyping+0x456 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:30 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 270336] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 139264] @ 0x48dd2c 0x492ae9 0x79250b 0x7924a1 0x790332 0x790175 0x498001 # 0x79250a bufio.NewReaderSize+0x146a bufio/bufio.go:57 # 0x7924a0 net/http.(*Transport).dialConn+0x1400 net/http/transport.go:1991 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1970951 0x1875ff3 0x219aed0 0x247d3a2 0x247d565 0x25f62d7 0x21d4da2 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1970950 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).HasAutoResponsePostByUserSince+0x170 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1508 # 0x1875ff2 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).HasAutoResponsePostByUserSince+0x92 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9051 # 0x219aecf github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).HasAutoResponsePostByUserSince+0x8f github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7255 # 0x247d3a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).checkIfRespondedToday+0x1c1 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:18 # 0x247d564 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendAutoResponseIfNecessary+0x164 github.com/mattermost/mattermost/server/v8/channels/app/auto_responder.go:44 # 0x25f62d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents.func1+0x56 github.com/mattermost/mattermost/server/v8/channels/app/post.go:680 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [2: 704] @ 0x48dd05 0x428505 0x25715b1 0x25715d6 0x25f5ae5 0x25f27ad 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25715b0 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x3470 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0x25715d5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications+0x3495 github.com/mattermost/mattermost/server/v8/channels/app/notification.go:388 # 0x25f5ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).handlePostEvents+0x724 github.com/mattermost/mattermost/server/v8/channels/app/post.go:674 # 0x25f27ac github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x31cc github.com/mattermost/mattermost/server/v8/channels/app/post.go:474 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19eac4f 0x19eaba5 0x19eab08 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19eac4e github.com/lann/builder.Append+0x4ee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19eaba4 github.com/mattermost/squirrel.InsertBuilder.SuffixExpr+0x444 github.com/mattermost/squirrel@v0.5.0/insert.go:266 # 0x19eab07 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3a7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd25 0x4752f7 0x54c6e7 0x54c6d0 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1261568 0x125fa53 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1261567 github.com/lib/pq.(*Config).fromEnv+0x2e7 github.com/lib/pq@v1.12.3/connector.go:685 # 0x125fa52 github.com/lib/pq.newConfig+0x132 github.com/lib/pq@v1.12.3/connector.go:552 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 3920] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x8b1b6d 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc3b0 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b1b6c github.com/mattermost/go-i18n/i18n/language.Parse+0x4ac github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc3af github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x2af github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:276 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 2400] @ 0x48dd05 0x428505 0x4226d5 0x42272c 0x13384b5 0x1338c65 0x1338beb 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13384b4 github.com/mattermost/mattermost/server/v8.GetPackagePath+0x14 github.com/mattermost/mattermost/server/v8/path.go:14 # 0x1338c64 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.CommonBaseSearchPaths+0xa4 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:25 # 0x1338bea github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x2a github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2477711 0x2717c6f 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2477710 github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x1f0 github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:470 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 85760] @ 0x48dd0c 0x428505 0x2724c4e 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2724c4d github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2d github.com/mattermost/mattermost/server/v8/channels/web/params.go:140 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [88: 8448] @ 0x48dd05 0x428505 0x21f179a 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f1799 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0xd79 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:199 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [57: 3648] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7c87 0xbef4a2 0xbef48c 0xbef5d0 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0xca2a05 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbef4a1 github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x61 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbef48b github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeMapLen+0x4b github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:184 # 0xbef5cf github.com/vmihailenco/msgpack/v5.encodeStructValue+0xef github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:199 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0xca2a04 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x24 github.com/mattermost/mattermost/server/public/model/websocket_request.go:31 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [71: 15904] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [91: 10192] @ 0x48dd05 0x428505 0x41d554 0x129d3d7 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x129d3d6 net/rpc.(*Client).Call+0xf6 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [17: 2176] @ 0x48dd05 0x428505 0x4b0718 0x4b09a9 0x4dfcbf 0x4dda8d 0x613489 0x632376 0x630f10 0x77f64c 0x2663c1b 0x498001 # 0x4b0717 syscall.anyToSockaddr+0x37 syscall/syscall_linux.go:645 # 0x4b09a8 syscall.Accept4+0x88 syscall/syscall_linux.go:701 # 0x4dfcbe internal/poll.accept+0x1e internal/poll/sock_cloexec.go:17 # 0x4dda8c internal/poll.(*FD).Accept+0x1ac internal/poll/fd_unix.go:604 # 0x613488 net.(*netFD).accept+0x28 net/fd_unix.go:150 # 0x632375 net.(*UnixListener).accept+0x15 net/unixsock_posix.go:172 # 0x630f0f net.(*UnixListener).Accept+0x2f net/unixsock.go:267 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [62: 6944] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x56ee7b 0x56e1f9 0x56e1bd 0x7751a5 0x779bd8 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x56ee7a context.(*cancelCtx).propagateCancel+0x7a context/context.go:478 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x7751a4 net/http.(*conn).readRequest+0x6e4 net/http/server.go:1040 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [6: 4608] @ 0x48dd0c 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80b64d 0x19df0ce 0x19dea8e 0x19deef4 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80b64c database/sql.(*Tx).ExecContext+0xac database/sql/sql.go:2516 # 0x19df0cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:466 # 0x19dea8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:430 # 0x19deef3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:451 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 1408] @ 0x48dd0c 0x428505 0x125e8bb 0x125e84d 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19dbd45 0x1a042b2 0x188cc68 0x21b5668 0x26be3a7 0x1309f10 0x498001 # 0x125e8ba github.com/lib/pq.NewConnectorConfig+0x13a github.com/lib/pq@v1.12.3/connector.go:206 # 0x125e84c github.com/lib/pq.NewConnector+0xcc github.com/lib/pq@v1.12.3/connector.go:198 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a042b1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadUrgentMentions+0x731 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:264 # 0x188cc67 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15513 # 0x21b5667 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadUrgentMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12242 # 0x26be3a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func4+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2928 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [62: 8928] @ 0x48dd05 0x428505 0x18c7b70 0x18eb814 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7b6f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRoles.ToModel+0x36f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:335 # 0x18eb813 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x713 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f71a5 0x1889022 0x21b119f 0x268cfcd 0x2881f1b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x1889021 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsForUser+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14514 # 0x21b119e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsForUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11460 # 0x268cfcc github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMembersForUser+0xac github.com/mattermost/mattermost/server/v8/channels/app/team.go:1041 # 0x2881f1a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x35a github.com/mattermost/mattermost/server/v8/channels/api4/team.go:768 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1456] @ 0x48dd2c 0x4752f7 0x225c12f 0x226dbf0 0x22700d6 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c12e github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x2e github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x226dbef github.com/getsentry/sentry-go.(*Span).updateFromBaggage+0x2f github.com/getsentry/sentry-go@v0.46.2/tracing.go:543 # 0x22700d5 github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x115 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1100 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 229376] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 147456] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [3: 19584] @ 0x48dd2c 0x492ae9 0x1b2462a 0x1b2864e 0x498001 # 0x1b24629 github.com/boxes-ltd/imaging.resizeHorizontal.func1+0x89 github.com/boxes-ltd/imaging@v1.7.5/resize.go:114 # 0x1b2864d github.com/boxes-ltd/imaging.parallel.func1+0x4d github.com/boxes-ltd/imaging@v1.7.5/utils.go:46 0: 0 [4: 2916352] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [8: 1024] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x97d629 0x4ce38e 0x1331da5 0x1331d7c 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x97d628 compress/zlib.(*reader).Read+0x48 compress/zlib/reader.go:98 # 0x4ce38d io.ReadAtLeast+0x8d io/io.go:335 # 0x1331da4 io.ReadFull+0xa44 io/io.go:354 # 0x1331d7b image/png.(*decoder).readImagePass+0xa1b image/png/reader.go:511 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 9805824] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x97db0b 0x97dab6 0x97dbd5 0x97d576 0x1330d17 0x1330d01 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x97db0a bufio.NewReaderSize+0x18a bufio/bufio.go:57 # 0x97dab5 bufio.NewReader+0x135 bufio/bufio.go:63 # 0x97dbd4 compress/zlib.(*reader).Reset+0x254 compress/zlib/reader.go:138 # 0x97d575 compress/zlib.NewReaderDict+0x55 compress/zlib/reader.go:85 # 0x1330d16 compress/zlib.NewReader+0x56 compress/zlib/reader.go:75 # 0x1330d00 image/png.(*decoder).decode+0x40 image/png/reader.go:364 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x61dbfa 0x61b973 0x604c05 0x6058a5 0x78e912 0x7918e7 0x790332 0x790175 0x498001 # 0x61dbf9 net.(*Resolver).lookupIPAddr+0x239 net/lookup.go:332 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x78e911 net/http.(*Transport).dial+0xd1 net/http/transport.go:1307 # 0x7918e6 net/http.(*Transport).dialConn+0x846 net/http/transport.go:1815 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 0: 0 [93: 29760] @ 0x48dd05 0x428505 0x21fd925 0x21fd914 0x21fd894 0x21fdb4c 0x21fe952 0x2206a3d 0x22067f0 0x220694e 0x2205131 0x2204837 0x498001 # 0x21fd924 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xc4 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0x21fd913 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0xb3 github.com/mattermost/mattermost/server/public/shared/request/context.go:126 # 0x21fd893 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsMFAAuthenticated+0x33 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:813 # 0x21fdb4b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x2b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x21fe951 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:886 # 0x2206a3c 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:729 # 0x22067ef 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:759 # 0x220694d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1.(*hubConnectionIndex).ForUser.Keys[...].9+0x6d maps/iter.go:28 # 0x2205130 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x8d0 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:758 # 0x2204836 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:791 0: 0 [5: 2240] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27d8bd1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27d8bd0 github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:653 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 671744] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b10e 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b10d github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0xad github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:37 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 114688] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 11395072] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 589824] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x4cfc69 0x4cfb50 0x4ce77d 0x17dab3d 0x17dab16 0x17da9eb 0x250a5e9 0x250a546 0x250a547 0x2510cf7 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4cfc68 io.(*multiReader).writeToWithBuffer+0xe8 io/multi.go:54 # 0x4cfb4f io.(*multiReader).WriteTo+0x4f io/multi.go:45 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x17dab3c io.Copy+0xfc io/io.go:388 # 0x17dab15 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.writeFileLocally+0xd5 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:165 # 0x17da9ea github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).WriteFile+0x6a github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:152 # 0x250a5e8 github.com/mattermost/mattermost/server/v8/channels/app.writeFile+0x48 github.com/mattermost/mattermost/server/v8/channels/app/file.go:257 # 0x250a545 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).writeFile+0x45 github.com/mattermost/mattermost/server/v8/channels/app/file.go:265 # 0x250a546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).WriteFile+0x46 github.com/mattermost/mattermost/server/v8/channels/app/file.go:253 # 0x2510cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x776 github.com/mattermost/mattermost/server/v8/channels/app/file.go:824 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19deec6 0x1962afc 0x1963d11 0x1876d87 0x21565d8 0x219bf2d 0x25f0c1d 0x25ee210 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19deec5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxTxWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:446 # 0x1962afb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).SaveMultiple+0x1cfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:260 # 0x1963d10 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).Save+0x70 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:342 # 0x1876d86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).Save+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9288 # 0x21565d7 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer.SearchPostStore.Save+0x57 github.com/mattermost/mattermost/server/v8/channels/store/searchlayer/post_layer.go:105 # 0x219bf2c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).Save+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7446 # 0x25f0c1c github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x163c github.com/mattermost/mattermost/server/v8/channels/app/post.go:365 # 0x25ee20f github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x20f github.com/mattermost/mattermost/server/v8/channels/app/post.go:67 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 196608] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [2: 1536] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28abbf4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28abbf3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x333 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1177 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 786432] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [101: 9696] @ 0x48dd05 0x428505 0xb75887 0xb75998 0x12880d3 0x498001 # 0xb75886 encoding/gob.NewEncoder+0x1e6 encoding/gob/encoder.go:38 # 0xb75997 net/rpc.(*Server).ServeConn+0x2f7 net/rpc/server.go:452 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [63: 516096] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 352] @ 0x48dd05 0x428505 0xc40797 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0xc40796 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4b6 github.com/mattermost/mattermost/server/public/model/manifest.go:490 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x191e6af 0x191e51b 0x1867292 0x218a2b6 0x21187a4 0x24f69d7 0x27ceaed 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x191e6ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x191e51a 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 # 0x1867291 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerEmojiStore).GetMultipleByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5262 # 0x218a2b5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerEmojiStore).GetMultipleByName+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4314 # 0x21187a3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheEmojiStore).GetMultipleByName+0x3c3 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/emoji_layer.go:126 # 0x24f69d6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMultipleEmojiByName+0x216 github.com/mattermost/mattermost/server/v8/channels/app/emoji.go:242 # 0x27ceaec github.com/mattermost/mattermost/server/v8/channels/api4.getEmojisByNames+0x26c github.com/mattermost/mattermost/server/v8/channels/api4/emoji.go:267 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 5632] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 30720] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2851a3b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2851a3a github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x1ba github.com/mattermost/mattermost/server/v8/channels/api4/role.go:118 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 544] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [50: 1200] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 11520] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [39: 1248] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1792] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 4784] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 416] @ 0x48dd05 0x428505 0x21fb4b0 0xbdc7fe 0xbdcbed 0x21fafc5 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fb4af 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:456 # 0xbdc7fd github.com/gorilla/websocket.(*Conn).advanceFrame+0xb1d github.com/gorilla/websocket@v1.5.3/conn.go:950 # 0xbdcbec github.com/gorilla/websocket.(*Conn).NextReader+0xac github.com/gorilla/websocket@v1.5.3/conn.go:1009 # 0x21fafc4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x1c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:464 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x1998245 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:85 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [29: 141056] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 1408] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [3: 10368] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61592 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 12160] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 2080] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [14: 5824] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 21472] @ 0x48dd05 0x428505 0xc61d3e 0xc61d32 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d3d github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xdd github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc61d31 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xd1 github.com/mattermost/mattermost/server/public/model/post_list.go:92 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x428505 0xb88649 0xb8776c 0xb90c75 0xb8df4c 0x2622285 0x261de59 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb88648 github.com/mattermost/mattermost/server/public/shared/markdown.(*Document).Continuation+0x28 github.com/mattermost/mattermost/server/public/shared/markdown/document.go:13 # 0xb8776b github.com/mattermost/mattermost/server/public/shared/markdown.ParseBlocks+0x32b github.com/mattermost/mattermost/server/public/shared/markdown/blocks.go:64 # 0xb90c74 github.com/mattermost/mattermost/server/public/shared/markdown.Parse+0x34 github.com/mattermost/mattermost/server/public/shared/markdown/markdown.go:155 # 0xb8df4b github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x2b github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:20 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x196de6b 0x196dd3f 0x197389c 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196de6a github.com/mattermost/mattermost/server/public/model.(*PostList).AddPost+0x96a github.com/mattermost/mattermost/server/public/model/post_list.go:141 # 0x196dd3e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x83e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1315 # 0x197389b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0x105b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1794 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1296] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 21472] @ 0x48dd05 0x428505 0xc61565 0xc61514 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61564 github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0x104 github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc61513 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0xb3 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x24784a2 0x276d085 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x24784a1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x3a1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:119 # 0x276d084 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersTimezones+0x184 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1871 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0x1a23217 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a23216 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x776 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:951 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0x1a23257 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a23256 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:954 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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 [6: 491520] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [4: 557056] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [1: 4374528] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 540672] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b2499a 0x1b24394 0x1b2b1c7 0x25132b3 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b24999 github.com/boxes-ltd/imaging.resizeVertical+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:147 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b1c6 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateMiniPreviewImage+0x66 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:43 # 0x25132b2 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func4+0xb2 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1008 0: 0 [56: 4128768] @ 0x48dd33 0x492ae9 0x7033bf 0x703358 0x703a05 0x703a0d 0x97e758 0x97e851 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x7033be compress/flate.(*compressor).initDeflate+0x53e compress/flate/deflate.go:374 # 0x703357 compress/flate.(*compressor).init+0x4d7 compress/flate/deflate.go:595 # 0x703a04 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:666 # 0x703a0c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:680 # 0x97e757 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x97e850 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [31: 1015808] @ 0x48dd33 0x492ae9 0x1337acc 0x1337b03 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x1337acb bufio.NewWriterSize+0xeb bufio/bufio.go:599 # 0x1337b02 image/png.(*encoder).writeIDATs+0x122 image/png/writer.go:552 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [1: 417792] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b0d9 0x251364b 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b0d8 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GenerateThumbnail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:34 # 0x251364a github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func2+0x6a github.com/mattermost/mattermost/server/v8/channels/app/file.go:997 0: 0 [1: 5103616] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 466944] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x28a4d46 0x28a4d29 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x28a4d45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x28a4d28 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1a8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:584 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 480] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28321e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28321e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:41 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dd1f7 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x28519ea 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dd1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x96 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:296 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x28519e9 github.com/mattermost/mattermost/server/v8/channels/api4.getRolesByNames+0x169 github.com/mattermost/mattermost/server/v8/channels/api4/role.go:112 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28045da 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28045d9 github.com/mattermost/mattermost/server/v8/channels/api4.getServerLimits+0x39 github.com/mattermost/mattermost/server/v8/channels/api4/limits.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 147456] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 624] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 1792] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x4246eb 0x19e28bd 0x19e289d 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e28bc github.com/mattermost/squirrel.UpdateBuilder.Set+0x4dc github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e289c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:146 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 1007616] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [332: 220299264] @ 0x48dd33 0x428505 0x7039e5 0x703a0d 0x97e758 0x97e851 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x2513c1d 0x498001 # 0x7039e4 compress/flate.NewWriter+0x84 compress/flate/deflate.go:665 # 0x703a0c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:680 # 0x97e757 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x97e850 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x2513c1c github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func1.1+0x7c github.com/mattermost/mattermost/server/v8/channels/app/file.go:972 0: 0 [9: 3317760] @ 0x48dd33 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 1171456] @ 0x48dd33 0x492ae9 0x1316185 0x1b24497 0x1b24375 0x1b2b005 0x2513546 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24496 github.com/boxes-ltd/imaging.resizeHorizontal+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:111 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b2b004 github.com/mattermost/mattermost/server/v8/channels/app/imaging.GeneratePreview+0x64 github.com/mattermost/mattermost/server/v8/channels/app/imaging/preview.go:21 # 0x2513545 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage.func3+0x65 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1002 0: 0 [1: 1351680] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b298fd 0x2512d75 0x2511685 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b298fc github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).DecodeMemBounded+0xdc github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:83 # 0x2512d74 github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).postprocessImage+0x154 github.com/mattermost/mattermost/server/v8/channels/app/file.go:952 # 0x2511684 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x1104 github.com/mattermost/mattermost/server/v8/channels/app/file.go:855 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x428505 0xccbc68 0xccbc5c 0xccbc38 0x2510b59 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccbc67 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x47 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbc5b github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x3b github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0xccbc37 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x17 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x2510b58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x5d8 github.com/mattermost/mattermost/server/v8/channels/app/file.go:801 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [169: 54080] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 131072] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [94: 4512] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725c94 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725c93 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1073 github.com/mattermost/mattermost/server/v8/channels/web/params.go:199 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1920] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 12672] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x194a8c5 0x186fd64 0x2193e8a 0x2625448 0x2623325 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x194a8c4 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 # 0x186fd63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerLinkMetadataStore).Get+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7437 # 0x2193e89 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerLinkMetadataStore).Get+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5992 # 0x2625447 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadataFromDatabase+0x67 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1105 # 0x2623324 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x224 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:914 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x428505 0x1134a46 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1134a45 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x345 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:186 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 129024] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 129024] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [12: 6144] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 8448] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 23040] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1310720] @ 0x48dd33 0x492ae9 0x1b8df96 0x1b9d047 0x1b8c9bd 0x1b8ccb8 0x1c15af7 0x1c15ad2 0x2700d2c 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8df95 github.com/klauspost/compress/flate.(*fastGen).addBlock+0xf5 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:85 # 0x1b9d046 github.com/klauspost/compress/flate.(*fastEncL5).Encode+0x126 github.com/klauspost/compress@v1.18.6/flate/level5.go:62 # 0x1b8c9bc github.com/klauspost/compress/flate.(*compressor).storeFast+0x15c github.com/klauspost/compress@v1.18.6/flate/deflate.go:737 # 0x1b8ccb7 github.com/klauspost/compress/flate.(*compressor).write+0x97 github.com/klauspost/compress@v1.18.6/flate/deflate.go:762 # 0x1c15af6 github.com/klauspost/compress/flate.(*Writer).Write+0x376 github.com/klauspost/compress@v1.18.6/flate/deflate.go:950 # 0x1c15ad1 github.com/klauspost/compress/gzip.(*Writer).Write+0x351 github.com/klauspost/compress@v1.18.6/gzip/gzip.go:233 # 0x2700d2b github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x68b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:140 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f7265 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f7264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1122 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [73: 3504] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0x2716f79 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716f78 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x898 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:219 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1920fe5 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27da7db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1920fe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:226 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27da7da github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:772 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 20480] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 57344] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 144] @ 0x48dd05 0x428505 0x5469b7 0xc9bbb2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x19db29b 0x1a1e513 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbb1 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:125 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x19db29a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRow).Scan+0x3a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:60 # 0x1a1e512 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x492 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:581 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 16000] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 480] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 2080] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [30: 480] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [66: 23232] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x6f3026 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f3025 net/textproto.readMIMEHeader+0x3e5 net/textproto/reader.go:592 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f251 0x2838db8 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f250 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xd0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x2838db7 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0xf7 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:455 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 10560] @ 0x48dd05 0x428505 0xc9da99 0xc9dac3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9da98 encoding/json.NewDecoder+0x38 encoding/json/stream.go:34 # 0xc9dac2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x62 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [71: 4544] @ 0x48dd05 0x492ae9 0xb5ba3e 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba3d encoding/gob.(*Decoder).compileDec+0x1dd encoding/gob/decode.go:1156 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [15: 480] @ 0x48dd05 0x4246eb 0x2266046 0x266369a 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2266045 github.com/getsentry/sentry-go.(*Scope).SetRequest+0x225 github.com/getsentry/sentry-go@v0.46.2/scope.go:139 # 0x2663699 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2d9 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:120 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 4480] @ 0x48dd05 0x493087 0x73e165 0x71cf6f 0x71ce8a 0x71c7b2 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73e164 net/http.(*http2Framer).readMetaFrame.func1+0x304 net/http/h2_bundle.go:3203 # 0x71cf6e vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x6e vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x71ce89 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x429 vendor/golang.org/x/net/http2/hpack/hpack.go:396 # 0x71c7b1 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xd1 vendor/golang.org/x/net/http2/hpack/hpack.go:321 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [7: 112] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [46: 2208] @ 0x48dd05 0x48de45 0x52107d 0xb54cc5 0xb5685c 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb54cc4 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xb5685b encoding/gob.(*Decoder).decodeStruct+0x25b encoding/gob/decode.go:491 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [11: 53504] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27668d5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27668d4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1362 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 21760] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x54f84f 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x54f84e encoding/json.boolEncoder+0x1ee encoding/json/encode.go:550 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3168] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [59: 286976] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2560] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x191fd49 0x191fd4a 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x191fd48 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x448 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x191fd49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x449 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:158 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 2688] @ 0x48dd2c 0x41d5e6 0x755713 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x755712 net/http.(*http2ClientConn).roundTrip+0x132 net/http/h2_bundle.go:8617 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [5: 2560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [109: 31392] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1946e32 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1946e31 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [7: 448] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x184a645 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184a644 github.com/mattermost/squirrel.(*updateData).ToSql+0x184 github.com/mattermost/squirrel@v0.5.0/update.go:78 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [48: 1536] @ 0x48dd2c 0x4752f7 0xc83e9a 0xc83e9b 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc83e99 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc83e9a github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:468 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 47168] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a06976 0x1a0692e 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06975 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [151: 7248] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [6: 2496] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x28a4c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a4c84 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:573 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1440] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19ca98a 0x188323a 0x21aa3e6 0x2596cde 0x25903fe 0x2594292 0x2594edf 0x498001 # 0x19ca989 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSessionStore.GetSessionsWithActiveDeviceIds+0x129 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/session_store.go:185 # 0x1883239 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessionsWithActiveDeviceIds+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12786 # 0x21aa3e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessionsWithActiveDeviceIds+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10133 # 0x2596cdd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getMobileAppSessions+0x5d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:598 # 0x25903fd github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x69d github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:121 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18e23d8 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18e23d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2453 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 192] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 10752] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1220385 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1220384 code.sajari.com/docconv/v2.XMLToText+0x144 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:41 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [3: 14592] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1220385 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1220384 code.sajari.com/docconv/v2.XMLToText+0x144 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:41 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [1: 4096] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x1220385 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x1220384 code.sajari.com/docconv/v2.XMLToText+0x144 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:41 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 64] @ 0x48dd05 0x4246eb 0xba209d 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba209c encoding/xml.(*Decoder).Token+0x23c encoding/xml/xml.go:331 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [2: 128] @ 0x48dd05 0x4246eb 0xba2996 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba2995 encoding/xml.(*Decoder).Token+0xb35 encoding/xml/xml.go:325 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [4: 256] @ 0x48dd05 0x4246eb 0xba4f65 0xba1efb 0x1220325 0x121c2e5 0x121c121 0x121b532 0x1cbdf38 0x1cbc8d1 0x1cbdaaa 0x498001 # 0xba4f64 encoding/xml.(*Decoder).rawToken+0x1b04 encoding/xml/xml.go:850 # 0xba1efa encoding/xml.(*Decoder).Token+0x9a encoding/xml/xml.go:284 # 0x1220324 code.sajari.com/docconv/v2.XMLToText+0xe4 code.sajari.com/docconv/v2@v2.0.0-pre.4/xml.go:31 # 0x121c2e4 code.sajari.com/docconv/v2.DocxXMLToText+0x244 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:153 # 0x121c120 code.sajari.com/docconv/v2.parseDocxText+0x80 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:144 # 0x121b531 code.sajari.com/docconv/v2.ConvertDocx+0x851 code.sajari.com/docconv/v2@v2.0.0-pre.4/docx.go:91 # 0x1cbdf37 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*documentExtractor).Extract+0x1d7 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/documents.go:62 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [7: 2016] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [86: 2064] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [143: 4576] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x191fcb1 0x1867d5c 0x218af68 0x21194d6 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x191fcb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.GetByIds+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:152 # 0x1867d5b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).GetByIds+0x9b github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5436 # 0x218af67 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).GetByIds+0xa7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4457 # 0x21194d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x3f5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:78 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 384] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x27da9d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x27da9d0 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x2d0 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:784 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2119345 0x2606363 0x261fa38 0x261d9a5 0x261dd05 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2119344 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x264 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:70 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261dd04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:273 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 136320] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 294912] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x195d885 0x195d7fc 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x195d884 github.com/mattermost/squirrel.SelectBuilder.From+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x195d7fb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x21b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:54 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x18d7271 0x1a5e6d4 0x185a2c8 0x217b532 0x21165be 0x2133305 0x249c0cb 0x25cffdb 0x1279a13 0x12b5762 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d7270 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getByName+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1602 # 0x1a5e6d3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetByName+0xf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1594 # 0x185a2c7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetByName+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1947 # 0x217b531 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetByName+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1683 # 0x21165bd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.getByName+0x1dd github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:433 # 0x2133304 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetByName+0x44 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:415 # 0x249c0ca github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelByName+0xea github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2242 # 0x25cffda github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelByName+0x3a github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:498 # 0x1279a12 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelByName+0x92 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:516 # 0x12b5761 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelByName+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4057 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [119: 38080] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x183f3a9 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x183f3a8 github.com/mattermost/squirrel.Eq.toSQL+0xec8 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [18: 864] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [25: 3200] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 2560] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 864] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [57: 1368] @ 0x48dd05 0x428505 0x226fbc5 0x2663557 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226fbc4 github.com/getsentry/sentry-go.WithTransactionSource+0x24 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1026 # 0x2663556 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x196 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:101 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 456] @ 0x48dd2c 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd2c 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19c994d 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19c994c 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [96: 27648] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x26b9d92 0x28a4c25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a4c24 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0xa4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:562 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 11200] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 2080] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe9c25 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2127a87 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe9c24 github.com/vmihailenco/msgpack/v5.decodeSliceValue+0x4a4 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:116 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2127a86 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 15253504] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2816] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x1a03a85 0x188c8e8 0x21b52e8 0x26be547 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x1a03a84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadMentions+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:219 # 0x188c8e7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15471 # 0x21b52e7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadMentions+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12210 # 0x26be546 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func3+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2917 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 10752] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61d7c 0xc61f0f 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d7b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:94 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1408] @ 0x48dd2c 0x4930f3 0x127232f 0x12722de 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x127232e github.com/lib/pq.(*writeBuf).bytes+0x60e github.com/lib/pq@v1.12.3/buf.go:80 # 0x12722dd github.com/lib/pq.(*stmt).exec+0x5bd github.com/lib/pq@v1.12.3/stmt.go:130 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 2304] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127aaa 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127aa9 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x275e230 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x275e22f github.com/mattermost/mattermost/server/v8/channels/api4.createDirectChannel+0x70f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:634 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 2816] @ 0x48dd05 0x493087 0x4e343d 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e343c os.(*File).readdir+0x55c os/dir_unix.go:150 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1280] @ 0x48dd05 0x428505 0xc407ab 0xc407dd 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0xc407aa encoding/json.NewDecoder+0x4ca encoding/json/stream.go:34 # 0xc407dc github.com/mattermost/mattermost/server/public/model.FindManifest+0x4fc github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [24: 393216] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x1a1e1c7 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28a1f31 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x1a1e1c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x146 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:577 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28a1f30 github.com/mattermost/mattermost/server/v8/channels/api4.getUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:315 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 10002432] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x4ce8b4 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x4ce8b3 io.copyBuffer+0x1d3 io/io.go:431 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [7: 34048] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x69e91d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b6e29 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x69e91c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:786 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b6e28 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x168 crypto/tls/handshake_client_tls13.go:607 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [46: 23552] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 600] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [37: 1184] @ 0x48dd05 0x428505 0xb5ba13 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba12 encoding/gob.(*Decoder).compileDec+0x1b2 encoding/gob/decode.go:1155 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 2816] @ 0x48dd0c 0x428505 0x1b8e506 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e505 github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1a5 github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:147 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 2688] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 4368] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 1024] @ 0x48dd05 0x493087 0x21f11ca 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f11c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x7a9 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3744] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [9: 2433024] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [164: 34112] @ 0x48dd05 0x428505 0x21fb085 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fb084 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x284 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:484 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [141: 6768] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x6f2cd1 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2cd0 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:529 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [19: 2128] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [43: 688] @ 0x48dd05 0x428505 0x183971c 0x183969c 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x183971b github.com/lann/builder.scanStruct+0x3b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x19e2729 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x19e2728 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:138 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [121: 13552] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0xb832d1 0xb83285 0x12877cd 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0xb832d0 time.After+0x70 time/sleep.go:203 # 0xb83284 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:61 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [38: 4256] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x779053 0x779e95 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x779052 net/http.(*response).finishRequest+0x32 net/http/server.go:1668 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [81: 3888] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726b25 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726b24 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1f04 github.com/mattermost/mattermost/server/v8/channels/web/params.go:295 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [77: 2464] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1847b7b 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [57: 2736] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2: 96] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a063ca 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a063c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x4a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:470 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 5177344] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 6912] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x198a947 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x198a946 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 432] @ 0x48dd05 0x41d56d 0x9a1f3b 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f3a github.com/hashicorp/yamux.newStream+0x7a github.com/hashicorp/yamux@v0.1.2/stream.go:72 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [19: 12160] @ 0x48dd2c 0x4930f3 0x69ccb0 0x6a17ed 0x6a2dbe 0x73f8fa 0x75171d 0x57cf32 0x758a25 0x756c4d 0x7561f8 0x498001 # 0x69ccaf crypto/tls.(*halfConn).encrypt+0x5af crypto/tls/conn.go:519 # 0x6a17ec crypto/tls.(*Conn).writeRecordLocked+0x62c crypto/tls/conn.go:1031 # 0x6a2dbd crypto/tls.(*Conn).Write+0x37d crypto/tls/conn.go:1254 # 0x73f8f9 net/http.http2writeWithByteTimeout+0x59 net/http/h2_bundle.go:3771 # 0x75171c net/http.http2stickyErrWriter.Write+0x3c net/http/h2_bundle.go:7813 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x758a24 net/http.(*http2clientStream).writeRequestBody+0x764 net/http/h2_bundle.go:9233 # 0x756c4c net/http.(*http2clientStream).writeRequest+0xa0c net/http/h2_bundle.go:8833 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x199ad4b 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ad4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x74a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:173 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 256] @ 0x48dd05 0x492ae9 0x4a2e92 0x4a2565 0x99febb 0x99fbe2 0x9a3333 0x99ec9f 0xb83a67 0x498001 # 0x4a2e91 sync.(*poolChain).pushHead+0x51 sync/poolqueue.go:226 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x99feba github.com/hashicorp/yamux.(*Session).waitForSendErr.func1+0x5a github.com/hashicorp/yamux@v0.1.2/session.go:401 # 0x99fbe1 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x401 github.com/hashicorp/yamux@v0.1.2/session.go:435 # 0x9a3332 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x212 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x99ec9e github.com/hashicorp/yamux.(*Session).AcceptStream+0x7e github.com/hashicorp/yamux@v0.1.2/session.go:245 # 0xb83a66 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x26 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:142 0: 0 [3: 72] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x125e33c 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x125e33b github.com/lib/pq.(*stmt).ExecContext+0xfb github.com/lib/pq@v1.12.3/conn_go18.go:188 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [24: 12288] @ 0x48dd05 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 3136] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x227f85d 0x26635b5 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227f85c github.com/getsentry/sentry-go/internal/traceutils.GetHTTPSpanName+0xbc github.com/getsentry/sentry-go@v0.46.2/internal/traceutils/route_name.go:20 # 0x26635b4 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1f4 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:106 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [146: 7008] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [13: 416] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [25: 8800] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x196fb65 0x196faea 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fb64 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x4e4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fae9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [100: 115200] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 11520] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [33: 528] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 816] @ 0x48dd05 0x428505 0x548cb9 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x548cb8 encoding/json.(*decodeState).object+0x8d8 encoding/json/decode.go:707 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [37: 8288] @ 0x48dd05 0x428505 0x2719891 0x27194e2 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2719890 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x250 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 704] @ 0x48dd25 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [17: 1088] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 24576] @ 0x48dd2c 0x4930f3 0xb624de 0xb62388 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb624dd encoding/gob.(*encBuffer).Write+0x25d encoding/gob/encode.go:55 # 0xb62387 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [28: 3136] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 96] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb73145 0xb7231f 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb73144 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xb7231e net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [150: 9600] @ 0x48dd05 0x4246eb 0xb66f45 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb66f44 encoding/gob.(*Encoder).sendActualType+0x104 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [8: 512] @ 0x48dd05 0x428505 0xb63f65 0xb63f2a 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63f64 encoding/gob.(*Encoder).newEncoderState+0x184 encoding/gob/encode.go:82 # 0xb63f29 encoding/gob.(*Encoder).encodeInterface+0x149 encoding/gob/encode.go:392 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [6: 96] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x6294d4 0x629416 0x77985b 0x498001 # 0x6294d3 net.JoinHostPort+0x233 net/ipsock.go:242 # 0x629415 net.(*TCPAddr).String+0x175 net/tcpsock.go:52 # 0x77985a net/http.(*conn).serve+0x5a net/http/server.go:1899 0: 0 [33: 6336] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x19038ad 0x190382f 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x19038ac github.com/mattermost/squirrel.SelectBuilder.OrderBy+0xc2c github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x190382e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xbae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 400] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 432] @ 0x48dd05 0x41d56d 0x4bee48 0x99f68b 0x99f67a 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x99f68a time.After+0x2a time/sleep.go:203 # 0x99f679 github.com/hashicorp/yamux.(*Session).keepalive+0x19 github.com/hashicorp/yamux@v0.1.2/session.go:367 0: 0 [38: 17024] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 4608] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 11136] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 480] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 480] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 96] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x21f9d85 0x21d4da2 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x21f9d84 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 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [90: 4320] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725d7f 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725d7e github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x115e github.com/mattermost/mattermost/server/v8/channels/web/params.go:202 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 2080] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1a25cf4 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25cf3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x153 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [57: 2736] @ 0x48dd05 0x428505 0xb7597c 0x12880d3 0x498001 # 0xb7597b net/rpc.(*Server).ServeConn+0x2db net/rpc/server.go:449 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [6: 288] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2724c7b 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 624] @ 0x48dd05 0x4246eb 0x1846fab 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846faa github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xaa github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [72: 4608] @ 0x48dd2c 0x4930f3 0xb62805 0xb626aa 0xb62f5e 0xb6550f 0xb634e4 0xb65979 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb66f88 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb62804 encoding/gob.(*encBuffer).WriteString+0x264 encoding/gob/encode.go:60 # 0xb626a9 encoding/gob.encString+0x109 encoding/gob/encode.go:256 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb66f87 encoding/gob.(*Encoder).sendActualType+0x147 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [4: 1152] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 3328] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1a061d7 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a061d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x2b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:415 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x194796f 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x194796e 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [9: 1152] @ 0x48dd05 0x428505 0xc9d0e9 0x2673ec8 0x267a6c8 0xc7b03a 0x498001 # 0xc9d0e8 github.com/mattermost/mattermost/server/public/model.NewAppError+0x48 github.com/mattermost/mattermost/server/public/model/utils.go:366 # 0x2673ec7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getSharedChannelsService+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/shared_channel.go:35 # 0x267a6c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x47 github.com/mattermost/mattermost/server/v8/channels/app/status.go:74 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x703217 0x703252 0x70e52d 0x70e4ee 0x20cbc0e 0x20c7c25 0x498001 # 0x703216 compress/flate.newDeflateFast+0x396 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c7c24 runtime/pprof.profileWriter+0xa4 runtime/pprof/pprof.go:943 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x703217 0x703252 0x70e52d 0x70e4ee 0x20cbc0e 0x20c57a5 0x20c7815 0x20c74d0 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703216 compress/flate.newDeflateFast+0x396 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c57a4 runtime/pprof.printCountProfile+0xae4 runtime/pprof/pprof.go:556 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c74cf runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:769 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 196608] @ 0x48dd33 0x492ae9 0x7031a9 0x70e52d 0x70e4ee 0x20cbc0e 0x20c57a5 0x20c7815 0x20c74d0 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7031a8 compress/flate.(*compressor).init+0x328 compress/flate/deflate.go:585 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c57a4 runtime/pprof.printCountProfile+0xae4 runtime/pprof/pprof.go:556 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c74cf runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:769 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 5971968] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20cbc0e 0x20c4c4c 0x20c828d 0x20c7e70 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c4c4b runtime/pprof.printCountCycleProfile+0x38b runtime/pprof/pprof.go:486 # 0x20c828c runtime/pprof.writeProfileInternal+0x38c runtime/pprof/pprof.go:1002 # 0x20c7e6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:976 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 491520] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414e11 0x414d70 0x417009 0x20cd110 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 768] @ 0x48dd05 0x493087 0x20cd007 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd006 runtime/pprof.(*profileBuilder).emitLocation+0x226 runtime/pprof/proto.go:613 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x20cd7d0 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd7cf runtime/pprof.(*profileBuilder).emitLocation+0x9ef runtime/pprof/proto.go:625 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 557056] @ 0x48dd33 0x428505 0x703228 0x703252 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703227 compress/flate.newDeflateFast+0x3a7 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x703217 0x703252 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703216 compress/flate.newDeflateFast+0x396 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3317760] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 960] @ 0x48dd05 0x428505 0x20cab90 0x20cab66 0x20cc425 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cab65 runtime/pprof.allFrames+0x25 runtime/pprof/proto.go:214 # 0x20cc424 runtime/pprof.(*profileBuilder).appendLocsForStack+0x3c4 runtime/pprof/proto.go:454 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1048576] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20cbc0e 0x20c57a5 0x20c7815 0x20c74d0 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c57a4 runtime/pprof.printCountProfile+0xae4 runtime/pprof/pprof.go:556 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c74cf runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:769 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 696320] @ 0x48dd33 0x428505 0x703228 0x703252 0x70e52d 0x70e4ee 0x20cbc0e 0x20c57a5 0x20c7815 0x20c74d0 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703227 compress/flate.newDeflateFast+0x3a7 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c57a4 runtime/pprof.printCountProfile+0xae4 runtime/pprof/pprof.go:556 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c74cf runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:769 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 7962624] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20cbc0e 0x20c57a5 0x20c7815 0x20c74d0 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c57a4 runtime/pprof.printCountProfile+0xae4 runtime/pprof/pprof.go:556 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c74cf runtime/pprof.writeThreadCreate+0x2f runtime/pprof/pprof.go:769 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 393216] @ 0x48dd33 0x492ae9 0x4685b9 0x48132a 0x47a8b4 0x5849fc 0x58492c 0x5845c5 0x20f80a5 0x20f8069 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x5849fb runtime/trace.(*traceMultiplexer).startLocked+0x1b runtime/trace/subscribe.go:142 # 0x58492b runtime/trace.(*traceMultiplexer).addedSubscriber+0x2b runtime/trace/subscribe.go:112 # 0x5845c4 runtime/trace.(*traceMultiplexer).subscribeTraceStartWriter+0x1c4 runtime/trace/subscribe.go:80 # 0x20f80a4 runtime/trace.Start+0x2c4 runtime/trace/trace.go:119 # 0x20f8068 net/http/pprof.Trace+0x288 net/http/pprof/pprof.go:184 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 15728640] @ 0x48dd33 0x492ae9 0x468576 0x48132a 0x47a8b4 0x5849fc 0x58492c 0x5845c5 0x20f80a5 0x20f8069 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x5849fb runtime/trace.(*traceMultiplexer).startLocked+0x1b runtime/trace/subscribe.go:142 # 0x58492b runtime/trace.(*traceMultiplexer).addedSubscriber+0x2b runtime/trace/subscribe.go:112 # 0x5845c4 runtime/trace.(*traceMultiplexer).subscribeTraceStartWriter+0x1c4 runtime/trace/subscribe.go:80 # 0x20f80a4 runtime/trace.Start+0x2c4 runtime/trace/trace.go:119 # 0x20f8068 net/http/pprof.Trace+0x288 net/http/pprof/pprof.go:184 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 11534336] @ 0x48dd33 0x492ae9 0x468576 0x4812f3 0x47a8b4 0x5849fc 0x58492c 0x5845c5 0x20f80a5 0x20f8069 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x5849fb runtime/trace.(*traceMultiplexer).startLocked+0x1b runtime/trace/subscribe.go:142 # 0x58492b runtime/trace.(*traceMultiplexer).addedSubscriber+0x2b runtime/trace/subscribe.go:112 # 0x5845c4 runtime/trace.(*traceMultiplexer).subscribeTraceStartWriter+0x1c4 runtime/trace/subscribe.go:80 # 0x20f80a4 runtime/trace.Start+0x2c4 runtime/trace/trace.go:119 # 0x20f8068 net/http/pprof.Trace+0x288 net/http/pprof/pprof.go:184 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 516096] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 393216] @ 0x48dd33 0x4930f3 0x20d066d 0x20d0377 0x20cbbe5 0x20d14d2 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20d066c runtime/pprof.(*protobuf).string+0x38c runtime/pprof/protobuf.go:94 # 0x20d0376 runtime/pprof.(*protobuf).strings+0x96 runtime/pprof/protobuf.go:99 # 0x20cbbe4 runtime/pprof.(*profileBuilder).build+0x544 runtime/pprof/proto.go:389 # 0x20d14d1 runtime/pprof.writeHeapProto+0x651 runtime/pprof/protomem.go:66 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 384] @ 0x48dd05 0x493087 0x20cd007 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd006 runtime/pprof.(*profileBuilder).emitLocation+0x226 runtime/pprof/proto.go:613 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [113: 27120] @ 0x48dd05 0x428505 0x20cab90 0x20cab66 0x20cc425 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cab65 runtime/pprof.allFrames+0x25 runtime/pprof/proto.go:214 # 0x20cc424 runtime/pprof.(*profileBuilder).appendLocsForStack+0x3c4 runtime/pprof/proto.go:454 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 655360] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414e11 0x414d70 0x417009 0x20cd110 0x20cc2be 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc2bd runtime/pprof.(*profileBuilder).appendLocsForStack+0x25d runtime/pprof/proto.go:435 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 136320] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414e11 0x414d70 0x417d91 0x20cd7d0 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd7cf runtime/pprof.(*profileBuilder).emitLocation+0x9ef runtime/pprof/proto.go:625 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 1920] @ 0x48dd05 0x428505 0x20cad55 0x20cc425 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cad54 runtime/pprof.allFrames+0x214 runtime/pprof/proto.go:232 # 0x20cc424 runtime/pprof.(*profileBuilder).appendLocsForStack+0x3c4 runtime/pprof/proto.go:454 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 40960] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417009 0x20cd110 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20cd10f runtime/pprof.(*profileBuilder).emitLocation+0x32f runtime/pprof/proto.go:609 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x703217 0x703252 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703216 compress/flate.newDeflateFast+0x396 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 4644864] @ 0x48dd33 0x428505 0x70e514 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20d1405 0x20c64b2 0x20c6165 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x70e513 compress/flate.NewWriter+0x293 compress/flate/deflate.go:665 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20d1404 runtime/pprof.writeHeapProto+0x584 runtime/pprof/protomem.go:47 # 0x20c64b1 runtime/pprof.writeHeapInternal+0x2b1 runtime/pprof/pprof.go:663 # 0x20c6164 runtime/pprof.writeHeap+0x24 runtime/pprof/pprof.go:622 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1310720] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20cbc0e 0x20c4c4c 0x20c828d 0x20c7e70 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c4c4b runtime/pprof.printCountCycleProfile+0x38b runtime/pprof/pprof.go:486 # 0x20c828c runtime/pprof.writeProfileInternal+0x38c runtime/pprof/pprof.go:1002 # 0x20c7e6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:976 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 835584] @ 0x48dd33 0x428505 0x703228 0x703252 0x70e52d 0x70e4ee 0x20cbc0e 0x20c4c4c 0x20c828d 0x20c7e70 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x703227 compress/flate.newDeflateFast+0x3a7 compress/flate/deflatefast.go:64 # 0x703251 compress/flate.(*compressor).init+0x3d1 compress/flate/deflate.go:588 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20cbc0d runtime/pprof.(*profileBuilder).build+0x56d runtime/pprof/proto.go:390 # 0x20c4c4b runtime/pprof.printCountCycleProfile+0x38b runtime/pprof/pprof.go:486 # 0x20c828c runtime/pprof.writeProfileInternal+0x38c runtime/pprof/pprof.go:1002 # 0x20c7e6f runtime/pprof.writeBlock+0x2f runtime/pprof/pprof.go:976 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1048576] @ 0x48dd33 0x492ae9 0x7032ad 0x70e52d 0x70e4ee 0x20c8688 0x20ce348 0x20cc59a 0x20c56cc 0x20c7815 0x20c75a5 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7032ac compress/flate.(*compressor).init+0x42c compress/flate/deflate.go:589 # 0x70e52c compress/flate.NewWriter+0x2ac compress/flate/deflate.go:666 # 0x70e4ed compress/gzip.(*Writer).Write+0x26d compress/gzip/gzip.go:191 # 0x20c8687 runtime/pprof.(*profileBuilder).flush+0x47 runtime/pprof/proto.go:146 # 0x20ce347 runtime/pprof.(*profileBuilder).emitLocation+0x1567 runtime/pprof/proto.go:658 # 0x20cc599 runtime/pprof.(*profileBuilder).appendLocsForStack+0x539 runtime/pprof/proto.go:470 # 0x20c56cb runtime/pprof.printCountProfile+0xa0b runtime/pprof/pprof.go:544 # 0x20c7814 runtime/pprof.writeRuntimeProfile+0x154 runtime/pprof/pprof.go:859 # 0x20c75a4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:784 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 15728640] @ 0x48dd33 0x492ae9 0x468576 0x41fad1 0x20c7a5b 0x20f7ceb 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x20c7a5a runtime/pprof.StartCPUProfile+0x15a runtime/pprof/pprof.go:910 # 0x20f7cea net/http/pprof.Profile+0x2ca net/http/pprof/pprof.go:158 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 1608] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [49: 14112] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2836374 0x28362c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2836373 github.com/mattermost/mattermost/server/public/model.AddEventParameterToAuditRec[...]+0x5f3 github.com/mattermost/mattermost/server/public/model/audit_record.go:88 # 0x28362c4 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x544 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:217 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 432] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417314 0x6614c5 0x6615a1 0x65e58f 0x6713ed 0x6713a7 0x65e1de 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6614c4 crypto/x509.newPolicyGraphNode+0xba4 crypto/x509/verify.go:1057 # 0x6615a0 crypto/x509.policiesValid+0xc80 crypto/x509/verify.go:1254 # 0x65e58e crypto/x509.(*Certificate).Verify.func1+0xce crypto/x509/verify.go:623 # 0x6713ec slices.IndexFunc[...]+0x6c slices/slices.go:109 # 0x6713a6 slices.DeleteFunc[...]+0x26 slices/slices.go:240 # 0x65e1dd crypto/x509.(*Certificate).Verify+0x55d crypto/x509/verify.go:622 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [56: 32256] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6144] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 768] @ 0x48dd05 0x428505 0x1847aa5 0x1847a73 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1847aa4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [15: 13440] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x1a2856a 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1a28569 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1373 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [60: 23040] @ 0x48dd05 0x492ae9 0x2718f09 0x2718eab 0x27182da 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2718f08 github.com/mattermost/logr/v2.Logger.With+0x2828 github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x2718eaa github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27ca github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 3920] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [93: 29760] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [117: 5616] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [99: 1584] @ 0x48dd05 0x493087 0x18c738a 0x18c7f54 0x18ebe48 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18c7389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x5e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:271 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ebe47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [50: 1600] @ 0x48dd05 0x428505 0xb56690 0xb56651 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5668f encoding/gob.(*Decoder).newDecoderState+0x8f encoding/gob/decode.go:94 # 0xb56650 encoding/gob.(*Decoder).decodeStruct+0x50 encoding/gob/decode.go:470 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [56: 13440] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [19: 304] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 1464] @ 0x48dd05 0x428505 0x226fae5 0x266353e 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226fae4 github.com/getsentry/sentry-go.WithOpName+0x24 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1015 # 0x266353d github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x17d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:100 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [47: 1128] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [135: 17280] @ 0x48dd2c 0x4930f3 0xb628fc 0xb628cf 0xb628de 0xb62f7d 0xb6550f 0xb634e4 0xb65979 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb66f88 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb628fb encoding/gob.(*encBuffer).writeByte+0x3b encoding/gob/encode.go:51 # 0xb628ce encoding/gob.(*encoderState).encodeUint+0xe encoding/gob/encode.go:109 # 0xb628dd encoding/gob.encStructTerminator+0x1d encoding/gob/encode.go:263 # 0xb62f7c encoding/gob.(*Encoder).encodeStruct+0x2dc encoding/gob/encode.go:317 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb66f87 encoding/gob.(*Encoder).sendActualType+0x147 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [13: 832] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc40413 0xc4040a 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc40412 os.Open+0x132 os/file.go:390 # 0xc40409 github.com/mattermost/mattermost/server/public/model.FindManifest+0x129 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [38: 14592] @ 0x48dd05 0x492ae9 0x21f0abc 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0abb github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [88: 4224] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd1dc 0x27261ff 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd1db strconv.ParseInt+0x5b strconv/number.go:140 # 0x27261fe github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x15de github.com/mattermost/mattermost/server/v8/channels/web/params.go:222 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 4992] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x7642b9 0x764765 0x77823d 0x777fd5 0x772757 0x57cf32 0x779065 0x779e95 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x7642b8 net/http.Header.sortedKeyValues+0x38 net/http/header.go:168 # 0x764764 net/http.Header.writeSubset+0xc4 net/http/header.go:195 # 0x77823c net/http.Header.WriteSubset+0x193c net/http/header.go:187 # 0x777fd4 net/http.(*chunkWriter).writeHeader+0x16d4 net/http/server.go:1533 # 0x772756 net/http.(*chunkWriter).Write+0x36 net/http/server.go:378 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x779064 net/http.(*response).finishRequest+0x44 net/http/server.go:1671 # 0x779e94 net/http.(*conn).serve+0x694 net/http/server.go:2080 0: 0 [94: 10528] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [142: 40896] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1ccac30 0x1cca8ce 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccac2f github.com/gorilla/mux.extractVars+0x4cf github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0x1cca8cd github.com/gorilla/mux.routeRegexpGroup.setMatch+0x16d github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 720] @ 0x48dd05 0x428505 0x56e205 0x7751a5 0x779bd8 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x7751a4 net/http.(*conn).readRequest+0x6e4 net/http/server.go:1040 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [4: 1152] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19f74c5 0x19f7438 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f74c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f7437 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x317 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1138 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 2016] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 1280] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 864] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 2208] @ 0x48dd05 0x428505 0x70c9b2 0x70c979 0x70caa1 0x75f36b 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x70c9b1 bufio.NewReaderSize+0x151 bufio/bufio.go:56 # 0x70c978 bufio.NewReader+0x118 bufio/bufio.go:63 # 0x70caa0 compress/gzip.(*Reader).Reset+0x240 compress/gzip/gunzip.go:111 # 0x75f36a net/http.http2gzipPoolGet+0x4a net/http/h2_bundle.go:10453 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19dbd10 0x1a030dc 0x188caa8 0x21b54a8 0x26be887 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x1a030db github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTotalUnreadThreads+0x17b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:162 # 0x188caa7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15492 # 0x21b54a7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTotalUnreadThreads+0xc7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12226 # 0x26be886 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func1+0xe6 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2892 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [17: 11968] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x63e656 0x63f9b9 0x63f98f 0x28cafc5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x28cafc4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3765 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [119: 2193408] @ 0x48dd0c 0x48dee5 0x48df93 0x415230 0x415220 0x412356 0x48e488 0x21d2565 0x21d2557 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0x21d2564 maps.Clone[...]+0xa4 maps/maps.go:55 # 0x21d2556 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x96 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:342 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 31104] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x69e91d 0x6a0533 0x69e86d 0x6a1f71 0x6a1f72 0x6a1ff9 0x6b64fb 0x6b40f6 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x69e91c crypto/tls.(*Conn).readRecordOrCCS+0x139c crypto/tls/conn.go:786 # 0x6a0532 crypto/tls.(*Conn).retryReadRecord+0x72 crypto/tls/conn.go:800 # 0x69e86c crypto/tls.(*Conn).readRecordOrCCS+0x12ec crypto/tls/conn.go:759 # 0x6a1f70 crypto/tls.(*Conn).readRecord+0x50 crypto/tls/conn.go:588 # 0x6a1f71 crypto/tls.(*Conn).readHandshakeBytes+0x51 crypto/tls/conn.go:1084 # 0x6a1ff8 crypto/tls.(*Conn).readHandshake+0x38 crypto/tls/conn.go:1095 # 0x6b64fa crypto/tls.(*clientHandshakeStateTLS13).readServerParameters+0x5a crypto/tls/handshake_client_tls13.go:525 # 0x6b40f5 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x755 crypto/tls/handshake_client_tls13.go:133 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [25: 2800] @ 0x48dd2c 0x4752f7 0x5305e6 0x224a436 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x224a435 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x3d5 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:87 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [15: 2400] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd05 0x492ae9 0x7763ef 0x775e77 0x77bf46 0x77c06e 0x77bd69 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x7763ee net/http.Header.Clone+0x6ee net/http/header.go:104 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x77bf45 net/http.Error+0x1a5 net/http/server.go:2317 # 0x77c06d net/http.NotFound+0x2d net/http/server.go:2322 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x2979ece 0x672493 0x124781e 0x1246ce5 0x1246505 0x12592fc 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2979ecd crypto/internal/fips140/hmac.New[...]+0x16d crypto/internal/fips140/hmac/hmac.go:187 # 0x672492 crypto/hmac.New+0xf2 crypto/hmac/hmac.go:56 # 0x124781d github.com/lib/pq/scram.(*Client).clientProof+0x11d github.com/lib/pq@v1.12.3/scram/scram.go:238 # 0x1246ce4 github.com/lib/pq/scram.(*Client).step2+0x4a4 github.com/lib/pq@v1.12.3/scram/scram.go:191 # 0x1246504 github.com/lib/pq/scram.(*Client).Step+0xa4 github.com/lib/pq@v1.12.3/scram/scram.go:121 # 0x12592fb github.com/lib/pq.(*conn).auth+0xd3b github.com/lib/pq@v1.12.3/conn.go:1397 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 6144] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 491520] @ 0x48dd33 0x492ae9 0x7b72fe 0x7b81bf 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b72fd regexp.(*bitState).reset+0xfd regexp/backtrack.go:91 # 0x7b81be regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x7b724d 0x7b81bf 0x7ba437 0x1cc9aed 0x1cc9ac8 0x1cc9ab6 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b724c regexp.(*bitState).reset+0x4c regexp/backtrack.go:84 # 0x7b81be regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x1cc9aec regexp.(*Regexp).doMatch+0x12c regexp/exec.go:514 # 0x1cc9ac7 regexp.(*Regexp).MatchString+0x107 regexp/regexp.go:507 # 0x1cc9ab5 github.com/gorilla/mux.(*routeRegexp).Match+0xf5 github.com/gorilla/mux@v1.8.1/regexp.go:193 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [71: 7952] @ 0x48dd2c 0x41d5e6 0x99f3b0 0x99f6e5 0x498001 # 0x99f3af github.com/hashicorp/yamux.(*Session).Ping+0x2f github.com/hashicorp/yamux@v0.1.2/session.go:329 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [40: 138240] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 80] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 1280] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 1632] @ 0x48dd2c 0x4752f7 0xc8b2d8 0xc8b2d9 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b2d7 github.com/tinylib/msgp/msgp.ReadStringBytes+0x117 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b2d8 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x118 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:161 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [99: 101376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x62e365 0x627abb 0x62717b 0x61c3d8 0x62f787 0x62dfdf 0x5ff865 0x5ff83a 0x5ff2d3 0x60ee1f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x62e364 net.sockaddrToUDP+0x104 net/udpsock_posix.go:18 # 0x627aba net.(*netFD).dial+0x83a net/sock_posix.go:143 # 0x62717a net.socket+0x29a net/sock_posix.go:70 # 0x61c3d7 net.internetSocket+0xf7 net/ipsock_posix.go:167 # 0x62f786 net.(*sysDialer).dialUDP+0xa6 net/udpsock_posix.go:220 # 0x62dfde net.dialUDP+0x29e net/udpsock.go:304 # 0x5ff864 net.DialUDP+0x124 net/udpsock.go:288 # 0x5ff839 net.srcAddrs+0xf9 net/addrselect.go:50 # 0x5ff2d2 net.sortByRFC6724+0x32 net/addrselect.go:18 # 0x60ee1e net.(*Resolver).goLookupIPCNAMEOrder+0x149e net/dnsclient_unix.go:799 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [46: 736] @ 0x48dd05 0x428505 0x1846b3c 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 6336] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 408] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 6048] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 19520] @ 0x48dd05 0x428505 0xccb029 0xccb01d 0x2719357 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0xccb028 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x28 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccb01c github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x1c github.com/mattermost/mattermost/server/public/shared/request/context.go:126 # 0x2719356 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2c76 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:352 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 1184] @ 0x48dd05 0x428505 0x875b93 0xccbc56 0x25eabec 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x875b92 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x32 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0xccbc55 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x35 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x25eabeb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x13ab github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:251 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 1488] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x54c63c 0x54c419 0x54c748 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c63b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1079 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 12320] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x281d5f8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d5f7 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x77 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 229376] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 56832] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x19baa6d 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x19baa6c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x34c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:282 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 768] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2724c7b 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 288] @ 0x48dd2c 0x428505 0xbd7991 0xbd7934 0xc9d313 0xc9d330 0x25e98a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd7990 github.com/google/uuid.NewRandomFromReader+0x30 github.com/google/uuid@v1.6.0/version4.go:48 # 0xbd7933 github.com/google/uuid.NewRandom+0x53 github.com/google/uuid@v1.6.0/version4.go:41 # 0xc9d312 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc9d32f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25e98a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:163 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 816] @ 0x48dd05 0x428505 0xc3f4e5 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f4e4 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x144 github.com/mattermost/mattermost/server/public/model/manifest.go:261 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd25 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [110: 3520] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x778d57 0x778baa 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x778d56 net/http.(*response).write+0x116 net/http/server.go:1644 # 0x778ba9 net/http.(*response).Write+0x29 net/http/server.go:1621 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 208] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 496] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1536] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x786ba7 0x786b9b 0x786697 0x76b406 0x796a34 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x786ba6 net/http.getCopyBuf+0x66 net/http/server.go:837 # 0x786b9a net/http.(*transferWriter).doBodyCopy+0x5a net/http/transfer.go:414 # 0x786696 net/http.(*transferWriter).writeBody+0x356 net/http/transfer.go:372 # 0x76b405 net/http.(*Request).write+0xa85 net/http/request.go:762 # 0x796a33 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2655 0: 0 [85: 5570560] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd05 0x492ae9 0x54295f 0x1259b85 0x1259b65 0x125beee 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x1259b84 strings.Split+0x244 strings/strings.go:361 # 0x1259b64 github.com/lib/pq.(*conn).parseComplete+0x224 github.com/lib/pq@v1.12.3/conn.go:1461 # 0x125beed github.com/lib/pq.(*conn).readExecuteResponse+0x10d github.com/lib/pq@v1.12.3/conn.go:1745 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a05ff1 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a05ff0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0xd0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:404 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 1264] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [21: 4704] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x755a89 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x755a88 net/http.(*http2ClientConn).roundTrip+0x4a8 net/http/h2_bundle.go:8703 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [50: 6400] @ 0x48dd05 0x428505 0x6135a5 0x61354f 0x62ba7b 0x62ad10 0x77f64c 0x266234d 0x498001 # 0x6135a4 net.newFD+0x144 net/fd_unix.go:27 # 0x61354e net.(*netFD).accept+0xee net/fd_unix.go:158 # 0x62ba7a net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x62ad0f net.(*TCPListener).Accept+0x2f net/tcpsock.go:387 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x266234c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x26c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1179 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a07269 0x1309f10 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x190354f 0x19034c6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x190354e github.com/mattermost/squirrel.SelectBuilder.From+0x8ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19034c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x845 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 8832] @ 0x48dd05 0x428505 0x270f345 0x283627d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x283627c github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x4fc github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:215 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2720] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 80] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x19f1dc5 0x19f71a5 0x19c9b67 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19c9b66 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 2880] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 12288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 624] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [66: 4325376] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 1008] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [29: 464] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 320] @ 0x48dd2c 0x4752f7 0xc83e9a 0xc83e9b 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc83e99 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc83e9a github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:468 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 336] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19dbd45 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2df7 0x21d2678 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2df6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).isUpgradedFromTE+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:397 # 0x21d2677 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x1b7 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:348 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [92: 1472] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 256] @ 0x48dd05 0x428505 0xb83c8f 0xb832a9 0x1287b9d 0x498001 # 0xb83c8e github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xce github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:176 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [36: 11520] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 240] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x2631665 0x2631666 0x22a3cdb 0x20db11a 0x20dad8e 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x2631664 github.com/mattermost/mattermost/server/public/model.UnmarshalProductNotices+0x904 github.com/mattermost/mattermost/server/public/model/product_notices.go:21 # 0x2631665 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateProductNotices+0x905 github.com/mattermost/mattermost/server/v8/channels/app/product_notices.go:348 # 0x22a3cda 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 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [5: 320] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 144] @ 0x48dd05 0x428505 0x1256edf 0x125be65 0x125e3c5 0x1271cde 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125be64 github.com/lib/pq.(*conn).readExecuteResponse+0x84 github.com/lib/pq@v1.12.3/conn.go:1735 # 0x125e3c4 github.com/lib/pq.(*stmt).ExecContext+0x184 github.com/lib/pq@v1.12.3/conn_go18.go:192 # 0x1271cdd github.com/lib/pq.(*stmt).Exec+0x11d github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [181: 37648] @ 0x48dd05 0x428505 0xca2a25 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xca2a24 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x44 github.com/mattermost/mattermost/server/public/model/websocket_request.go:35 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 4608] @ 0x48dd2c 0x4930f3 0xb624de 0xb62388 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb624dd encoding/gob.(*encBuffer).Write+0x25d encoding/gob/encode.go:55 # 0xb62387 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [10: 1120] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [173: 354304] @ 0x48dd2c 0x492ae9 0x7746ab 0x774687 0x7753ec 0x779bd8 0x498001 # 0x7746aa bufio.NewWriterSize+0x1aa bufio/bufio.go:599 # 0x774686 net/http.newBufioWriterSize+0x186 net/http/server.go:882 # 0x7753eb net/http.(*conn).readRequest+0x92b net/http/server.go:1071 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [22: 3168] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 1216] @ 0x48dd05 0x428505 0xb5ba13 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba12 encoding/gob.(*Decoder).compileDec+0x1b2 encoding/gob/decode.go:1155 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [77: 6160] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 624] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 2448] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [29: 141056] @ 0x48dd0c 0x41d56d 0x21f954a 0x28ebe32 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f9549 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).NewWebConn+0x409 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:230 # 0x28ebe31 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x7f1 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 64] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x1a07269 0x1309f10 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a07268 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x248 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:432 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [43: 688] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [42: 16128] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 2400] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 3840] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 21760] @ 0x48dd2c 0x492ae9 0x687409 0x6873ef 0x6e0718 0x6aca42 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x687408 crypto/internal/fips140/mlkem.(*EncapsulationKey768).Bytes+0x28 crypto/internal/fips140/mlkem/mlkem768.go:143 # 0x6873ee crypto/mlkem.(*EncapsulationKey768).Bytes+0xe crypto/mlkem/mlkem.go:117 # 0x6e0717 crypto/tls.(*hybridKeyExchange).keyShares+0x197 crypto/tls/key_schedule.go:193 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [38: 14592] @ 0x48dd05 0x428505 0x18c5a48 0x18d1b85 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c5a47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelSliceColumns+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:138 # 0x18d1b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x124 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1904] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x19ea937 0x19ea890 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19ea936 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1d6 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19ea88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 896] @ 0x48dd05 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [18: 2016] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 8832] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x4e3074 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x4e3073 os.(*File).readdir+0x193 os/dir_unix.go:65 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xc8b358 0xc8b359 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b357 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b358 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 1152] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19477f4 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x19477f3 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [14: 224] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [66: 76032] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [53: 848] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [64: 1024] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x521209 0x51dac6 0xb587fd 0xb59b9a 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x521208 reflect.Value.assignTo+0x108 reflect/value.go:3202 # 0x51dac5 reflect.Value.Set+0xe5 reflect/value.go:2158 # 0xb587fc encoding/gob.(*Decoder).decodeInterface+0x4dc encoding/gob/decode.go:726 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [97: 86912] @ 0x48dd2c 0x4930f3 0x125440b 0x12543ed 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125440a github.com/lib/pq.(*writeBuf).byte+0x3ea github.com/lib/pq@v1.12.3/buf.go:76 # 0x12543ec github.com/lib/pq.(*conn).prepareTo+0x3cc github.com/lib/pq@v1.12.3/conn.go:768 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 288] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a07105 0x1a070df 0x1309f10 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a07104 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a070de 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:429 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [164: 10496] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x19f1e3f 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1e3e github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xfe github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x492ae9 0x296a2cd 0x2990b05 0x298bbb9 0x5da885 0x5da7f6 0x693987 0x6b7245 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296a2cc crypto/internal/fips140/bigmod.(*Nat).Bytes+0x6c crypto/internal/fips140/bigmod/nat.go:151 # 0x2990b04 crypto/internal/fips140/rsa.encrypt+0x124 crypto/internal/fips140/rsa/rsa.go:380 # 0x298bbb8 crypto/internal/fips140/rsa.verifyPSS+0x198 crypto/internal/fips140/rsa/pkcs1v22.go:344 # 0x5da884 crypto/internal/fips140/rsa.VerifyPSSWithSaltLength+0x504 crypto/internal/fips140/rsa/pkcs1v22.go:325 # 0x5da7f5 crypto/rsa.VerifyPSS+0x475 crypto/rsa/fips.go:170 # 0x693986 crypto/tls.verifyHandshakeSignature+0x226 crypto/tls/auth.go:59 # 0x6b7244 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x584 crypto/tls/handshake_client_tls13.go:669 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [17: 17408] @ 0x48dd2c 0x492ae9 0x296cab4 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 48] @ 0x48dd05 0x493087 0x652aaa 0x658c7d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x652aa9 crypto/x509.parseName+0x269 crypto/x509/parser.go:174 # 0x658c7c crypto/x509.parseCertificate+0x53c crypto/x509/parser.go:963 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x493087 0x18c8e2f 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18c8e2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x52e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:488 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [41: 1312] @ 0x48dd05 0x428505 0xb5ba13 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba12 encoding/gob.(*Decoder).compileDec+0x1b2 encoding/gob/decode.go:1155 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [101: 103424] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845431 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845430 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x6b0 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [55: 2640] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [78: 1872] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 1280] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 896] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [104: 8320] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 1760] @ 0x48dd05 0x492ae9 0x72e507 0x25e9bb3 0x25e9bbc 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x25e9bb2 net/http.(*Request).Cookie+0x372 net/http/request.go:452 # 0x25e9bbb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x37b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:182 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 28800] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 589824] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x4ab7b8 0x125ea28 0x125e9de 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4ab7b7 syscall.Environ+0xb7 syscall/env_unix.go:139 # 0x125ea27 os.Environ+0x67 os/env.go:140 # 0x125e9dd github.com/lib/pq.NewConfig+0x1d github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 96] @ 0x48dd05 0x48d725 0x19eab30 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eab2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x3cf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:45 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 96] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 256] @ 0x48dd05 0x428505 0x2249ac5 0x2249b4e 0x224c270 0x224c0d3 0x498001 # 0x2249ac4 github.com/getsentry/sentry-go/internal/protocol.NewClientReportItem+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:247 # 0x2249b4d github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0xed github.com/getsentry/sentry-go@v0.46.2/report/report.go:22 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [4: 192] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [128: 4096] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [127: 178816] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x48d725 0x19eb6e5 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x19eb6e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [115: 7360] @ 0x48dd05 0x428505 0x271688a 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716889 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:151 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [66: 23232] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2724c7b 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 192] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x546e9e 0x55a01f 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 7344] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [78: 1248] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 2720] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [24: 576] @ 0x48dd2c 0x4752f7 0x4cdcd8 0x4cdcd9 0x4ce005 0x25ea7a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cdcd7 path.(*lazybuf).string+0x6b7 path/path.go:50 # 0x4cdcd8 path.Clean+0x6b8 path/path.go:137 # 0x4ce004 path.Join+0x1e4 path/path.go:172 # 0x25ea7a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xf68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:224 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725a57 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725a56 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0xe36 github.com/mattermost/mattermost/server/v8/channels/web/params.go:193 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 5808] @ 0x48dd05 0x492ae9 0x75b485 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b484 net/http.(*http2clientConnReadLoop).handleResponse+0x2a4 net/http/h2_bundle.go:9688 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [33: 2112] @ 0x48dd2c 0x428505 0x4b084d 0x4b0af7 0x61362c 0x62ba7b 0x62ad10 0x77f64c 0x266234d 0x498001 # 0x4b084c syscall.anyToSockaddr+0x16c syscall/syscall_linux.go:677 # 0x4b0af6 syscall.Getsockname+0x76 syscall/syscall_linux.go:715 # 0x61362b net.(*netFD).accept+0x1cb net/fd_unix.go:166 # 0x62ba7a net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x62ad0f net.(*TCPListener).Accept+0x2f net/tcpsock.go:387 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x266234c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x26c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1179 0: 0 [42: 672] @ 0x48dd05 0x4246eb 0x18476ab 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 176] @ 0x48dd05 0x428505 0x2123856 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2123855 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0xd5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x19ba8d8 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x19ba8d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x1b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:275 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [49: 2352] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc40413 0xc4040a 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc40412 os.Open+0x132 os/file.go:390 # 0xc40409 github.com/mattermost/mattermost/server/public/model.FindManifest+0x129 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 528] @ 0x48dd05 0x428505 0xb5943d 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5943c encoding/gob.(*Decoder).decOpFor+0x4fc encoding/gob/decode.go:898 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4: 320] @ 0x48dd05 0x428505 0x13a5df9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x13a5df8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x58 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:166 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [52: 2496] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5c35c 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c35b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1188 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [17: 5984] @ 0x48dd05 0x492ae9 0x1846885 0x196f9e7 0x196f8fb 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846884 github.com/mattermost/squirrel.SelectBuilder.Columns+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:258 # 0x196f9e6 github.com/mattermost/squirrel.StatementBuilderType.Select+0x366 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x196f8fa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x27a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1420 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [154: 7392] @ 0x48dd05 0x428505 0x225e53c 0x225e4d3 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225e53b github.com/getsentry/sentry-go.NewHub+0x9b github.com/getsentry/sentry-go@v0.46.2/hub.go:69 # 0x225e4d2 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.46.2/hub.go:120 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 6144] @ 0x48dd05 0x493087 0x1902b0b 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902b0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [58: 2784] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x25e9e17 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x25e9e16 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x5d6 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:204 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [154: 78848] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 320] @ 0x48dd05 0x428505 0xb59006 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [93: 29760] @ 0x48dd05 0x428505 0x20e228c 0x20e2246 0x20e2012 0x498001 # 0x20e228b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x6b github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x20e2245 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0x25 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [85: 2040] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x428505 0x18476bc 0x1a25e39 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a25e38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x298 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1147 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [110: 5280] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [63: 4032] @ 0x48dd05 0x428505 0xb62d5e 0xb62d29 0xb6550f 0xb62f5e 0xb66785 0xb66f88 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb62d5d encoding/gob.(*Encoder).newEncoderState+0xbd encoding/gob/encode.go:82 # 0xb62d28 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb66f87 encoding/gob.(*Encoder).sendActualType+0x147 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [23: 5888] @ 0x48dd05 0x493087 0x24ada05 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24ada04 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x144 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3933 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x18476ab 0x190457c 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476aa github.com/mattermost/squirrel.SelectBuilder.Where+0x10a github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190457b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [49: 784] @ 0x48dd05 0x428505 0x1846b3c 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [70: 3360] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x27267de 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x27267dd github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1bbd github.com/mattermost/mattermost/server/v8/channels/web/params.go:280 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [59: 8496] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [63: 3024] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 216] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 48] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [16: 2048] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 96] @ 0x48dd05 0x428505 0x2700f14 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f13 net/textproto.MIMEHeader.Set+0x173 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [188: 27072] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416755 0xb5c40b 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c40a encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1194 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [11: 1232] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [41: 36736] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 464] @ 0x48dd05 0x48d725 0x271725b 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271725a github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xb7a github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [69: 22080] @ 0x48dd05 0x428505 0x2716ad0 0x2716c0c 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2716acf github.com/mattermost/mattermost/server/public/shared/request.NewContext+0x3ef github.com/mattermost/mattermost/server/public/shared/request/context.go:31 # 0x2716c0b github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x52b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:183 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 14688] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 1152] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 208] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [19: 608] @ 0x48dd05 0x492ae9 0x21237f7 0x21237e6 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x21237f6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x76 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:718 # 0x21237e5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x65 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:73 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [53: 2544] @ 0x48dd05 0x428505 0xb596dd 0xb598d7 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb596dc encoding/gob.(*Decoder).decOpFor+0x79c encoding/gob/decode.go:887 # 0xb598d6 encoding/gob.(*Decoder).decOpFor+0x996 encoding/gob/decode.go:866 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 320] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 640] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 544] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [90: 28800] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [5: 120] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 704] @ 0x48dd05 0x428505 0x271688a 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2716889 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1a9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:151 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 288] @ 0x48dd05 0x428505 0x77f76b 0x2663c1b 0x498001 # 0x77f76a net/http.(*Server).Serve+0x42a net/http/server.go:3464 # 0x2663c1a github.com/mattermost/mattermost/server/v8/channels/app.(*Server).startLocalModeServer.func1+0x3a github.com/mattermost/mattermost/server/v8/channels/app/server.go:1218 0: 0 [21: 672] @ 0x48dd2c 0x4752f7 0xc97d65 0xc97d66 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc97d64 github.com/tinylib/msgp/msgp.ReadStringBytes+0xce4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97d65 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xce5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:635 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 3024] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e2990 0x19e289e 0x19e289d 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e298f github.com/lann/builder.Append+0x5af github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e289d github.com/mattermost/squirrel.UpdateBuilder.Set+0x4bd github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e289c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x4bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:146 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19031b6 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19031b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x535 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [90: 37440] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 35136] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [103: 32960] @ 0x48dd05 0x428505 0xc9da99 0xc9dac3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9da98 encoding/json.NewDecoder+0x38 encoding/json/stream.go:34 # 0xc9dac2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x62 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 8096] @ 0x48dd05 0x492ae9 0x21f0abc 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0abb github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x9b github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:20 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [128: 14336] @ 0x48dd2c 0x41d5e6 0xb83c7e 0xb832a9 0x12877cd 0x498001 # 0xb83c7d github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xbd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:178 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [11: 1408] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [58: 40832] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [132: 14784] @ 0x48dd05 0x428505 0x41d554 0x12874e8 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12874e7 net/rpc.(*Client).Call+0x307 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726b25 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726b24 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1f04 github.com/mattermost/mattermost/server/v8/channels/web/params.go:295 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 336] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd1dc 0x27270a7 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd1db strconv.ParseInt+0x5b strconv/number.go:140 # 0x27270a6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2486 github.com/mattermost/mattermost/server/v8/channels/web/params.go:320 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [60: 1440] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 4160] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 1184] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [42: 16128] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [33: 38016] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 21888] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x18450de 0x1844d18 0x184613f 0x18e2475 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x18450dd github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x35d github.com/mattermost/squirrel@v0.5.0/select.go:97 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18e2474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x474 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2457 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1351680] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x28a51f1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28a51f0 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x670 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:598 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [68: 2785280] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x17da065 0x266b88c 0x266b4fc 0x28a4d46 0x28a4d29 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x17da064 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).ReadFile+0x64 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:96 # 0x266b88b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).ReadFile+0x2b github.com/mattermost/mattermost/server/v8/channels/app/server.go:1879 # 0x266b4fb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).GetProfileImage+0xfb github.com/mattermost/mattermost/server/v8/channels/app/server.go:1844 # 0x28a4d45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetProfileImage+0x1c5 github.com/mattermost/mattermost/server/v8/channels/app/user.go:973 # 0x28a4d28 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x1a8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:584 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18ce937 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ce936 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:965 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2432] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 20640] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [29: 464] @ 0x48dd05 0x428505 0x2719085 0x27182da 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719084 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x29a4 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:294 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 9504] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a06011 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a06010 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0xf0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:404 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 1264] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 2112] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 16896] @ 0x48dd05 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [51: 816] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e25 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e24 github.com/jmoiron/sqlx.(*Row).Scan+0x144 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:213 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 7488] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [82: 9184] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x99f4f7 0x99f4e3 0x99f6e5 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x99f4f6 time.After+0x176 time/sleep.go:203 # 0x99f4e2 github.com/hashicorp/yamux.(*Session).Ping+0x162 github.com/hashicorp/yamux@v0.1.2/session.go:349 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [8: 6144] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [23: 736] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5b32a 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5b329 encoding/gob.(*Decoder).compileSingle+0x249 encoding/gob/decode.go:1114 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [66: 33792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 2560] @ 0x48dd0c 0x428505 0x1b8e3a5 0x1b8e51d 0x1b8ce91 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8e3a4 github.com/klauspost/compress/flate.newHuffmanEncoder+0x44 github.com/klauspost/compress@v1.18.6/flate/huffman_code.go:86 # 0x1b8e51c github.com/klauspost/compress/flate.newHuffmanBitWriter+0x1bc github.com/klauspost/compress@v1.18.6/flate/huffman_bit_writer.go:149 # 0x1b8ce90 github.com/klauspost/compress/flate.(*compressor).init+0x30 github.com/klauspost/compress@v1.18.6/flate/deflate.go:788 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 512] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 29952] @ 0x48dd0c 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19043cc 0x1904380 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19043cb github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1ab github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x190437f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x15f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:499 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x428505 0x28665ab 0x286657e 0x2866560 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x28665aa net/textproto.MIMEHeader.Set+0x120a net/textproto/header.go:22 # 0x286657d net/http.Header.Set+0x11dd net/http/header.go:40 # 0x286655f github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x11bf github.com/mattermost/mattermost/server/v8/channels/api4/system.go:207 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [80: 8960] @ 0x48dd05 0x428505 0x41d554 0x99f49f 0x99f4c6 0x99f6e5 0x498001 # 0x99f49e github.com/hashicorp/yamux.(*Session).waitForSend+0x11e github.com/hashicorp/yamux@v0.1.2/session.go:384 # 0x99f4c5 github.com/hashicorp/yamux.(*Session).Ping+0x145 github.com/hashicorp/yamux@v0.1.2/session.go:341 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [67: 3216] @ 0x48dd05 0x428505 0x548cb9 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x548cb8 encoding/json.(*decodeState).object+0x8d8 encoding/json/decode.go:707 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x183f3d2 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x183f3d1 github.com/mattermost/squirrel.Eq.toSQL+0xef1 github.com/mattermost/squirrel@v0.5.0/expr.go:211 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [90: 4320] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726938 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726937 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1d17 github.com/mattermost/mattermost/server/v8/channels/web/params.go:286 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [531: 169920] @ 0x48dd05 0x428505 0x2716876 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716875 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x195 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:152 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 1728] @ 0x48dd05 0x428505 0x2718eb6 0x27182da 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2718eb5 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27d5 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 1792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18453d3 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18453d2 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x652 github.com/mattermost/squirrel@v0.5.0/select.go:133 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [45: 720] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 384] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [22: 16896] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a284f4 0x18906dd 0x21b9a5d 0x26a7034 0x26a7018 0x2480daa 0x2480cb1 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a284f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetByUsername+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1367 # 0x18906dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16554 # 0x21b9a5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetByUsername+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13056 # 0x26a7033 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUserByUsername+0x33 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:102 # 0x26a7017 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserByUsername+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:550 # 0x2480da9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getOrCreateBot+0x49 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:202 # 0x2480cb0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x130 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:198 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [42: 3360] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x7799f4 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x7799f3 net/http.(*conn).serve+0x1f3 net/http/server.go:1976 0: 0 [49: 12544] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 104448] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 9600] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 29376] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 1056] @ 0x48dd05 0x428505 0xb56690 0xb56651 0xb59c08 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5668f encoding/gob.(*Decoder).newDecoderState+0x8f encoding/gob/decode.go:94 # 0xb56650 encoding/gob.(*Decoder).decodeStruct+0x50 encoding/gob/decode.go:470 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [12: 768] @ 0x48dd05 0x492ae9 0x25c45b4 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x25c45b3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x53 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:388 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 176] @ 0x48dd05 0x428505 0x19e084d 0x19dbace 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19dbacd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [186: 2976] @ 0x48dd25 0x48de45 0x515458 0x5274d0 0x5274e5 0x521209 0x51dac6 0xb587fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x521208 reflect.Value.assignTo+0x108 reflect/value.go:3202 # 0x51dac5 reflect.Value.Set+0xe5 reflect/value.go:2158 # 0xb587fc encoding/gob.(*Decoder).decodeInterface+0x4dc encoding/gob/decode.go:726 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [67: 8576] @ 0x48dd2c 0x4752f7 0x5305e6 0x76a336 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x76a335 net/http.(*Request).AddCookie+0xf5 net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x48d725 0x54c92d 0x54c43b 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c92c encoding/json.(*decodeState).literalInterface+0xcc encoding/json/decode.go:1148 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x40d656 0x71fae5 0x71fae6 0x71f468 0x7578aa 0x757425 0x7569ac 0x7561f8 0x498001 # 0x40d655 internal/strconv.FormatInt+0xd5 internal/strconv/itoa.go:43 # 0x71fae4 strconv.FormatInt+0x2e4 strconv/number.go:210 # 0x71fae5 net/http/internal/httpcommon.EncodeHeaders.func1+0x2e5 net/http/internal/httpcommon/httpcommon.go:368 # 0x71f467 net/http/internal/httpcommon.EncodeHeaders+0x667 net/http/internal/httpcommon/httpcommon.go:384 # 0x7578a9 net/http.http2encodeRequestHeaders+0x1e9 net/http/h2_bundle.go:8916 # 0x757424 net/http.(*http2clientStream).encodeAndWriteHeaders+0x284 net/http/h2_bundle.go:8899 # 0x7569ab net/http.(*http2clientStream).writeRequest+0x76b net/http/h2_bundle.go:8801 # 0x7561f7 net/http.(*http2clientStream).doRequest+0x17 net/http/h2_bundle.go:8718 0: 0 [35: 840] @ 0x48dd05 0x41d56d 0x4bee48 0xb832d1 0xb83285 0x12877cd 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0xb832d0 time.After+0x70 time/sleep.go:203 # 0xb83284 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:61 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [47: 4512] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [42: 4704] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 52992] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [156: 44928] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 117504] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196fb97 0x196faea 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fb96 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x516 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fae9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 1264] @ 0x48dd25 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x199a811 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x199a810 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:148 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [92: 7360] @ 0x48dd05 0x428505 0x1287e51 0x1287e45 0x498001 # 0x1287e50 net/rpc.NewServer+0x310 net/rpc/server.go:199 # 0x1287e44 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x304 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:470 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [89: 1424] @ 0x48dd05 0x493087 0x18c7685 0x18c7f54 0x18ec539 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7684 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x8e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:286 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ec538 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 12800] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 3536] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x2120c34 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2120c33 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 4640] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xc9f88b 0xc9f82b 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc9f88a github.com/tinylib/msgp/msgp.ReadStringBytes+0x18a github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9f82a github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x12a github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:76 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x493087 0x183f290 0x183f555 0x18442bd 0x18407be 0x1853b59 0x18442bd 0x18407be 0x1853bbc 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853bbb github.com/mattermost/squirrel.Or.ToSql+0x3b github.com/mattermost/squirrel@v0.5.0/expr.go:416 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [150: 211200] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18eba79 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18eba78 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0xb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [77: 3696] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725c47 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725c46 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1026 github.com/mattermost/mattermost/server/v8/channels/web/params.go:198 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 3584] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [17: 2176] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [139: 11120] @ 0x48dd2c 0x4752f7 0x5305e6 0x76a336 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x76a335 net/http.(*Request).AddCookie+0xf5 net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 1600] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 2688] @ 0x48dd05 0x493087 0x2719afe 0x27194c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719afd github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x4bd github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:166 # 0x27194c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2de4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:369 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 1248] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [483: 46368] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 384] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [115: 5520] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5b32a 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5b329 encoding/gob.(*Decoder).compileSingle+0x249 encoding/gob/decode.go:1114 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [8: 384] @ 0x48dd05 0x428505 0x125d4b5 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 1248] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 3072] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296b118 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296b117 crypto/internal/fips140/bigmod.rr+0x2b7 crypto/internal/fips140/bigmod/nat.go:518 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [20: 10240] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296c79a 0x296b0c5 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296c799 crypto/internal/fips140/bigmod.(*Nat).Add+0x59 crypto/internal/fips140/bigmod/nat.go:742 # 0x296b0c4 crypto/internal/fips140/bigmod.rr+0x264 crypto/internal/fips140/bigmod/nat.go:512 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [31: 845184] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x88c3d0 0x88c4b1 0x88bc7c 0x8aa545 0x8aa524 0x1397ad0 0x1397932 0x258fafe 0x258d4db 0x257f730 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x88c3cf text/template.(*state).walk+0x22f text/template/exec.go:287 # 0x88c4b0 text/template.(*state).walk+0x310 text/template/exec.go:280 # 0x88bc7b text/template.(*Template).execute+0x29b text/template/exec.go:224 # 0x8aa544 text/template.(*Template).Execute+0x64 text/template/exec.go:207 # 0x8aa523 html/template.(*Template).ExecuteTemplate+0x43 html/template/template.go:139 # 0x1397acf github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).Render+0xcf github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:69 # 0x1397931 github.com/mattermost/mattermost/server/v8/platform/shared/templates.(*Container).RenderToString+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:56 # 0x258fafd github.com/mattermost/mattermost/server/v8/channels/app.(*App).getNotificationEmailBodyFromEmailNotification+0xb1d github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:395 # 0x258d4da github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0xb1a github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:237 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [17: 8704] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x664e92 0x664731 0x65eeee 0x65ee41 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x664e91 crypto/x509.checkSignature+0x591 crypto/x509/x509.go:1022 # 0x664730 crypto/x509.(*Certificate).CheckSignatureFrom+0xd0 crypto/x509/x509.go:947 # 0x65eeed crypto/x509.(*Certificate).buildChains.func1+0x34d crypto/x509/verify.go:745 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 896] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19dd1cb 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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 [170: 24480] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1394651 0x25ea73c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1394650 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x25ea73b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xefb github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:219 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1904] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x19ea85b 0x19ea817 0x19ea816 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19ea85a github.com/mattermost/squirrel.InsertBuilder.Into+0xfa github.com/mattermost/squirrel@v0.5.0/insert.go:246 # 0x19ea816 github.com/mattermost/squirrel.StatementBuilderType.Insert+0xb6 github.com/mattermost/squirrel@v0.5.0/statement.go:15 # 0x19ea815 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:41 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 2432] @ 0x48dd05 0x428505 0x779a54 0x498001 # 0x779a53 net/http.(*conn).serve+0x253 net/http/server.go:1980 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18d2514 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d2513 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xab3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1260 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd2c 0x4752f7 0x5305e6 0x272cb6e 0x272bcba 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x272cb6d github.com/mattermost/mattermost/server/v8/channels/web.getOpenGraphMetaTags+0x10d github.com/mattermost/mattermost/server/v8/channels/web/static.go:213 # 0x272bcb9 github.com/mattermost/mattermost/server/v8/channels/web.root+0x939 github.com/mattermost/mattermost/server/v8/channels/web/static.go:117 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 384] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbed209 0xbed1fd 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f2d85 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbed208 github.com/vmihailenco/msgpack/v5.GetEncoder+0x28 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:51 # 0xbed1fc github.com/vmihailenco/msgpack/v5.Marshal+0x1c github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:61 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f2d84 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x204 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:331 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd25 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 384] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [66: 1584] @ 0x48dd05 0x428505 0x1285458 0x12e21a9 0x51716c 0x516019 0xb75014 0x498001 # 0x1285457 github.com/mattermost/mattermost/server/public/plugin.encodableError+0x77 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:163 # 0x12e21a8 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x68 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:376 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 96] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x281d74c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d74b github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1cb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 768] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x53001e 0x5305b0 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x53001d fmt.newPrinter+0x1d fmt/print.go:152 # 0x5305af fmt.Sprintf+0x2f fmt/print.go:238 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [23: 4416] @ 0x48dd05 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [74: 94720] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 32256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [15: 3120] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [121: 11616] @ 0x48dd05 0x428505 0xb5cc8a 0xb5cc53 0xb5cd6f 0xb757d0 0x12880d3 0x498001 # 0xb5cc89 bufio.NewReaderSize+0xa9 bufio/bufio.go:56 # 0xb5cc52 bufio.NewReader+0x72 bufio/bufio.go:63 # 0xb5cd6e encoding/gob.NewDecoder+0x18e encoding/gob/decoder.go:49 # 0xb757cf net/rpc.(*Server).ServeConn+0x12f net/rpc/server.go:451 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [27: 7776] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19e254e 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e254d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x16d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:141 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [4: 64] @ 0x48dd05 0x493087 0x183f06a 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f069 github.com/mattermost/squirrel.Eq.toSQL+0xb89 github.com/mattermost/squirrel@v0.5.0/expr.go:218 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [77: 4928] @ 0x48dd05 0x428505 0xb736b9 0x1287ee5 0x1287e5a 0x498001 # 0xb736b8 net/rpc.(*Server).register+0x58 net/rpc/server.go:241 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [60: 11520] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [86: 4128] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725dcc 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725dcb github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x11ab github.com/mattermost/mattermost/server/v8/channels/web/params.go:203 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x6fc245 0x1224236 0x1222f85 0x12227c5 0x122713d 0x1227073 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x6fc244 mime/quotedprintable.NewWriter+0x24 mime/quotedprintable/writer.go:25 # 0x1224235 gopkg.in/mail%2ev2.(*messageWriter).writeBody+0x1d5 gopkg.in/mail.v2@v2.3.1/writeto.go:276 # 0x1222f84 gopkg.in/mail%2ev2.(*messageWriter).writePart+0x244 gopkg.in/mail.v2@v2.3.1/writeto.go:115 # 0x12227c4 gopkg.in/mail%2ev2.(*messageWriter).writeMessage+0x204 gopkg.in/mail.v2@v2.3.1/writeto.go:42 # 0x122713c gopkg.in/mail%2ev2.(*Message).WriteTo+0x141c gopkg.in/mail.v2@v2.3.1/writeto.go:17 # 0x1227072 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x1352 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:368 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [3: 4608] @ 0x48dd0c 0x428505 0x658785 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x6a2b18 0x6a2b02 0x6a2b21 0x57cf32 0x6f28da 0x6f2799 0x113ab75 0x113adc5 0x113b15b 0x12250f4 0x1225a73 0x1225a46 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x658784 crypto/x509.parseCertificate+0x44 crypto/x509/parser.go:887 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x6a2b17 crypto/tls.(*Conn).HandshakeContext+0xd7 crypto/tls/conn.go:1516 # 0x6a2b01 crypto/tls.(*Conn).Handshake+0xc1 crypto/tls/conn.go:1500 # 0x6a2b20 crypto/tls.(*Conn).Write+0xe0 crypto/tls/conn.go:1215 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x6f28d9 net/textproto.(*Writer).PrintfLine+0xb9 net/textproto/writer.go:33 # 0x6f2798 net/textproto.(*Conn).Cmd+0x98 net/textproto/textproto.go:118 # 0x113ab74 net/smtp.(*Client).cmd+0x74 net/smtp/smtp.go:111 # 0x113adc4 net/smtp.(*Client).ehlo+0x84 net/smtp/smtp.go:132 # 0x113b15a net/smtp.(*Client).StartTLS+0x19a net/smtp/smtp.go:165 # 0x12250f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced+0x2f3 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:195 # 0x1225a72 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClient+0x112 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:207 # 0x1225a45 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0xe5 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:281 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 576] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19dbd10 0x18cead4 0x1859487 0x217a56d 0x2114646 0x26d0066 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x26d0065 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0xb05 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:856 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 448] @ 0x48dd05 0x428505 0x271758c 0x271755f 0x271754a 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271758b net/textproto.MIMEHeader.Set+0xeab net/textproto/header.go:22 # 0x271755e net/http.Header.Set+0xe7e net/http/header.go:40 # 0x2717549 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xe69 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:233 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 10560] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184c99b 0x184c893 0x19e2729 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184c99a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184c892 github.com/mattermost/squirrel.UpdateBuilder.Where+0x12 github.com/mattermost/squirrel@v0.5.0/update.go:270 # 0x19e2728 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:138 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [33: 16896] @ 0x48dd05 0x493087 0x196f7cf 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196f7ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1409 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 19712] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x79a799 0x79a846 0x728bab 0x727a73 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x79a798 net/http.Header.Clone+0x1b8 net/http/header.go:114 # 0x79a845 net/http.cloneOrMakeHeader+0x265 net/http/clone.go:116 # 0x728baa net/http.(*Client).makeHeadersCopier+0x2a net/http/client.go:764 # 0x727a72 net/http.(*Client).do+0x232 net/http/client.go:614 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [77: 2464] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [50: 2400] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5c35c 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c35b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1188 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [133: 2128] @ 0x48dd05 0x428505 0x80faed 0x80dd39 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80dd38 database/sql.(*Rows).awaitDone+0x1f8 database/sql/sql.go:3020 0: 0 [57: 4560] @ 0x48dd05 0x428505 0xb73346 0xb84ce5 0xb84c93 0x12f33ac 0x12f325c 0x12e8174 0x12e99de 0x12e9894 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0xb84ce4 net/rpc.(*Client).Call+0x64 net/rpc/client.go:321 # 0xb84c92 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:172 # 0x12f33ab github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xab github.com/mattermost/mattermost/server/public/plugin/supervisor.go:234 # 0x12f325b github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x1b github.com/mattermost/mattermost/server/public/plugin/supervisor.go:210 # 0x12e8173 github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xb3 github.com/mattermost/mattermost/server/public/plugin/environment.go:677 # 0x12e99dd github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x12e9893 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x153 github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [47: 66176] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [52: 6656] @ 0x48dd05 0x493087 0x21f0d5e 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0d5d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x33d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 8928] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199ab1b 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199ab1a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:161 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 216] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 29184] @ 0x48dd0c 0x428505 0x658785 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x658784 crypto/x509.parseCertificate+0x44 crypto/x509/parser.go:887 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [54: 1728] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0xb74806 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0xb74805 net/rpc.suitableMethods+0x965 net/rpc/server.go:339 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [36: 2304] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 744] @ 0x48dd05 0x41d56d 0x4bee48 0xb832d1 0xb83285 0x1287b9d 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0xb832d0 time.After+0x70 time/sleep.go:203 # 0xb83284 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:61 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [42: 10080] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 11200] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 240] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a06913 0x1a068cb 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06912 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a068ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:455 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [16: 384] @ 0x48dd05 0x428505 0x9a14a5 0x9a0a96 0x9a0958 0x498001 # 0x9a14a4 github.com/hashicorp/yamux.(*Session).handlePing+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:637 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [106: 67840] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x2246aac 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x2246aab github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x4b github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:135 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [33: 12672] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [36: 13824] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [59: 944] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [194: 15520] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [54: 27648] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [55: 13200] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [49: 7056] @ 0x48dd05 0x428505 0x77f709 0x77f6fd 0x266234d 0x498001 # 0x77f708 net/http.(*Server).newConn+0x3c8 net/http/server.go:635 # 0x77f6fc net/http.(*Server).Serve+0x3bc net/http/server.go:3462 # 0x266234c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x26c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1179 0: 0 [11: 1408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 528] @ 0x48dd05 0x48de45 0x52107d 0xb57745 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb57744 encoding/gob.(*Decoder).decodeMap+0x2c4 encoding/gob/decode.go:603 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [103: 4944] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726c27 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726c26 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2006 github.com/mattermost/mattermost/server/v8/channels/web/params.go:298 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [144: 4608] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [153: 24480] @ 0x48dd05 0x428505 0x21ebf97 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21ebf96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:130 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 9504] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1902d59 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902d58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 15392] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x18d1dc5 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x18d1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x364 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1226 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [210: 430080] @ 0x48dd2c 0x4930f3 0x54d4e5 0x281753a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2817539 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x239 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:273 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a06e13 0x1a06dcb 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06e12 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a06dca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:443 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 320] @ 0x48dd05 0x492ae9 0x875bec 0x875b88 0xccbc56 0x264b649 0x266cce5 0xc7b03a 0x498001 # 0x875beb github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x875b87 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0xccbc55 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x35 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x264b648 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ProcessScheduledPosts+0x168 github.com/mattermost/mattermost/server/v8/channels/app/scheduled_post_job.go:26 # 0x266cce4 github.com/mattermost/mattermost/server/v8/channels/app.doRunScheduledPostJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1977 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [7: 336] @ 0x48dd05 0x4246eb 0x13981b4 0x270f109 0x270edf5 0x2836d0c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13981b3 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x253 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:41 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x2836d0b github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xf8b github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:256 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 5619712] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x28a51f1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x28a51f0 github.com/mattermost/mattermost/server/v8/channels/api4.getProfileImage+0x670 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:598 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 576] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x19db33e 0x1a46155 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x19db33d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxRows).Next+0x1d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:76 # 0x1a46154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x134 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:210 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1a22cd4 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a22cd3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x233 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:930 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f4c5 0x281e805 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f4c4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x344 github.com/mattermost/mattermost/server/v8/channels/web/context.go:79 # 0x281e804 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1284 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 7344] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 3168] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 4032] @ 0x48dd05 0x428505 0xb75739 0xb75710 0xb756b3 0x12880d3 0x498001 # 0xb75738 bufio.NewWriterSize+0x98 bufio/bufio.go:598 # 0xb7570f bufio.NewWriter+0x6f bufio/bufio.go:608 # 0xb756b2 net/rpc.(*Server).ServeConn+0x12 net/rpc/server.go:448 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [143: 16016] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0xb832d1 0xb83285 0x12877cd 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0xb832d0 time.After+0x70 time/sleep.go:203 # 0xb83284 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:61 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [221: 3536] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [74: 8288] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x99f68b 0x99f67a 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x99f68a time.After+0x2a time/sleep.go:203 # 0x99f679 github.com/hashicorp/yamux.(*Session).keepalive+0x19 github.com/hashicorp/yamux@v0.1.2/session.go:367 0: 0 [32: 512] @ 0x48dd05 0x493087 0x2645118 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x2645117 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x97 github.com/mattermost/mattermost/server/v8/channels/app/role.go:117 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [104: 1664] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [104: 4992] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xb5759d 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xb5759c encoding/gob.(*Decoder).decodeMap+0x11c encoding/gob/decode.go:597 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x196fb97 0x196faea 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x196fb96 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x516 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fae9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1423 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [90: 25920] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xbe6eea 0xbe6d4a 0xbe6d7b 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe6ee9 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0x109 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:175 # 0xbe6d49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xbe6d7a github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x9a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [1: 32] @ 0x48dd05 0x493087 0x4a297d 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f2bf3 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a297c sync.(*Pool).pinSlow+0xfc sync/pool.go:237 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f2bf2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x72 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:310 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [53: 33920] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [56: 1792] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [127: 178816] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19031b6 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19031b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x535 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd05 0x493087 0x18c8c38 0x18e2956 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c8c37 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.allChannelMember.Process+0x337 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:479 # 0x18e2955 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2476 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [140: 197120] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [72: 2304] @ 0x48dd05 0x428505 0xb83b05 0x498001 # 0xb83b04 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0xc4 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:163 0: 0 [60: 8640] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [4: 256] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x18442bd 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [75: 4800] @ 0x48dd05 0x428505 0xb62d5e 0xb62d29 0xb66785 0xb66f88 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb62d5d encoding/gob.(*Encoder).newEncoderState+0xbd encoding/gob/encode.go:82 # 0xb62d28 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb66f87 encoding/gob.(*Encoder).sendActualType+0x147 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [210: 3360] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [64: 2048] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [2: 48] @ 0x48dd05 0x48d7c5 0x1902d31 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902d30 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:407 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 64] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 512] @ 0x48dd05 0x428505 0x271763b 0x271760e 0x27175f8 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271763a net/textproto.MIMEHeader.Set+0xf5a net/textproto/header.go:22 # 0x271760d net/http.Header.Set+0xf2d net/http/header.go:40 # 0x27175f7 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xf17 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:234 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 2560] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0xb84ce5 0xb84c93 0x12f33ac 0x12f325c 0x12e8174 0x12e99de 0x12e9894 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0xb84ce4 net/rpc.(*Client).Call+0x64 net/rpc/client.go:321 # 0xb84c92 github.com/hashicorp/go-plugin.(*RPCClient).Ping+0x12 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:172 # 0x12f33ab github.com/mattermost/mattermost/server/public/plugin.(*supervisor).Ping+0xab github.com/mattermost/mattermost/server/public/plugin/supervisor.go:234 # 0x12f325b github.com/mattermost/mattermost/server/public/plugin.(*supervisor).PerformHealthCheck+0x1b github.com/mattermost/mattermost/server/public/plugin/supervisor.go:210 # 0x12e8173 github.com/mattermost/mattermost/server/public/plugin.(*Environment).PerformHealthCheck+0xb3 github.com/mattermost/mattermost/server/public/plugin/environment.go:677 # 0x12e99dd github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).CheckPlugin+0x3d github.com/mattermost/mattermost/server/public/plugin/health_check.go:54 # 0x12e9893 github.com/mattermost/mattermost/server/public/plugin.(*PluginHealthCheckJob).run+0x153 github.com/mattermost/mattermost/server/public/plugin/health_check.go:42 0: 0 [186: 2976] @ 0x48dd25 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [37: 1184] @ 0x48dd2c 0x470c9f 0x4af985 0x4b2bf6 0x4b2bfe 0x4e7b2b 0x4e7b14 0x4e8a14 0x4e89d7 0x4e89a6 0x4e64de 0xc40413 0xc4040a 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b2bf5 syscall.BytePtrFromString+0x35 syscall/syscall.go:68 # 0x4b2bfd syscall.openat+0x3d syscall/zsyscall_linux_amd64.go:94 # 0x4e7b2a syscall.Open+0x2a syscall/syscall_linux.go:280 # 0x4e7b13 os.open+0x13 os/file_open_unix.go:15 # 0x4e8a13 os.openFileNolog.func1+0x93 os/file_unix.go:261 # 0x4e89d6 os.ignoringEINTR+0x56 os/file_posix.go:256 # 0x4e89a5 os.openFileNolog+0x25 os/file_unix.go:260 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc40412 os.Open+0x132 os/file.go:390 # 0xc40409 github.com/mattermost/mattermost/server/public/model.FindManifest+0x129 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 360] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 288] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18c7ffb 0x18ec539 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18c7ffa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x31a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:403 # 0x18ec538 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [90: 1440] @ 0x48dd05 0x48d725 0x183ee71 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee70 github.com/mattermost/squirrel.Eq.toSQL+0x990 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [212: 244224] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 120] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [78: 624] @ 0x48dd05 0x428505 0xb59006 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [5: 1200] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [7: 57344] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19c99f7 0x19c9979 0x1882bae 0x21a9c7a 0x21eb0b3 0x21ec054 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19c99f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x2d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19c9978 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 # 0x1882bad github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12681 # 0x21a9c79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10053 # 0x21eb0b2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessionContext+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:33 # 0x21ec053 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0xf3 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:145 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 294912] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x121c54a 0x1226027 0x1225b72 0x12258c7 0x1cf6aa5 0x258db7c 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x121c549 code.sajari.com/docconv/v2.ConvertHTML+0x49 code.sajari.com/docconv/v2@v2.0.0-pre.4/html.go:20 # 0x1226026 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMail+0x306 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:297 # 0x1225b71 github.com/mattermost/mattermost/server/v8/platform/shared/mail.sendMailUsingConfigAdvanced+0x211 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:288 # 0x12258c6 github.com/mattermost/mattermost/server/v8/platform/shared/mail.SendMailWithEmbeddedFilesUsingConfig+0x246 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:256 # 0x1cf6aa4 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).SendMailWithEmbeddedFiles+0x184 github.com/mattermost/mattermost/server/v8/channels/app/email/email.go:947 # 0x258db7b github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail.func2+0x19b github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:258 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [1: 32] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18e2126 0x18e20f7 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18e2125 github.com/mattermost/squirrel.StatementBuilderType.Select+0x125 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18e20f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0xf6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2438 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [4: 3584] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x19dd31e 0x1a22d3d 0x188fec8 0x21b9112 0x2127c64 0x2581463 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x19dd31d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x1bd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:304 # 0x1a22d3c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfilesInChannel+0x29c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:936 # 0x188fec7 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfilesInChannel+0x87 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16407 # 0x21b9111 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfilesInChannel+0x91 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12944 # 0x2127c63 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 # 0x2581462 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: 19456] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25efd07 0x26cb9e5 0x26d05f6 0x27308c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25efd06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePost+0x726 github.com/mattermost/mattermost/server/v8/channels/app/post.go:260 # 0x26cb9e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreateWebhookPost+0x5c4 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:382 # 0x26d05f5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HandleIncomingWebhook+0x1095 github.com/mattermost/mattermost/server/v8/channels/app/webhook.go:939 # 0x27308c4 github.com/mattermost/mattermost/server/v8/channels/web.incomingWebhook+0x8c4 github.com/mattermost/mattermost/server/v8/channels/web/webhook.go:96 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [77: 27104] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [134: 6432] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19f555a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f5559 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [164: 188928] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [73: 1752] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [71: 3408] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb73145 0xb7231f 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb73144 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xb7231e net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [56: 32256] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 2800] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1947949 0x19478d5 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1947948 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19478d4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [115: 12880] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0xb832d1 0xb83285 0x1287b9d 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0xb832d0 time.After+0x70 time/sleep.go:203 # 0xb83284 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:61 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [243: 19440] @ 0x48dd05 0x428505 0x621fb4 0x773a33 0x498001 # 0x621fb3 net.(*conn).Read+0xb3 net/net.go:198 # 0x773a32 net/http.(*connReader).backgroundRead+0x32 net/http/server.go:702 0: 0 [1: 512] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 320] @ 0x48dd05 0x428505 0x412f72 0x414ff7 0x414d65 0x417d91 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [143: 6864] @ 0x48dd05 0x428505 0x4121bf 0x48e488 0x2267945 0x22678f7 0x225e4d2 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0x2267944 maps.Clone[...]+0x264 maps/maps.go:55 # 0x22678f6 github.com/getsentry/sentry-go.(*Scope).Clone+0x216 github.com/getsentry/sentry-go@v0.46.2/scope.go:342 # 0x225e4d1 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.46.2/hub.go:118 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 1248] @ 0x48dd05 0x48de45 0x52107d 0xb57775 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb57774 encoding/gob.(*Decoder).decodeMap+0x2f4 encoding/gob/decode.go:604 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [57: 25536] @ 0x48dd05 0x428505 0x13983e5 0x270f109 0x270edf5 0x281ea9b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13983e4 github.com/mattermost/mattermost/server/v8/channels/audit.(*Audit).LogRecord+0x484 github.com/mattermost/mattermost/server/v8/channels/audit/audit.go:37 # 0x270f108 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRecWithLevel+0x2e8 github.com/mattermost/mattermost/server/v8/channels/web/context.go:57 # 0x270edf4 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).LogAuditRec+0xd4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:39 # 0x281ea9a github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x151a github.com/mattermost/mattermost/server/v8/channels/api4/post.go:356 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 864] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 1728] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [222: 71040] @ 0x48dd05 0x428505 0x266d61c 0x266d603 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x266d61b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x5b github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x266d602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x42 github.com/mattermost/mattermost/server/v8/channels/app/session.go:87 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [110: 140800] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 480] @ 0x48dd2c 0x4752f7 0xb53293 0xb56ec9 0xb58225 0xb59c93 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb53292 encoding/gob.decStringSlice+0x312 encoding/gob/dec_helpers.go:378 # 0xb56ec8 encoding/gob.(*Decoder).decodeArrayHelper+0x88 encoding/gob/decode.go:540 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [24: 7680] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 1344] @ 0x48dd2c 0x4752f7 0xc84029 0xc8402a 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84028 github.com/tinylib/msgp/msgp.ReadStringBytes+0x228 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84029 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x229 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:493 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [147: 3528] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 336] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x54c63c 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c63b encoding/json.(*decodeState).objectInterface+0x1b encoding/json/decode.go:1079 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [87: 36192] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [19: 608] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 2912] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 2752] @ 0x48dd05 0x428505 0xb62a71 0xb62a13 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62a70 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xb62a12 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [22: 6336] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d23f9 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d23f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x998 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1259 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x55a8fa 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x55a8f9 encoding/json.(*Encoder).Encode+0x239 encoding/json/stream.go:236 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd2c 0x492ae9 0x125b57c 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125b57b github.com/lib/pq.(*conn).readStatementDescribeResponse+0xdb github.com/lib/pq@v1.12.3/conn.go:1644 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 1072] @ 0x48dd25 0x4752f7 0xc84930 0xc848f0 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8492f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb2f github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc848ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xaef github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [127: 24384] @ 0x48dd05 0x428505 0x18e2745 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2744 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2469 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 26208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 528] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf1858 0xbf176a 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x211dda2 0x2123e14 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf1857 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringSlice+0x97 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:114 # 0xbf1769 github.com/vmihailenco/msgpack/v5.encodeStringSliceValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:103 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2123e13 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x693 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:101 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3925 0x13a58f9 0x19dbabb 0x19dba73 0x1947ff2 0x186f08e 0x2192f9a 0x20e19af 0x20e3bec 0x20e3045 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3924 github.com/jmoiron/sqlx.(*Row).scanAny+0x2a4 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:775 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1947ff1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.GetCountByStatusAndType+0x351 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:383 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e3beb github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x4b github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:159 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [75: 13200] @ 0x48dd05 0x428505 0xc3f3cb 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f3ca github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x2a github.com/mattermost/mattermost/server/public/model/manifest.go:255 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 160] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [64: 6144] @ 0x48dd05 0x428505 0xc84cf8 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84cf7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xef7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x41d56d 0x4bee48 0x20e29f0 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x20e29ef github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x28f github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:71 0: 0 [209: 5016] @ 0x48dd05 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [26: 832] @ 0x48dd05 0x428505 0xb56690 0xb56651 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5668f encoding/gob.(*Decoder).newDecoderState+0x8f encoding/gob/decode.go:94 # 0xb56650 encoding/gob.(*Decoder).decodeStruct+0x50 encoding/gob/decode.go:470 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [110: 12320] @ 0x48dd05 0x428505 0x41d554 0xb83c6b 0xb832a9 0x1287b9d 0x498001 # 0xb83c6a github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xaa github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:177 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [173: 841472] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 504] @ 0x48dd2c 0x4752f7 0xc978f7 0xc978f8 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc978f6 github.com/tinylib/msgp/msgp.ReadStringBytes+0x876 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc978f7 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x877 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:585 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [135: 12960] @ 0x48dd05 0x428505 0x4e87c5 0x4e8afd 0x4e64de 0xc406cb 0xc406c2 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e87c4 os.newFile+0x64 os/file_unix.go:145 # 0x4e8afc os.openFileNolog+0x17c os/file_unix.go:279 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc406ca os.Open+0x3ea os/file.go:390 # 0xc406c1 github.com/mattermost/mattermost/server/public/model.FindManifest+0x3e1 github.com/mattermost/mattermost/server/public/model/manifest.go:482 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [59: 1888] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 5888] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 2304] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x2702bda 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x2702bd9 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x239 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:620 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [115: 5520] @ 0x48dd05 0x428505 0x1844706 0x184de6f 0x1844d4d 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1844705 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x45 github.com/mattermost/squirrel@v0.5.0/placeholder.go:89 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [171: 10944] @ 0x48dd05 0x428505 0x227e476 0x2663638 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227e475 github.com/getsentry/sentry-go/internal/httputils.NewWrapResponseWriter+0x135 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:49 # 0x2663637 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x277 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:111 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 864] @ 0x48dd05 0x48d725 0x26635f7 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26635f6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x236 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:109 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 272] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [259: 4144] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0x1a1e677 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x1a1e676 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:596 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x18d1f05 0x18d1e9b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x18d1f04 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x4a4 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x18d1e9a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x43a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1230 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [242: 1177088] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x428505 0x183a00b 0x183a145 0x1839685 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183a00a github.com/lann/builder.getBuilderStructType+0x8a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:45 # 0x183a144 github.com/lann/builder.newBuilderStruct+0x24 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:53 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 3328] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [5: 240] @ 0x48dd05 0x4246eb 0x184cdd1 0x184ce90 0x19e2c19 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184cdd0 github.com/mattermost/squirrel.Expr+0x70 github.com/mattermost/squirrel@v0.5.0/expr.go:28 # 0x184ce8f github.com/mattermost/squirrel.UpdateBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/update.go:290 # 0x19e2c18 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x838 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:149 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [14: 1344] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [118: 1888] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19459f0 0x1945981 0x186f8fd 0x2193963 0x20df668 0x20db0de 0x20dad8e 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19459ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x7af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1945980 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateStatusOptimistically+0x740 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:212 # 0x186f8fc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateStatusOptimistically+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7353 # 0x2193962 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateStatusOptimistically+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5928 # 0x20df667 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).ClaimJob+0x67 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:99 # 0x20db0dd github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0xdd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:76 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [163: 15648] @ 0x48dd2c 0x4752f7 0x5305e6 0x27172f0 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x27172ef github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xc0f github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [129: 2064] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [37: 15392] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 504] @ 0x48dd05 0x428505 0xb5c3f1 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c3f0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1193 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [72: 4608] @ 0x48dd05 0x428505 0xb679de 0xb67a08 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb679dd encoding/gob.(*Encoder).newEncoderState+0x2bd encoding/gob/encode.go:82 # 0xb67a07 encoding/gob.(*Encoder).EncodeValue+0x2e7 encoding/gob/encoder.go:242 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [21: 2688] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [56: 13440] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [218: 7143424] @ 0x48dd33 0x428505 0x724dba 0x4a2651 0x786ba7 0x786b9b 0x786697 0x76b406 0x796a34 0x498001 # 0x724db9 net/http.init.func16+0x19 net/http/server.go:834 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x786ba6 net/http.getCopyBuf+0x66 net/http/server.go:837 # 0x786b9a net/http.(*transferWriter).doBodyCopy+0x5a net/http/transfer.go:414 # 0x786696 net/http.(*transferWriter).writeBody+0x356 net/http/transfer.go:372 # 0x76b405 net/http.(*Request).write+0xa85 net/http/request.go:762 # 0x796a33 net/http.(*persistConn).writeLoop+0x173 net/http/transport.go:2655 0: 0 [4: 6144] @ 0x48dd2c 0x4752f7 0x69532b 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x69532a crypto/tls.(*weakCertCache).newCert+0x10a crypto/tls/cache.go:32 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 12288] @ 0x48dd2c 0x492ae9 0x6f2517 0x6f24d8 0x6f246d 0x113a78a 0x1225405 0x498001 # 0x6f2516 bufio.NewWriterSize+0x1f6 bufio/bufio.go:599 # 0x6f24d7 bufio.NewWriter+0x1b7 bufio/bufio.go:608 # 0x6f246c net/textproto.NewConn+0x14c net/textproto/textproto.go:71 # 0x113a789 net/smtp.NewClient+0x49 net/smtp/smtp.go:65 # 0x1225404 github.com/mattermost/mattermost/server/v8/platform/shared/mail.NewSMTPClientAdvanced.func1+0x84 github.com/mattermost/mattermost/server/v8/platform/shared/mail/mail.go:165 0: 0 [21: 672] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [57: 18240] @ 0x48dd05 0x428505 0x1cc80ff 0x1cc81b2 0x1cc52ba 0x79b3ee 0x779e50 0x498001 # 0x1cc80fe net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0x1cc81b1 github.com/gorilla/mux.requestWithVars+0x131 github.com/gorilla/mux@v1.8.1/mux.go:450 # 0x1cc52b9 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 2576] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x224c42a 0x224c0d3 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x224c429 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x209 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:532 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [27: 10368] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [395: 1617920] @ 0x48dd2c 0x492ae9 0x7746ab 0x774687 0x779afa 0x498001 # 0x7746aa bufio.NewWriterSize+0x1aa bufio/bufio.go:599 # 0x774686 net/http.newBufioWriterSize+0x186 net/http/server.go:882 # 0x779af9 net/http.(*conn).serve+0x2f9 net/http/server.go:1982 0: 0 [3: 336] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1947949 0x19478d5 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1947948 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x208 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19478d4 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [459: 30081024] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726a9d 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726a9c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1e7c github.com/mattermost/mattermost/server/v8/channels/web/params.go:291 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 7168] @ 0x48dd0c 0x493087 0x6598ee 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x6598ed crypto/x509.parseCertificate+0x11ad crypto/x509/parser.go:1052 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [20: 3840] @ 0x48dd05 0x428505 0x270f345 0x2838db8 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f344 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x1c4 github.com/mattermost/mattermost/server/v8/channels/web/context.go:62 # 0x2838db7 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0xf7 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:455 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19980c5 0x19980a0 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19980c4 github.com/mattermost/squirrel.StatementBuilderType.Select+0xc4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x199809f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x9f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:77 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [84: 96768] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x24adbe9 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1944eb8 0x186f667 0x219364d 0x20df7d4 0x20db5cb 0x20db3ba 0x20dad8e 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1944eb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.UpdateOptimistically+0x8b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:162 # 0x186f666 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).UpdateOptimistically+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7311 # 0x219364c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).UpdateOptimistically+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5896 # 0x20df7d3 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).SetJobProgress+0x73 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:115 # 0x20db5ca github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).setJobSuccess+0x4a github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:96 # 0x20db3b9 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x3b9 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:92 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [99: 266112] @ 0x48dd2c 0x428505 0x70a391 0x70d226 0x70cb05 0x75f36b 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x70a390 compress/flate.NewReader+0x50 compress/flate/inflate.go:812 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x75f36a net/http.http2gzipPoolGet+0x4a net/http/h2_bundle.go:10453 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [34: 7072] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 3744] @ 0x48dd2c 0x4752f7 0x5305e6 0x1840a31 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x1840a30 github.com/mattermost/squirrel.conj.join+0x390 github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [64: 20480] @ 0x48dd05 0x428505 0x2716876 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2716875 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x195 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:152 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 6656] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [13: 624] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 2880] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x76bd45 0x2249fb5 0x224c44f 0x224c0d3 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x76bd44 net/http.NewRequestWithContext+0x164 net/http/request.go:902 # 0x2249fb4 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1f4 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [111: 10656] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [62: 17856] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 432] @ 0x48dd2c 0x4752f7 0x4cdffe 0x25ea7a9 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4cdffd path.Join+0x1dd path/path.go:172 # 0x25ea7a8 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xf68 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:224 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 2304] @ 0x48dd05 0x428505 0x128725c 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x128725b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x7b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:462 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 160] @ 0x48dd05 0x428505 0x4e2f9e 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e2f9d os.(*File).readdir+0xbd os/dir_unix.go:55 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [80: 1740800] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [65: 41600] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 8960] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2767309 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2767308 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x188 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1418 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [60: 3840] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x673d17 0xb834b7 0x12877cd 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x673d16 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [101: 45248] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [81: 1296] @ 0x48dd25 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1120] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2245d3c 0x22464c5 0x54eb71 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x2245d3b github.com/getsentry/sentry-go/internal/protocol.Dsn.String+0x17b github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:152 # 0x22464c4 github.com/getsentry/sentry-go/internal/protocol.Dsn.MarshalJSON+0x64 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:248 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [57: 456] @ 0x48dd05 0x428505 0x21f0b35 0x21f0aa6 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0b34 github.com/mattermost/mattermost/server/v8/channels/app/platform.allocateCacheTargets[...]+0x114 github.com/mattermost/mattermost/server/v8/channels/app/platform/utils.go:22 # 0x21f0aa5 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x85 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:145 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [125: 36000] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2736197 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2736196 github.com/mattermost/mattermost/server/v8/channels/wsapi.ping+0x36 github.com/mattermost/mattermost/server/v8/channels/wsapi/system.go:18 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 256] @ 0x48dd05 0x48d725 0x21fb1ab 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fb1aa github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x3aa github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:509 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [273: 733824] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [100: 4800] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x19f549a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f5499 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837cc5 0x1837b12 0x18390d5 0x1847d8f 0x1a016e5 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1a016e4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x3a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:159 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 256] @ 0x48dd05 0x493087 0x19ec3b1 0x19ec836 0x19f5919 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x5f0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:145 # 0x19ec835 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:184 # 0x19f5918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:992 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [51: 32640] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 1600] @ 0x48dd2c 0x428505 0x4b084d 0x4b09a9 0x4dfcbf 0x4dda8d 0x613489 0x62ba7b 0x62ad10 0x77f64c 0x266234d 0x498001 # 0x4b084c syscall.anyToSockaddr+0x16c syscall/syscall_linux.go:677 # 0x4b09a8 syscall.Accept4+0x88 syscall/syscall_linux.go:701 # 0x4dfcbe internal/poll.accept+0x1e internal/poll/sock_cloexec.go:17 # 0x4dda8c internal/poll.(*FD).Accept+0x1ac internal/poll/fd_unix.go:604 # 0x613488 net.(*netFD).accept+0x28 net/fd_unix.go:150 # 0x62ba7a net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x62ad0f net.(*TCPListener).Accept+0x2f net/tcpsock.go:387 # 0x77f64b net/http.(*Server).Serve+0x30b net/http/server.go:3434 # 0x266234c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.func3+0x26c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1179 0: 0 [77: 22176] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [137: 39456] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x21fb1d4 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fb1d3 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x3d3 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:509 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 368] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [60: 53760] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [58: 18560] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1998212 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1998211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x211 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:80 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 7280] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [47: 752] @ 0x48dd2c 0x428505 0xbd7991 0xbd7934 0xc9d313 0xc9d330 0x25dbd3e 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0xbd7990 github.com/google/uuid.NewRandomFromReader+0x30 github.com/google/uuid@v1.6.0/version4.go:48 # 0xbd7933 github.com/google/uuid.NewRandom+0x53 github.com/google/uuid@v1.6.0/version4.go:41 # 0xc9d312 github.com/pborman/uuid.NewRandom+0x12 github.com/pborman/uuid@v1.2.1/version4.go:22 # 0xc9d32f github.com/mattermost/mattermost/server/public/model.NewId+0x2f github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25dbd3d github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x19d github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:115 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 384] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x281d7ff 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d7fe github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x27e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:269 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 2464] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 240] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x1a06805 0x1a067df 0x1309f10 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x1a06804 github.com/mattermost/squirrel.StatementBuilderType.Select+0xe4 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x1a067de 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:453 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 288] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [210: 268800] @ 0x48dd0c 0x428505 0x2724c4e 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2724c4d github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2d github.com/mattermost/mattermost/server/v8/channels/web/params.go:140 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 368] @ 0x48dd05 0x48d725 0xb73a66 0x1287ee5 0x1287e5a 0x498001 # 0xb73a65 net/rpc.(*Server).register+0x405 net/rpc/server.go:277 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [26: 416] @ 0x48dd05 0x493087 0x19ec56b 0x19ec836 0x19f5919 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec56a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x7aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:156 # 0x19ec835 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:184 # 0x19f5918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:992 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 1488] @ 0x48dd05 0x428505 0x410c72 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 9280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 896] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x63fd77 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x63fd76 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 416] @ 0x48dd2c 0x424f87 0x424dfe 0x183f46e 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f46d github.com/mattermost/squirrel.Eq.toSQL+0xf8d github.com/mattermost/squirrel@v0.5.0/expr.go:166 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [31: 248] @ 0x48dd05 0x428505 0xb5c3f1 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c3f0 encoding/gob.(*Decoder).getDecEnginePtr+0xf0 encoding/gob/decode.go:1193 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [133: 1064] @ 0x48dd05 0x428505 0x5259ff 0xb73f42 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0x5259fe reflect.(*rtype).Method+0x59e reflect/type.go:670 # 0xb73f41 net/rpc.suitableMethods+0xa1 net/rpc/server.go:288 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [42: 1344] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x55a2ec 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x55a2eb encoding/json.(*Decoder).readValue+0x10b encoding/json/stream.go:105 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 432] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [47: 3008] @ 0x48dd05 0x428505 0x99ffd6 0x9a15aa 0x498001 # 0x99ffd5 github.com/hashicorp/yamux.(*Session).sendNoWait+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:462 # 0x9a15a9 github.com/hashicorp/yamux.(*Session).handlePing.func1+0x69 github.com/hashicorp/yamux@v0.1.2/session.go:640 0: 0 [37: 4144] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [16: 1792] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [168: 80640] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1232] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x56e205 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x56e204 context.WithCancel+0x64 context/context.go:242 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [98: 802816] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [111: 78144] @ 0x48dd0c 0x493087 0x73e165 0x71cf6f 0x71c9c9 0x71c7d0 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73e164 net/http.(*http2Framer).readMetaFrame.func1+0x304 net/http/h2_bundle.go:3203 # 0x71cf6e vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x6e vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x71c9c8 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldIndexed+0x1c8 vendor/golang.org/x/net/http2/hpack/hpack.go:349 # 0x71c7cf vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xef vendor/golang.org/x/net/http2/hpack/hpack.go:311 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [45: 25920] @ 0x48dd2c 0x492ae9 0x609748 0x60a916 0x60c005 0x60f66c 0x498001 # 0x609747 net.newRequest+0x47 net/dnsclient_unix.go:61 # 0x60a915 net.(*Resolver).exchange+0xf5 net/dnsclient_unix.go:171 # 0x60c004 net.(*Resolver).tryOneName+0x544 net/dnsclient_unix.go:316 # 0x60f66b net.(*Resolver).goLookupIPCNAMEOrder.func3.1+0x6b net/dnsclient_unix.go:667 0: 0 [10: 480] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [446: 185536] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [69: 1656] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [333: 298368] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [74: 1776] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 2400] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [248: 11904] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [65: 7280] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0x99f4f7 0x99f4e3 0x99f6e5 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0x99f4f6 time.After+0x176 time/sleep.go:203 # 0x99f4e2 github.com/hashicorp/yamux.(*Session).Ping+0x162 github.com/hashicorp/yamux@v0.1.2/session.go:349 # 0x99f6e4 github.com/hashicorp/yamux.(*Session).keepalive+0x84 github.com/hashicorp/yamux@v0.1.2/session.go:368 0: 0 [6: 1248] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [67: 1072] @ 0x48dd05 0x48d725 0x183ee45 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x183ee44 github.com/mattermost/squirrel.Eq.toSQL+0x964 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [71: 1136] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [62: 31744] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 2880] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 640] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x196fab3 0x196fa94 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196fab2 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x432 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x196fa93 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x413 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1422 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1120] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18d1c76 0x18d1c57 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1c75 github.com/mattermost/squirrel.SelectBuilder.InnerJoin+0x215 github.com/mattermost/squirrel@v0.5.0/select.go:307 # 0x18d1c56 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x1f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1224 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 1600] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0x57d1d0 0xb66bf6 0xb67b68 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0x57d1cf bufio.(*Writer).Write+0xcf bufio/bufio.go:686 # 0xb66bf5 encoding/gob.(*Encoder).writeMessage+0x395 encoding/gob/encoder.go:82 # 0xb67b67 encoding/gob.(*Encoder).EncodeValue+0x447 encoding/gob/encoder.go:253 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [99: 2376] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 10368] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [56: 16128] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [76: 2432] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [175: 2800] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [47: 2256] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5cda5 0xb757d0 0x12880d3 0x498001 # 0xb5cda4 encoding/gob.NewDecoder+0x1c4 encoding/gob/decoder.go:52 # 0xb757cf net/rpc.(*Server).ServeConn+0x12f net/rpc/server.go:451 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [37: 2368] @ 0x48dd05 0x428505 0xb62a71 0xb62a13 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb62a70 encoding/gob.(*Encoder).newEncoderState+0x90 encoding/gob/encode.go:82 # 0xb62a12 encoding/gob.(*Encoder).encodeSingle+0x32 encoding/gob/encode.go:290 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [73: 8176] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0x99f68b 0x99f67a 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0x99f68a time.After+0x2a time/sleep.go:203 # 0x99f679 github.com/hashicorp/yamux.(*Session).keepalive+0x19 github.com/hashicorp/yamux@v0.1.2/session.go:367 0: 0 [62: 1488] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x1998192 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1998191 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x191 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 720] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb57403 0xb57857 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb57402 encoding/gob.decodeIntoValue+0x82 encoding/gob/decode.go:586 # 0xb57856 encoding/gob.(*Decoder).decodeMap+0x3d6 encoding/gob/decode.go:607 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [28: 448] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 1216] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [62: 55552] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 1008] @ 0x48dd05 0x428505 0x8b1b6d 0x8f9e3f 0x8f9d47 0x8f9ae5 0x8faa16 0x8fa9f9 0x8fc5ff 0x8fc405 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8b1b6c github.com/mattermost/go-i18n/i18n/language.Parse+0x4ac github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/language/language.go:62 # 0x8f9e3e 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 # 0x8f9d46 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 # 0x8f9ae4 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 # 0x8faa15 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 # 0x8fa9f8 github.com/mattermost/go-i18n/i18n.Tfunc+0x18 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:144 # 0x8fc5fe github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x1e github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:296 # 0x8fc404 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:273 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [62: 1984] @ 0x48dd05 0x48de45 0x52107d 0xb54cc5 0xb5685c 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb54cc4 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xb5685b encoding/gob.(*Decoder).decodeStruct+0x25b encoding/gob/decode.go:491 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f80d1 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f80d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x3b0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [74: 1776] @ 0x48dd05 0x428505 0x1256edf 0x125bb7c 0x12724f1 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bb7b github.com/lib/pq.(*conn).readBindResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1685 # 0x12724f0 github.com/lib/pq.(*stmt).exec+0x7d0 github.com/lib/pq@v1.12.3/stmt.go:141 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 3024] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19ea937 0x19ea890 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19ea936 github.com/mattermost/squirrel.InsertBuilder.Columns+0x1d6 github.com/mattermost/squirrel@v0.5.0/insert.go:251 # 0x19ea88f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x12f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:42 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [110: 35200] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [38: 12160] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 320] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e3c0d 0x20e3045 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e3c0c github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0x6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:164 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [26: 3744] @ 0x48dd05 0x428505 0x5469b7 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [68: 30464] @ 0x48dd05 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [222: 10656] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [39: 1248] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [95: 7600] @ 0x48dd05 0x428505 0xb73346 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 936] @ 0x48dd05 0x41d56d 0x4bee48 0xb83e38 0xb83e05 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0xb83e37 time.After+0x57 time/sleep.go:203 # 0xb83e04 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:189 0: 0 [9: 36864] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x54d47e 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [150: 230400] @ 0x48dd0c 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [32: 2048] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x63d1b2 0x63fd77 0x63fddc 0xb649b9 0xb65c71 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x63d1b1 net/url.(*URL).String+0xb1 net/url/url.go:813 # 0x63fd76 net/url.(*URL).AppendBinary+0x16 net/url/url.go:1222 # 0x63fddb net/url.(*URL).MarshalBinary+0x7b net/url/url.go:1218 # 0xb649b8 encoding/gob.(*Encoder).encodeGobEncoder+0xb8 encoding/gob/encode.go:447 # 0xb65c70 encoding/gob.gobEncodeOpFor.func1+0x130 encoding/gob/encode.go:590 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd2c 0x4930f3 0xb67927 0xb678e7 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb67926 encoding/gob.(*encBuffer).Write+0x206 encoding/gob/encode.go:55 # 0xb678e6 encoding/gob.(*Encoder).EncodeValue+0x1c6 encoding/gob/encoder.go:241 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [5: 240] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [11: 704] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x18411a5 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18411a4 github.com/mattermost/squirrel.(*insertData).ToSql+0x164 github.com/mattermost/squirrel@v0.5.0/insert.go:75 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [131: 16768] @ 0x48dd05 0x428505 0x1287379 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1287378 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x198 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:492 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 90112] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 1280] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [72: 55296] @ 0x48dd0c 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 3136] @ 0x48dd05 0x492ae9 0x72e507 0x24775b0 0x24775bb 0x2717c6f 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e506 net/http.readCookies+0x126 net/http/cookie.go:388 # 0x24775af net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x24775ba github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 7200] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d244b 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d244a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x9ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1261 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [204: 3264] @ 0x48dd05 0x428505 0xb5bc45 0xb5bbf3 0xb5bc03 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc44 errors.New+0x3e4 errors/errors.go:65 # 0xb5bbf2 encoding/gob.overflow+0x392 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [99: 3168] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a07213 0x1a071cb 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a07212 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x1f2 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x1a071ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:431 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [49: 8624] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [25: 400] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [22: 3520] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [128: 393216] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [291: 32592] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [89: 7120] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [13: 4992] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x556efa 0x555765 0x54ef07 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2249a85 0x224c270 0x224c0d3 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x556ef9 encoding/json.newScanner+0x19 encoding/json/scanner.go:96 # 0x555764 encoding/json.appendCompact+0x84 encoding/json/indent.go:53 # 0x54ef06 encoding/json.addrMarshalerEncoder+0x166 encoding/json/encode.go:506 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2249a84 github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0x24 github.com/getsentry/sentry-go@v0.46.2/report/report.go:18 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [64: 3072] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1ccb2d0 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccb2cf github.com/gorilla/mux.(*Route).Match+0x2ef github.com/gorilla/mux@v1.8.1/route.go:102 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [28: 1344] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [102: 3264] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [111: 63936] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [101: 9696] @ 0x48dd05 0x428505 0x12f16e5 0x12f16a9 0x12f1665 0x1287a0c 0x498001 # 0x12f16e4 bufio.NewReaderSize+0xa4 bufio/bufio.go:56 # 0x12f16a8 bufio.NewReader+0x68 bufio/bufio.go:63 # 0x12f1664 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x24 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:34 # 0x1287a0b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x28b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:488 0: 0 [154: 9856] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [149: 33376] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [100: 4800] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 4576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1536] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [78: 509184] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [8: 512] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [173: 11072] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [8: 512] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [50: 2400] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [58: 11136] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 128] @ 0x48dd05 0x493087 0x21f11ca 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f11c9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x7a9 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:153 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 704] @ 0x48dd05 0x48d725 0x54c92d 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c92c encoding/json.(*decodeState).literalInterface+0xcc encoding/json/decode.go:1148 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [61: 1952] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 768] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [2: 32] @ 0x48dd05 0x4246eb 0x1846025 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 320] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 384] @ 0x48dd05 0x428505 0x738f68 0x738f52 0x7385ff 0x738a51 0x75a82a 0x759c12 0x498001 # 0x738f67 net/http.(*http2frameCache).getDataFrame+0x47 net/http/h2_bundle.go:1997 # 0x738f51 net/http.http2parseDataFrame+0x31 net/http/h2_bundle.go:2215 # 0x7385fe net/http.(*http2Framer).ReadFrameForHeader+0x13e net/http/h2_bundle.go:2102 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [13: 2080] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x184afae 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x184afad github.com/mattermost/squirrel.(*updateData).ToSql+0xaed github.com/mattermost/squirrel@v0.5.0/update.go:143 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [215: 6880] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [101: 45248] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [270: 34560] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [18: 432] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 4000] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 1312] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [25: 4000] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [13: 1664] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 3360] @ 0x48dd05 0x492ae9 0x13a4c73 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13a4c72 github.com/jmoiron/sqlx.scanAll+0x612 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:953 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 656] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 336] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a1f24a 0x1a1f1d1 0x188fd75 0x21b8f96 0x2127b69 0x26a790f 0x26a78f3 0x2480bf6 0x2480b45 0x260a32c 0x266c765 0xc7b03a 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a1f249 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a1f1d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetAllProfiles+0x330 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:671 # 0x188fd74 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetAllProfiles+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16386 # 0x21b8f95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetAllProfiles+0x55 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12928 # 0x2127b68 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 # 0x26a790e github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2e github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x26a78f2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersFromProfiles+0x12 github.com/mattermost/mattermost/server/v8/channels/app/user.go:628 # 0x2480bf5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetOrCreateSystemOwnedBot+0x75 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:182 # 0x2480b44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSystemBot+0x64 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:170 # 0x260a32b github.com/mattermost/mattermost/server/v8/channels/app.(*App).CheckPostReminders+0x18b github.com/mattermost/mattermost/server/v8/channels/app/post.go:2797 # 0x266c764 github.com/mattermost/mattermost/server/v8/channels/app.runPostReminderJob.func1.1+0x24 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1927 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [43: 6192] @ 0x48dd05 0x428505 0x1904885 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1904884 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x664 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:523 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 888] @ 0x48dd2c 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 37632] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 17920] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0xc8b358 0xc8b359 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b357 github.com/tinylib/msgp/msgp.ReadStringBytes+0x197 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b358 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x198 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:166 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 192] @ 0x48dd05 0x428505 0xb59006 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [55: 880] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [62: 404736] @ 0x48dd0c 0x428505 0x53ef9a 0x54633c 0x4a240c 0x53f2e5 0x53f2b4 0x1267e86 0x1267f13 0x126179f 0x125fa79 0x125ea7c 0x125e7e5 0x124fe8c 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x53ef99 strings.(*Replacer).build+0x159 strings/replace.go:75 # 0x54633b strings.(*Replacer).buildOnce+0x1b strings/replace.go:40 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x53f2e4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x53f2b3 strings.(*Replacer).Replace+0x13 strings/replace.go:96 # 0x1267e85 github.com/lib/pq.convertURL.func1+0x265 github.com/lib/pq@v1.12.3/connector.go:1129 # 0x1267f12 github.com/lib/pq.convertURL+0x2f2 github.com/lib/pq@v1.12.3/connector.go:1135 # 0x126179e github.com/lib/pq.(*Config).fromDSN+0xbe github.com/lib/pq@v1.12.3/connector.go:696 # 0x125fa78 github.com/lib/pq.newConfig+0x158 github.com/lib/pq@v1.12.3/connector.go:555 # 0x125ea7b github.com/lib/pq.NewConfig+0xbb github.com/lib/pq@v1.12.3/connector.go:512 # 0x125e7e4 github.com/lib/pq.NewConnector+0x64 github.com/lib/pq@v1.12.3/connector.go:194 # 0x124fe8b github.com/lib/pq.DialOpen+0x2b github.com/lib/pq@v1.12.3/conn.go:238 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [87: 77952] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 960] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474c05 0xc3f629 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f628 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x288 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 20800] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 16384] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 672] @ 0x48dd05 0x428505 0xb5b345 0xb5b2fe 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5b344 errors.New+0x264 errors/errors.go:65 # 0xb5b2fd encoding/gob.(*Decoder).compileSingle+0x21d encoding/gob/decode.go:1114 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [306: 705024] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [57: 912] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [178: 85440] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [25: 7200] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x190363d 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x190363c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x9bc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:436 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 352] @ 0x48dd2c 0x428505 0xb75b0f 0xb759ef 0x12880d3 0x498001 # 0xb75b0e net/rpc.(*Server).ServeCodec+0x4e net/rpc/server.go:462 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [24: 4992] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [78: 3744] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0xbe673d 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0xbe673c github.com/vmihailenco/msgpack/v5.decodeMapValue+0x13c github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:42 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0x124f2d6 0x12534e5 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2784f5c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x12534e4 github.com/lib/pq.(*conn).simpleQuery+0x3c4 github.com/lib/pq@v1.12.3/conn.go:664 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2784f5b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x29b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:25 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 22016] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2736] @ 0x48dd05 0x428505 0x725a96 0x725a81 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x725a95 net/http.cloneURL+0x75 net/http/clone.go:45 # 0x725a80 net/http.(*Client).send+0x60 net/http/client.go:177 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [41: 5904] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a015a5 0x188b152 0x21b37d6 0x22965e2 0x20db11a 0x20dad8e 0x498001 # 0x1a015a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlTemporaryPostStore).GetExpiredPosts+0x264 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/temporary_post_store.go:157 # 0x188b151 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTemporaryPostStore).GetExpiredPosts+0x91 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15087 # 0x21b37d5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTemporaryPostStore).GetExpiredPosts+0x95 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11907 # 0x22965e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts.MakeWorker.func2+0x1e1 github.com/mattermost/mattermost/server/v8/channels/jobs/delete_expired_posts/worker.go:44 # 0x20db119 github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).DoJob+0x119 github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:84 # 0x20dad8d github.com/mattermost/mattermost/server/v8/channels/jobs.(*SimpleWorker).Run+0xcd github.com/mattermost/mattermost/server/v8/channels/jobs/base_workers.go:52 0: 0 [8: 2560] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e32cd 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e32cc github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0xb6c github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:95 0: 0 [98: 7840] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 272] @ 0x48dd05 0x492ae9 0xc9f798 0xc98325 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc9f797 github.com/mattermost/mattermost/server/public/model.(*StringArray).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/utils_serial_gen.go:73 # 0xc98324 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x12a4 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:696 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [190: 340480] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [95: 4560] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726987 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726986 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1d66 github.com/mattermost/mattermost/server/v8/channels/web/params.go:287 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [87: 2784] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [159: 488448] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1a0688f 0x1a06806 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1a0688e github.com/mattermost/squirrel.SelectBuilder.From+0x16e github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x1a06805 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:454 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [78: 59904] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 60672] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [22: 352] @ 0x48dd05 0x492ae9 0x54295f 0x8fc252 0x8fc1de 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc251 strings.Split+0x151 strings/strings.go:361 # 0x8fc1dd github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0xdd github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:270 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [141: 9024] @ 0x48dd05 0x428505 0xb576a8 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb576a7 encoding/gob.(*Decoder).decodeMap+0x227 encoding/gob/decode.go:602 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [109: 5232] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [429: 1317888] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 960] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [46: 736] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [16: 256] @ 0x48dd05 0x48d725 0x54ad6a 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad69 encoding/json.(*decodeState).literalStore+0xda9 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [171: 16416] @ 0x48dd05 0x428505 0xc84cf8 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84cf7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xef7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 2304] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb75852 0xb75998 0x12880d3 0x498001 # 0xb75851 encoding/gob.NewEncoder+0x1b1 encoding/gob/encoder.go:37 # 0xb75997 net/rpc.(*Server).ServeConn+0x2f7 net/rpc/server.go:452 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [14: 2240] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [84: 1344] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [113: 130176] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 1944] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [310: 952320] @ 0x48dd0c 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [249: 11952] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [383: 196096] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 1872] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 5760] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xb645c5 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xb645c4 encoding/gob.(*Encoder).encodeInterface+0x7e4 encoding/gob/encode.go:417 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [121: 2904] @ 0x48dd05 0x428505 0xb5943d 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5943c encoding/gob.(*Decoder).decOpFor+0x4fc encoding/gob/decode.go:898 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [72: 2304] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [69: 3312] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726a9d 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726a9c github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1e7c github.com/mattermost/mattermost/server/v8/channels/web/params.go:291 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [119: 5712] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [133: 2128] @ 0x48dd05 0x48de45 0x52107d 0xb764fc 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764fb net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:564 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [11: 704] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [129: 2064] @ 0x48dd2c 0x4752f7 0x6f20c7 0x6f2e54 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f2e53 net/textproto.readMIMEHeader+0x213 net/textproto/reader.go:558 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [361: 17328] @ 0x48dd05 0x48de45 0x52107d 0xb764e5 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764e4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:562 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [15: 4320] @ 0x48dd05 0x492ae9 0x11359c8 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x11359c7 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 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [126: 6048] @ 0x48dd05 0x428505 0x1844e1d 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1844e1c github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x9c github.com/mattermost/squirrel@v0.5.0/select.go:70 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [399: 8171520] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [9: 432] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1990ba6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1990ba5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x725 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:206 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [308: 9856] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [165: 7920] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [423: 162432] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [52: 14976] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2865450 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x286544f github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xaf github.com/mattermost/mattermost/server/v8/channels/api4/system.go:149 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19581bb 0x1958120 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19581ba github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195811f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:148 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x492ae9 0x125c732 0x1253585 0x12559ff 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c731 github.com/lib/pq.parsePortalRowDescribe+0xb1 github.com/lib/pq@v1.12.3/conn.go:1791 # 0x1253584 github.com/lib/pq.(*conn).simpleQuery+0x464 github.com/lib/pq@v1.12.3/conn.go:691 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [36: 576] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [194: 68288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2724c7b 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 5632] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 4480] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [74: 47360] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a4a2b 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a4a2a github.com/jmoiron/sqlx.scanAll+0x3ca github.com/jmoiron/sqlx@v1.4.0/sqlx.go:948 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 240] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [42: 2688] @ 0x48dd05 0x428505 0x2265f19 0x266369a 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2265f18 github.com/getsentry/sentry-go.(*Scope).SetRequest+0xf8 github.com/getsentry/sentry-go@v0.46.2/scope.go:138 # 0x2663699 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2d9 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:120 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 432] @ 0x48dd05 0x48d725 0x2717285 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2717284 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xba4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [101: 129280] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 576] @ 0x48dd05 0x493087 0x184a88c 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184a88b github.com/mattermost/squirrel.(*updateData).ToSql+0x3cb github.com/mattermost/squirrel@v0.5.0/update.go:98 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [117: 2808] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [115: 5520] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [41: 984] @ 0x48dd05 0x48de45 0x52107d 0xb764fc 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764fb net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:564 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [104: 106496] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [123: 5904] @ 0x48dd05 0x428505 0x125d4b5 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125d4b4 github.com/lib/pq.(*conn).watchCancel+0xd4 github.com/lib/pq@v1.12.3/conn_go18.go:123 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [16: 384] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [117: 5616] @ 0x48dd05 0x428505 0x9a42d6 0x9a42b1 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x9a42d5 bytes.NewBuffer+0x155 bytes/buffer.go:490 # 0x9a42b0 github.com/hashicorp/yamux.(*Stream).readData+0x130 github.com/hashicorp/yamux@v0.1.2/stream.go:504 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [154: 24640] @ 0x48dd05 0x428505 0xb757e5 0xb75998 0x12880d3 0x498001 # 0xb757e4 encoding/gob.NewEncoder+0x144 encoding/gob/encoder.go:35 # 0xb75997 net/rpc.(*Server).ServeConn+0x2f7 net/rpc/server.go:452 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [13: 1664] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 1904] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1a06f1b 0x1a06e84 0x1309f10 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1a06f1a github.com/mattermost/squirrel.SelectBuilder.GroupBy+0x2fa github.com/mattermost/squirrel@v0.5.0/select.go:344 # 0x1a06e83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x263 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:445 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [7: 112] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 336] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [34: 816] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 480] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb73145 0xb7231f 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb73144 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xb7231e net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [11: 704] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [40: 11520] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x281e805 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x281e804 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1284 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 800] @ 0x48dd2c 0x428505 0x70a3cd 0x70d226 0x70cb05 0x75f36b 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x70a3cc compress/flate.NewReader+0x8c compress/flate/inflate.go:813 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x75f36a net/http.http2gzipPoolGet+0x4a net/http/h2_bundle.go:10453 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [535: 111280] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [238: 5712] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [155: 2480] @ 0x48dd25 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [70: 4480] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 2464] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [82: 94464] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 3584] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [76: 77824] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 2240] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 576] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [56: 896] @ 0x48dd05 0x428505 0x1259aaa 0x126e933 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1259aa9 github.com/lib/pq.(*conn).parseComplete+0x169 github.com/lib/pq@v1.12.3/conn.go:1450 # 0x126e932 github.com/lib/pq.(*rows).Next+0x132 github.com/lib/pq@v1.12.3/rows.go:99 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [49: 784] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x21f0c16 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x21f0c15 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x1f5 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:147 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [166: 84992] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [160: 163840] @ 0x48dd2c 0x428505 0x72493a 0x4a2651 0x736805 0x736eba 0x736dab 0x7405f9 0x75ce9b 0x75ac16 0x759c12 0x498001 # 0x724939 net/http.init.func1+0x19 net/http/h2_bundle.go:1207 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x736804 net/http.http2getDataBufferChunk+0x104 net/http/h2_bundle.go:1217 # 0x736eb9 net/http.(*http2dataBuffer).lastChunkOrAlloc+0x59 net/http/h2_bundle.go:1328 # 0x736daa net/http.(*http2dataBuffer).Write+0x8a net/http/h2_bundle.go:1311 # 0x7405f8 net/http.(*http2pipe).Write+0x178 net/http/h2_bundle.go:3955 # 0x75ce9a net/http.(*http2clientConnReadLoop).processData+0x21a net/http/h2_bundle.go:10014 # 0x75ac15 net/http.(*http2clientConnReadLoop).run+0x4b5 net/http/h2_bundle.go:9584 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [175: 8601600] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [85: 4080] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [60: 9600] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [166: 10624] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [66: 1584] @ 0x48dd05 0x428505 0x520cb5 0x5482f5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x5482f4 encoding/json.(*decodeState).array+0x614 encoding/json/decode.go:594 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [45: 1440] @ 0x48dd2c 0x4752f7 0xc9711a 0xc9711b 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc97119 github.com/tinylib/msgp/msgp.ReadStringBytes+0x99 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9711a github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x9a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:504 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [218: 3488] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [212: 5088] @ 0x48dd05 0x428505 0x51e9da 0xb55e25 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x51e9d9 reflect.Value.Slice+0x99 reflect/value.go:2366 # 0xb55e24 encoding/gob.decUint8Slice+0x524 encoding/gob/decode.go:396 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [140: 6720] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [188: 27072] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [401: 160964608] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [269: 72720384] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 8800] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [66: 46464] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x28c7a31 0x28c79c6 0x28c79a8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28c7a30 net/textproto.MIMEHeader.Set+0x210 net/textproto/header.go:22 # 0x28c79c5 net/http.Header.Set+0x1a5 net/http/header.go:40 # 0x28c79a7 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x187 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 2944] @ 0x48dd2c 0x4930f3 0x557139 0x557466 0x547433 0x548ee7 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x557465 encoding/json.stateBeginValue+0x125 encoding/json/scanner.go:227 # 0x547432 encoding/json.(*decodeState).scanWhile+0x72 encoding/json/decode.go:301 # 0x548ee6 encoding/json.(*decodeState).object+0xb06 encoding/json/decode.go:751 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 14560] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [46: 7360] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 1280] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [40: 20480] @ 0x48dd05 0x493087 0x1902b0b 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902b0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [122: 7808] @ 0x48dd05 0x428505 0x271677d 0x2716725 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271677c github.com/mattermost/mattermost/server/v8/channels/web.newWrappedWriter+0x9c github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:24 # 0x2716724 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x44 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:146 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x12463e8 0x12463d8 0x1258f56 0x12582f8 0x12509d6 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x12463e7 bytes.(*Buffer).Grow+0xc7 bytes/buffer.go:186 # 0x12463d7 github.com/lib/pq/scram.NewClient+0xb7 github.com/lib/pq@v1.12.3/scram/scram.go:82 # 0x1258f55 github.com/lib/pq.(*conn).auth+0x995 github.com/lib/pq@v1.12.3/conn.go:1368 # 0x12582f7 github.com/lib/pq.(*conn).startup+0x1057 github.com/lib/pq@v1.12.3/conn.go:1270 # 0x12509d5 github.com/lib/pq.(*Connector).open+0xa95 github.com/lib/pq@v1.12.3/conn.go:292 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 640] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19ba86a 0x18813c4 0x21a7fd6 0x2123da2 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19ba869 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).GetByNames+0x149 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:270 # 0x18813c3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).GetByNames+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12213 # 0x21a7fd5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).GetByNames+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9685 # 0x2123da1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x621 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:95 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 7776] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [54: 864] @ 0x48dd25 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 512] @ 0x48dd05 0x48d725 0x19f1e45 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f1e44 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x104 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 2880] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 1568] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 48] @ 0x48dd25 0x4752f7 0xc97745 0xc97746 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc97744 github.com/tinylib/msgp/msgp.ReadStringBytes+0x6c4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc97745 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x6c5 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:570 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [125: 64000] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [124: 1984] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [19: 2128] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x25db889 0x25db738 0x12f1cc6 0x12ddea4 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x25db888 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).conn+0x108 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:63 # 0x25db737 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnWithPluginID+0x17 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:54 # 0x12f1cc5 github.com/mattermost/mattermost/server/public/plugin.(*driverForPlugin).Conn+0x25 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:42 # 0x12ddea3 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).Conn+0x23 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:56 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [82: 31488] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0x28669eb 0x28669ec 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x28669ea github.com/mattermost/mattermost/server/public/model.ToJSON+0x164a github.com/mattermost/mattermost/server/public/model/utils.go:612 # 0x28669eb github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x164b github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 40] @ 0x48dd05 0x428505 0x19e084d 0x19ddc9f 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x19e084c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).checkErr+0x2c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:562 # 0x19ddc9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [35: 49280] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 1600] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [90: 21600] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xca6365 0x54ee87 0x5529a4 0x550e0a 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xca6364 github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x24 github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [58: 3801088] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 1344] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [86: 2752] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 384] @ 0x48dd05 0x48d7c5 0xc3f5c5 0x2817467 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc3f5c4 github.com/mattermost/mattermost/server/public/model.(*Manifest).ClientManifest+0x224 github.com/mattermost/mattermost/server/public/model/manifest.go:263 # 0x2817466 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:265 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 288] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x19e22b8 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19e22b7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0xf7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [47: 752] @ 0x48dd05 0x493087 0x19ec2b0 0x19ec836 0x19f5919 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec2af github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getTeamRoles+0x4ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:138 # 0x19ec835 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x155 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:184 # 0x19f5918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:992 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [23: 2944] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 704] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x22461b3 0x2249f7a 0x224c44f 0x224c0d3 0x498001 # 0x22461b2 github.com/getsentry/sentry-go/internal/protocol.Dsn.GetAPIURL+0x1f2 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/dsn.go:221 # 0x2249f79 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1b9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:107 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [246: 661248] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [4: 128] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [60: 1920] @ 0x48dd2c 0x4752f7 0xc84029 0xc8402a 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84028 github.com/tinylib/msgp/msgp.ReadStringBytes+0x228 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84029 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x229 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:493 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [118: 24544] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x7751a5 0x779bd8 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x7751a4 net/http.(*conn).readRequest+0x6e4 net/http/server.go:1040 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [6: 480] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [149: 21456] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416755 0xb5c40b 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c40a encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1194 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [356: 546816] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [16: 22528] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 144] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 196608] @ 0x48dd33 0x428505 0x724dba 0x4a2651 0x77319d 0x773191 0x227edca 0x4ce831 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x7335b8 0x25e9765 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x724db9 net/http.init.func16+0x19 net/http/server.go:834 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x77319c net/http.getCopyBuf+0x5c net/http/server.go:837 # 0x773190 net/http.(*response).ReadFrom+0x50 net/http/server.go:590 # 0x227edc9 github.com/getsentry/sentry-go/internal/httputils.(*httpFancyWriter).ReadFrom+0xe9 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:175 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x7335b7 net/http.ServeFile+0xf7 net/http/fs.go:825 # 0x25e9764 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginPublicRequest+0x2c4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:153 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 327680] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2127b25 0x17ed96c 0x17ed96a 0x26a79e5 0x28a9d65 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2127b24 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 # 0x17ed96b github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersFromProfiles+0x2b github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:122 # 0x17ed969 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersPage+0x29 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:130 # 0x26a79e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersPage+0x24 github.com/mattermost/mattermost/server/v8/channels/app/user.go:637 # 0x28a9d64 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x20c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1115 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 2240] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [55: 880] @ 0x48dd05 0x428505 0x80dcb4 0x498001 # 0x80dcb3 database/sql.(*Rows).awaitDone+0x173 database/sql/sql.go:3011 0: 0 [287: 45920] @ 0x48dd05 0x428505 0x21ebf97 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21ebf96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:130 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 3840] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 528] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x191a3eb 0x1866711 0x21895f7 0x24f0528 0x27ca9cd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x191a3ea github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlDraftStore).Get+0x58a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/draft_store.go:81 # 0x1866710 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerDraftStore).Get+0xb0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5073 # 0x21895f6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerDraftStore).Get+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4170 # 0x24f0527 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetDraft+0xc7 github.com/mattermost/mattermost/server/v8/channels/app/draft.go:23 # 0x27ca9cc github.com/mattermost/mattermost/server/v8/channels/api4.deleteDraft+0x10c github.com/mattermost/mattermost/server/v8/channels/api4/drafts.go:121 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [90: 23040] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 5376] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1946e97 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1946e96 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [79: 5056] @ 0x48dd05 0x4246eb 0xb66f45 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb66f44 encoding/gob.(*Encoder).sendActualType+0x104 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [12: 192] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18461d4 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [228: 80256] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [118: 1888] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [208: 3328] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [483: 7728] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 528] @ 0x48dd05 0x428505 0x18476bc 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [118: 2832] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 576] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [31: 3472] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1946f09 0x1946e98 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1946f08 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x188 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1946e97 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [3: 24] @ 0x48dd05 0x41d56d 0x129d3d7 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0x129d3d6 net/rpc.(*Client).Call+0xf6 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [50: 1600] @ 0x48dd2c 0x4752f7 0xc8b257 0xc8b258 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b256 github.com/tinylib/msgp/msgp.ReadStringBytes+0x96 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b257 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:156 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x270f251 0x281e805 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f250 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0xd0 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x281e804 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1284 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:347 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 576] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [47: 13536] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x190436f 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x190436e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x14e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:498 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 10976] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [211: 486144] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [206: 9888] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [203: 12992] @ 0x48dd05 0x428505 0x227e38e 0x2663638 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x227e38d github.com/getsentry/sentry-go/internal/httputils.NewWrapResponseWriter+0x4d github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:38 # 0x2663637 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x277 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:111 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [279: 89280] @ 0x48dd05 0x428505 0x21fb025 0x21fb059 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fb024 encoding/json.NewDecoder+0x224 encoding/json/stream.go:34 # 0x21fb058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x258 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:480 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 47168] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [83: 5312] @ 0x48dd05 0x428505 0xc00c0a 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0xc00c09 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x49 github.com/mattermost/mattermost/server/public/model/bundle_info.go:28 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [78: 1248] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x19f0f46 0x19f0f00 0x1888e7d 0x21b0fe9 0x268cc22 0x288004b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f0f45 github.com/mattermost/squirrel.SelectBuilder.Join+0xc5 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f0eff github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x7f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:655 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x288004a github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ca github.com/mattermost/mattermost/server/v8/channels/api4/team.go:608 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 128] @ 0x48dd05 0x48d725 0xca6bdf 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xca6bde github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x1e github.com/mattermost/mattermost/server/public/model/channel.go:575 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [87: 4176] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726747 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726746 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1b26 github.com/mattermost/mattermost/server/v8/channels/web/params.go:276 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 16128] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [199: 82784] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0xc39e5c 0xc61d5a 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0xc39e5b github.com/mattermost/mattermost/server/public/model.(*Post).StripActionIntegrations+0x1b github.com/mattermost/mattermost/server/public/model/integration_action.go:867 # 0xc61d59 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xf9 github.com/mattermost/mattermost/server/public/model/post_list.go:93 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [374: 65824] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [253: 12144] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5c35c 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c35b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1188 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [37: 1184] @ 0x48dd2c 0x4752f7 0xc8b2d8 0xc8b2d9 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b2d7 github.com/tinylib/msgp/msgp.ReadStringBytes+0x117 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b2d8 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x118 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:161 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 768] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [143: 6864] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 528] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x21fb94a 0x21fadd7 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x21fb949 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x369 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:588 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [71: 22720] @ 0x48dd05 0x492ae9 0x551136 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [37: 16576] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 960] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x199f496 0x199f41e 0x187c8a4 0x21a2856 0x2120c5f 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199f495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x495 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199f41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlReactionStore).GetForPost+0x41d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/reaction_store.go:99 # 0x187c8a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerReactionStore).GetForPost+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10863 # 0x21a2855 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerReactionStore).GetForPost+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8646 # 0x2120c5e 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 72] @ 0x48dd05 0x48d7c5 0x1846ff4 0x1846f13 0x1a06976 0x1a0692e 0x1309f10 0x498001 # 0x1846ff3 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06975 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [24: 3072] @ 0x48dd05 0x493087 0x549d25 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549d24 encoding/json.(*decodeState).object+0x1944 encoding/json/decode.go:738 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [47: 3008] @ 0x48dd05 0x428505 0x7873ff 0x79b099 0x774ce7 0x779bd8 0x498001 # 0x7873fe net/http.readTransfer+0x57e net/http/transfer.go:573 # 0x79b098 net/http.readRequest+0x6f8 net/http/request.go:1158 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [66: 38016] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 864] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19981b4 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19981b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x1b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [80: 5242880] @ 0x48dd33 0x492ae9 0x1b8d027 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8d026 github.com/klauspost/compress/flate.(*compressor).init+0x1c6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:806 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [266: 71909376] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 51456] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [180: 28800] @ 0x48dd05 0x428505 0x4a5cca 0x4a5cbe 0x4a541c 0x4a540b 0xb73a93 0xb73a4e 0x1287ee5 0x1287e5a 0x498001 # 0x4a5cc9 internal/sync.newIndirectNode[...]+0xc9 internal/sync/hashtriemap.go:550 # 0x4a5cbd internal/sync.(*HashTrieMap[...]).initSlow+0xbd internal/sync/hashtriemap.go:50 # 0x4a541b internal/sync.(*HashTrieMap[...]).init+0x7b internal/sync/hashtriemap.go:32 # 0x4a540a internal/sync.(*HashTrieMap[...]).LoadOrStore+0x6a internal/sync/hashtriemap.go:89 # 0xb73a92 sync.(*Map).LoadOrStore+0x432 sync/map.go:65 # 0xb73a4d net/rpc.(*Server).register+0x3ed net/rpc/server.go:277 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [31: 496] @ 0x48dd05 0x428505 0x1846fbc 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [142: 11360] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 288] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [250: 28000] @ 0x48dd2c 0x41d5e6 0x9a1f7d 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f7c github.com/hashicorp/yamux.newStream+0xbc github.com/hashicorp/yamux@v0.1.2/stream.go:77 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [37: 13024] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [59: 33984] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [132: 3168] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [104: 3328] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [51: 816] @ 0x48dd05 0x428505 0x1846fbc 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846fbb github.com/mattermost/squirrel.SelectBuilder.JoinClause+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [52: 14976] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x270f293 0x283627d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x270f292 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).MakeAuditRecord+0x112 github.com/mattermost/mattermost/server/v8/channels/web/context.go:72 # 0x283627c github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x4fc github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:215 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 2304] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5c35c 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c35b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1188 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [51: 58752] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [116: 5568] @ 0x48dd05 0x428505 0x4e8a73 0x4e64de 0xc40413 0xc4040a 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e8a72 os.openFileNolog+0xf2 os/file_unix.go:265 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0xc40412 os.Open+0x132 os/file.go:390 # 0xc40409 github.com/mattermost/mattermost/server/public/model.FindManifest+0x129 github.com/mattermost/mattermost/server/public/model/manifest.go:459 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [422: 34570240] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [163: 23472] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416755 0xb5c40b 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c40a encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1194 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [58: 1856] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 17248] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x224a1fb 0x224a17f 0x224a0cd 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a1fa net/textproto.MIMEHeader.Set+0x19a net/textproto/header.go:22 # 0x224a17e net/http.Header.Set+0x11e net/http/header.go:40 # 0x224a0cc github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x6c github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:84 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [9: 2592] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [22: 2464] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990ab6 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990ab5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x635 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:198 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 368] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 20160] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [173: 5536] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 960] @ 0x48dd05 0x428505 0xb5ba13 0xb5c447 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba12 encoding/gob.(*Decoder).compileDec+0x1b2 encoding/gob/decode.go:1155 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [10: 5760] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x54c76d 0x54c419 0x54c4eb 0x547eb2 0x547674 0x549145 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x547eb1 encoding/json.(*decodeState).array+0x1d1 encoding/json/decode.go:527 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2432] @ 0x48dd05 0x492ae9 0x1271bf3 0x1271cbe 0x1255c8b 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eaca8 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1271bf2 github.com/lib/pq.toNamedValue+0x32 github.com/lib/pq@v1.12.3/conn.go:828 # 0x1271cbd github.com/lib/pq.(*stmt).Exec+0xfd github.com/lib/pq@v1.12.3/stmt.go:85 # 0x1255c8a github.com/lib/pq.(*conn).Exec+0x12a github.com/lib/pq@v1.12.3/conn.go:994 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eaca7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x547 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:52 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 38400] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 5616] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [4: 128] @ 0x48dd2c 0x475974 0x475486 0x126a56f 0x12726c5 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x126a56e github.com/lib/pq.encode+0x2ae github.com/lib/pq@v1.12.3/encode.go:44 # 0x12726c4 github.com/lib/pq.(*stmt).exec+0x9a4 github.com/lib/pq@v1.12.3/stmt.go:117 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [11: 11264] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x211469b 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211469a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0x13a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:252 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [369: 148119552] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 16384] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845431 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845430 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x6b0 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [260: 698880] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [273: 30576] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db965 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [364: 116480] @ 0x48dd05 0x428505 0x266d61c 0x266d603 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x266d61b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x5b github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x266d602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x42 github.com/mattermost/mattermost/server/v8/channels/app/session.go:87 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [305: 19520] @ 0x48dd05 0x428505 0xb63f65 0xb63f2a 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb63f64 encoding/gob.(*Encoder).newEncoderState+0x184 encoding/gob/encode.go:82 # 0xb63f29 encoding/gob.(*Encoder).encodeInterface+0x149 encoding/gob/encode.go:392 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [69: 79488] @ 0x48dd0c 0x493087 0x1902b0b 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1902b0a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x46a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:386 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 2128] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1847d8f 0x1990691 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1847d8e github.com/mattermost/squirrel.SelectBuilder.Limit+0xae github.com/mattermost/squirrel@v0.5.0/select.go:370 # 0x1990690 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x210 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:181 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [174: 4176] @ 0x48dd2c 0x4752f7 0x6f20c7 0x6f2e54 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f2e53 net/textproto.readMIMEHeader+0x213 net/textproto/reader.go:558 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [83: 21248] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845431 0x1844d18 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845430 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x6b0 github.com/mattermost/squirrel@v0.5.0/select.go:134 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [374: 107712] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 704] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [176: 5632] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [100: 4800] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726b72 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726b71 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1f51 github.com/mattermost/mattermost/server/v8/channels/web/params.go:296 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 15120] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [171: 71136] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [96: 16896] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [293: 4688] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 6912] @ 0x48dd2c 0x4752f7 0x5305e6 0x19bb4d3 0x19bb54f 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x19bb4d2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).channelHigherScopedPermissionsQuery+0xb2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:410 # 0x19bb54e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x2e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:420 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 38016] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [108: 5184] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [42: 6048] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [53: 13568] @ 0x48dd05 0x493087 0x21f0d5e 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21f0d5d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x33d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:164 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 4480] @ 0x48dd05 0x428505 0x99f8e5 0x9a35e6 0x9a393c 0xb75672 0xb75eaa 0xb759ef 0x12880d3 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a35e5 github.com/hashicorp/yamux.(*Stream).sendClose+0x125 github.com/hashicorp/yamux@v0.1.2/stream.go:313 # 0x9a393b github.com/hashicorp/yamux.(*Stream).Close+0x1db github.com/hashicorp/yamux@v0.1.2/stream.go:373 # 0xb75671 net/rpc.(*gobServerCodec).Close+0x31 net/rpc/server.go:438 # 0xb75ea9 net/rpc.(*Server).ServeCodec+0x3e9 net/rpc/server.go:485 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [68: 4352] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb59638 0xb59608 0xb598d7 0xb5b2f5 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59637 encoding/gob.overflow+0x6f7 encoding/gob/decode.go:109 # 0xb59607 encoding/gob.(*Decoder).decOpFor+0x6c7 encoding/gob/decode.go:885 # 0xb598d6 encoding/gob.(*Decoder).decOpFor+0x996 encoding/gob/decode.go:866 # 0xb5b2f4 encoding/gob.(*Decoder).compileSingle+0x214 encoding/gob/decode.go:1113 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [112: 7168] @ 0x48dd05 0x428505 0x2716e07 0x2716dd4 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716e06 net/http.MaxBytesReader+0x726 net/http/request.go:1190 # 0x2716dd3 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x6f3 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:216 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 384] @ 0x48dd25 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [137: 24112] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x18d1d05 0x18d1cb6 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x18d1d04 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x2a4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x18d1cb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x255 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1225 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 112] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1841463 0x1842679 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [128: 393216] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 11136] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [137: 8768] @ 0x48dd05 0x428505 0x99f8e5 0x9a3333 0x99ec9f 0xb83a67 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a3332 github.com/hashicorp/yamux.(*Stream).sendWindowUpdate+0x212 github.com/hashicorp/yamux@v0.1.2/stream.go:295 # 0x99ec9e github.com/hashicorp/yamux.(*Session).AcceptStream+0x7e github.com/hashicorp/yamux@v0.1.2/session.go:245 # 0xb83a66 github.com/hashicorp/go-plugin.(*MuxBroker).Run+0x26 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:142 0: 0 [84: 16128] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [71: 9088] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [69: 3312] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5c35c 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c35b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1188 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [103: 59328] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [46: 35328] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [230: 5520] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 784] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x19e287c 0x19e2786 0x19e2776 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x19e287b github.com/lann/builder.Append+0x49b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x19e2785 github.com/mattermost/squirrel.UpdateBuilder.Set+0x3a5 github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:145 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [84: 408576] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [293: 32816] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [75: 52800] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 832] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [18: 41472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [44: 1056] @ 0x48dd05 0x428505 0x51e9da 0xb55e25 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x51e9d9 reflect.Value.Slice+0x99 reflect/value.go:2366 # 0xb55e24 encoding/gob.decUint8Slice+0x524 encoding/gob/decode.go:396 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [79: 70784] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [119: 1904] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [95: 36480] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 3040] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [82: 15744] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 192] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 240] @ 0x48dd25 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c748 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 224] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19031b6 0x190316e 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19031b5 github.com/mattermost/squirrel.SelectBuilder.Join+0x535 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x190316d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x4ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:421 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [181: 324352] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [68: 4352] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [97: 2328] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 408] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x4d67f7 0x4d67f8 0x573885 0x573851 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4d67f6 internal/filepathlite.(*lazybuf).string+0x916 internal/filepathlite/path.go:61 # 0x4d67f7 internal/filepathlite.Clean+0x917 internal/filepathlite/path.go:137 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [11: 176] @ 0x48dd25 0x4752f7 0xc8413d 0xc8413e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8413c github.com/tinylib/msgp/msgp.ReadStringBytes+0x33c github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8413d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x33d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [440: 77440] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 240] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2835dfd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2835dfc github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0x7c github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [130: 3120] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd05 0x4246eb 0x212d14a 0x2644d9f 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x2644d9e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x5e github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [112: 129024] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [229: 263808] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [330: 105600] @ 0x48dd05 0x428505 0xccbc68 0xccbc5c 0xccbc38 0x25eabec 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccbc67 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x47 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbc5b github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x3b github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0xccbc37 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x17 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x25eabeb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x13ab github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:251 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [196: 21952] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 320] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [155: 22320] @ 0x48dd05 0x428505 0xb5cc13 0xb757d0 0x12880d3 0x498001 # 0xb5cc12 encoding/gob.NewDecoder+0x32 encoding/gob/decoder.go:46 # 0xb757cf net/rpc.(*Server).ServeConn+0x12f net/rpc/server.go:451 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [15: 4800] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x195da4a 0x195d9ce 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x195da49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195d9cd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x3ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:58 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [167: 812288] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 2464] @ 0x48dd2c 0x41d5e6 0x56ec0a 0x805395 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ec09 context.(*cancelCtx).Done+0x129 context/context.go:457 # 0x805394 database/sql.(*DB).conn+0xd4 database/sql/sql.go:1325 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [65: 1040] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [19: 4864] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 26880] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x224680a 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x2246809 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0xe9 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:111 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [63: 1512] @ 0x48dd05 0x4246eb 0x212d14a 0x26451cc 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x212d149 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheStore.Role+0x89 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:515 # 0x26451cb github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x14b github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [20: 3840] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 416] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 2400] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [60: 960] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [75: 15600] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [592: 28416] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [42: 672] @ 0x48dd05 0x428505 0x8080ba 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x8080b9 database/sql.(*DB).query+0x79 database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [189: 12096] @ 0x48dd05 0x493087 0x22702c6 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x22702c5 github.com/getsentry/sentry-go.StartTransaction+0x165 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1158 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [480: 76800] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [87: 1392] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 496] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [807: 361536] @ 0x48dd05 0x493087 0x2719afe 0x27194e2 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719afd github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x4bd github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:166 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [81: 3888] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x272639e 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x272639d github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x177d github.com/mattermost/mattermost/server/v8/channels/web/params.go:240 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [141: 6768] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x7752b3 0x779bd8 0x498001 # 0x7752b2 net/http.(*conn).readRequest+0x7f2 net/http/server.go:1058 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [608: 155648] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [259: 795648] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [98: 3136] @ 0x48dd05 0x428505 0xb5b134 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5b133 encoding/gob.(*Decoder).compileSingle+0x53 encoding/gob/decode.go:1102 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [141: 198528] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [471: 241152] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0x21fb0ad 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0x21fb0ac github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2ac github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:485 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [978: 344256] @ 0x48dd05 0x428505 0x226bf08 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226bf07 github.com/getsentry/sentry-go.StartSpan+0x87 github.com/getsentry/sentry-go@v0.46.2/tracing.go:132 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [290: 32480] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x48d725 0x18ec112 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec111 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0xf1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [126: 177408] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 5824] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [156: 7488] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x22655ff 0x2267768 0x225e4d2 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x22655fe github.com/getsentry/sentry-go.NewScope+0x1e github.com/getsentry/sentry-go@v0.46.2/scope.go:61 # 0x2267767 github.com/getsentry/sentry-go.(*Scope).Clone+0x87 github.com/getsentry/sentry-go@v0.46.2/scope.go:335 # 0x225e4d1 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.46.2/hub.go:118 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a0e68 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19210ea 0x1a7f12e 0x1867c1a 0x218adda 0x2518ff8 0x2519177 0x27d89db 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a0e67 github.com/jmoiron/sqlx.(*Row).Scan+0x187 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:216 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19210e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlFileInfoStore.get+0x369 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/file_info_store.go:239 # 0x1a7f12d 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:249 # 0x1867c19 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:5415 # 0x218add9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerFileInfoStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:4441 # 0x2518ff7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getFileInfo+0x57 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1288 # 0x2519176 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfo+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:1302 # 0x27d89da github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xda github.com/mattermost/mattermost/server/v8/channels/api4/file.go:641 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 3584] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0xc61d7c 0xc61f0f 0x281e645 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d7b github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0x11b github.com/mattermost/mattermost/server/public/model/post_list.go:94 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281e644 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x10c4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:343 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 512] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x19de407 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [128: 4194304] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x730127 0x2738d91 0x27db17c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x730126 net/http.ServeContent+0x66 net/http/fs.go:257 # 0x2738d90 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x2d0 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:54 # 0x27db17b github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0xa7b github.com/mattermost/mattermost/server/v8/channels/api4/file.go:824 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 4928] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2739085 0x2739017 0x2738ff9 0x2738b32 0x27d936e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2739084 net/textproto.MIMEHeader.Set+0x104 net/textproto/header.go:22 # 0x2739016 net/http.Header.Set+0x96 net/http/header.go:40 # 0x2738ff8 github.com/mattermost/mattermost/server/v8/platform/shared/web.setHeaders+0x78 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:72 # 0x2738b31 github.com/mattermost/mattermost/server/v8/platform/shared/web.WriteFileResponse+0x71 github.com/mattermost/mattermost/server/v8/platform/shared/web/files.go:43 # 0x27d936d github.com/mattermost/mattermost/server/v8/channels/api4.getFileThumbnail+0xa6d github.com/mattermost/mattermost/server/v8/channels/api4/file.go:692 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 432] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2620425 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2620424 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:612 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 144] @ 0x48dd05 0x493087 0x652aaa 0x658c7d 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x652aa9 crypto/x509.parseName+0x269 crypto/x509/parser.go:174 # 0x658c7c crypto/x509.parseCertificate+0x53c crypto/x509/parser.go:963 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [124: 5952] @ 0x48dd2c 0x492ae9 0x1253e73 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253e72 github.com/lib/pq.decideColumnFormats+0x132 github.com/lib/pq@v1.12.3/conn.go:742 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 131072] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 2080] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x17ef09c 0x17ef057 0x26ade2b 0x26a95c5 0x26a954d 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x17ef09b github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0x5b github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x17ef056 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetSanitizeOptions+0x16 github.com/mattermost/mattermost/server/v8/channels/app/users/utils.go:49 # 0x26ade2a github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeProfile+0x2a github.com/mattermost/mattermost/server/v8/channels/app/user.go:1329 # 0x26a95c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sanitizeProfiles+0x224 github.com/mattermost/mattermost/server/v8/channels/app/user.go:884 # 0x26a954c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0x1ac github.com/mattermost/mattermost/server/v8/channels/app/user.go:868 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 6336] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x730e65 0x730dd3 0x730d94 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x730e64 net/textproto.MIMEHeader.Set+0xc24 net/textproto/header.go:22 # 0x730dd2 net/http.Header.Set+0xb92 net/http/header.go:40 # 0x730d93 net/http.serveContent+0xb53 net/http/fs.go:424 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x428505 0xb89ef4 0xb8d1fc 0xb8d38a 0xb8e085 0xb8e086 0xb8e37b 0xb8df85 0x2622285 0x261de59 0x261dce6 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xb89ef3 github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).parseBackticks+0x1b3 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:165 # 0xb8d1fb github.com/mattermost/mattermost/server/public/shared/markdown.(*inlineParser).Parse+0x1fb github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:577 # 0xb8d389 github.com/mattermost/mattermost/server/public/shared/markdown.ParseInlines+0x129 github.com/mattermost/mattermost/server/public/shared/markdown/inlines.go:611 # 0xb8e084 github.com/mattermost/mattermost/server/public/shared/markdown.(*Paragraph).ParseInlines+0xc4 github.com/mattermost/mattermost/server/public/shared/markdown/paragraph.go:20 # 0xb8e085 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect.func1+0xc5 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:27 # 0xb8e37a github.com/mattermost/mattermost/server/public/shared/markdown.InspectBlock+0x1da github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:57 # 0xb8df84 github.com/mattermost/mattermost/server/public/shared/markdown.Inspect+0x64 github.com/mattermost/mattermost/server/public/shared/markdown/inspect.go:21 # 0x2622284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFirstLinkAndImages+0x84 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:789 # 0x261de58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0xf8 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:287 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 2304] @ 0x48dd05 0x428505 0x261cc45 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x261cc44 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:197 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 48] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x26020e5 0x281f149 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x26020e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsForChannelAroundLastUnread+0x484 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1848 # 0x281f148 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x5c8 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:391 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 28672] @ 0x48dd2c 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [689: 90308608] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [74: 16576] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [342: 164160] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 5984] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [20: 573440] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [20: 2621440] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x552643 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x2766f66 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x2766f65 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x805 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1402 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [62: 2976] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd1dc 0x27270a7 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd1db strconv.ParseInt+0x5b strconv/number.go:140 # 0x27270a6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2486 github.com/mattermost/mattermost/server/v8/channels/web/params.go:320 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 1008] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1ccb2d0 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccb2cf github.com/gorilla/mux.(*Route).Match+0x2ef github.com/gorilla/mux@v1.8.1/route.go:102 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [110: 5280] @ 0x48dd05 0x428505 0x5704f3 0xccbe25 0xccbdf9 0x268cd68 0x268cd3a 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0xccbe24 github.com/mattermost/mattermost/server/v8/channels/store.WithMaster+0x44 github.com/mattermost/mattermost/server/v8/channels/store/context.go:28 # 0xccbdf8 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x18 github.com/mattermost/mattermost/server/v8/channels/store/context.go:33 # 0x268cd67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x268cd39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0x59 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [269: 30128] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [313: 90144] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc849e5 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xbe4 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 22016] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [46: 736] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 9504] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [162: 10368] @ 0x48dd05 0x428505 0x80da0f 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80da0e database/sql.(*Rows).initContextClose+0xce database/sql/sql.go:2996 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [34: 9792] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f8025 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19f8024 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x304 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1175 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [23: 2944] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [348: 50112] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [155: 44640] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [64: 73728] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [325: 10400] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [117: 2808] @ 0x48dd05 0x48de45 0x52107d 0x1399f0a 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x1399f09 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0xe9 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:210 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [108: 5184] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [238: 121856] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [94: 3008] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28aba76 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28aba75 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x1b5 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1152 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 6048] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [18: 864] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726ec7 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726ec6 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x22a6 github.com/mattermost/mattermost/server/v8/channels/web/params.go:306 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [416: 66560] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 288] @ 0x48dd05 0x428505 0x5469b7 0x1a1e6aa 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0x1a1e6a9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0x629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:599 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 128] @ 0x48dd05 0x493087 0x1840939 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1840938 github.com/mattermost/squirrel.conj.join+0x298 github.com/mattermost/squirrel@v0.5.0/expr.go:396 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [135: 6480] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x226c9fe 0x2663617 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226c9fd github.com/getsentry/sentry-go.(*Span).SetData+0x9d github.com/getsentry/sentry-go@v0.46.2/tracing.go:306 # 0x2663616 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x256 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:109 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 10608] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [188: 9024] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [65: 3120] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [487: 140256] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc849e5 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xbe4 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [8: 192] @ 0x48dd05 0x428505 0x1256edf 0x125b37c 0x125457f 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b37b github.com/lib/pq.(*conn).readParseResponse+0x1b github.com/lib/pq@v1.12.3/conn.go:1618 # 0x125457e github.com/lib/pq.(*conn).prepareTo+0x55e github.com/lib/pq@v1.12.3/conn.go:777 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 13824] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [25: 1600] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [212: 23744] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [277: 13296] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [130: 6240] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x2265616 0x2267768 0x225e4d2 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2265615 github.com/getsentry/sentry-go.NewScope+0x35 github.com/getsentry/sentry-go@v0.46.2/scope.go:65 # 0x2267767 github.com/getsentry/sentry-go.(*Scope).Clone+0x87 github.com/getsentry/sentry-go@v0.46.2/scope.go:335 # 0x225e4d1 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.46.2/hub.go:118 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 60032] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [67: 1608] @ 0x48dd05 0x428505 0x226fca5 0x2663570 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226fca4 github.com/getsentry/sentry-go.WithSpanOrigin+0x24 github.com/getsentry/sentry-go@v0.46.2/tracing.go:1040 # 0x266356f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x1af github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:102 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [29: 464] @ 0x48dd2c 0x4930f3 0x557139 0x55753c 0x547433 0x548ee7 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x547432 encoding/json.(*decodeState).scanWhile+0x72 encoding/json/decode.go:301 # 0x548ee6 encoding/json.(*decodeState).object+0xb06 encoding/json/decode.go:751 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [260: 4160] @ 0x48dd25 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [310: 9920] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [55: 1320] @ 0x48dd05 0x428505 0x183a15b 0x1839685 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x183a15a github.com/lann/builder.newBuilderStruct+0x3a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [74: 66304] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f81a6 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f81a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x485 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1176 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 272] @ 0x48dd25 0x4752f7 0xc8413d 0xc8413e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8413c github.com/tinylib/msgp/msgp.ReadStringBytes+0x33c github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8413d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x33d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:503 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [50: 115200] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [54: 17280] @ 0x48dd05 0x428505 0x726335 0x7263e6 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x726334 net/http.send.func1+0x554 net/http/client.go:238 # 0x7263e5 net/http.send+0x605 net/http/client.go:260 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [10: 240] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [129: 14448] @ 0x48dd2c 0x41d5e6 0xb83c7e 0xb832a9 0x1287b9d 0x498001 # 0xb83c7d github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xbd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:178 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [1: 704] @ 0x48dd0c 0x493087 0x73e165 0x71cf6f 0x71ce8a 0x71c7c5 0x71c5f3 0x73d572 0x738825 0x738a51 0x75a82a 0x759c12 0x498001 # 0x73e164 net/http.(*http2Framer).readMetaFrame.func1+0x304 net/http/h2_bundle.go:3203 # 0x71cf6e vendor/golang.org/x/net/http2/hpack.(*Decoder).callEmit+0x6e vendor/golang.org/x/net/http2/hpack/hpack.go:406 # 0x71ce89 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseFieldLiteral+0x429 vendor/golang.org/x/net/http2/hpack/hpack.go:396 # 0x71c7c4 vendor/golang.org/x/net/http2/hpack.(*Decoder).parseHeaderFieldRepr+0xe4 vendor/golang.org/x/net/http2/hpack/hpack.go:316 # 0x71c5f2 vendor/golang.org/x/net/http2/hpack.(*Decoder).Write+0x132 vendor/golang.org/x/net/http2/hpack/hpack.go:262 # 0x73d571 net/http.(*http2Framer).readMetaFrame+0x2d1 net/http/h2_bundle.go:3241 # 0x738824 net/http.(*http2Framer).ReadFrameForHeader+0x364 net/http/h2_bundle.go:2114 # 0x738a50 net/http.(*http2Framer).ReadFrame+0x70 net/http/h2_bundle.go:2134 # 0x75a829 net/http.(*http2clientConnReadLoop).run+0xc9 net/http/h2_bundle.go:9550 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [409: 157056] @ 0x48dd05 0x492ae9 0x25ea3ec 0x25ea391 0x25e9edd 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25ea3eb github.com/mattermost/logr/v2.Logger.With+0xbab github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x25ea390 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0xb50 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x25e9edc github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x69c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:210 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [275: 30800] @ 0x48dd05 0x428505 0x41d554 0x9a1f3b 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f3a github.com/hashicorp/yamux.newStream+0x7a github.com/hashicorp/yamux@v0.1.2/stream.go:72 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [58: 33408] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [189: 3024] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [60: 960] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 1008] @ 0x48dd25 0x4752f7 0x54c6e7 0x54c6d0 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c6e6 encoding/json.unquote+0xc6 encoding/json/decode.go:1189 # 0x54c6cf encoding/json.(*decodeState).objectInterface+0xaf encoding/json/decode.go:1095 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [115: 1840] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 16] @ 0x48dd05 0x492ae9 0x542c16 0x2479b09 0x2479b01 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x542c15 strings.Fields+0x75 strings/strings.go:404 # 0x2479b08 github.com/mattermost/mattermost/server/public/model.(*User).GetRoles+0x48 github.com/mattermost/mattermost/server/public/model/user.go:853 # 0x2479b00 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x40 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:301 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [407: 234432] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 9984] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x18409eb 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x18409ea github.com/mattermost/squirrel.conj.join+0x34a github.com/mattermost/squirrel@v0.5.0/expr.go:400 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [145: 204160] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [13: 1456] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x1a06976 0x1a0692e 0x1309f10 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x1a06975 github.com/mattermost/squirrel.SelectBuilder.Join+0x255 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x1a0692d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x20d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:456 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [273: 30576] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [28: 7168] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x18462df 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x18462de github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:223 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [960: 307200] @ 0x48dd05 0x428505 0x1cc80ff 0x1cc81b2 0x1cc52ba 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1cc80fe net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0x1cc81b1 github.com/gorilla/mux.requestWithVars+0x131 github.com/gorilla/mux@v1.8.1/mux.go:450 # 0x1cc52b9 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 3792] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb73145 0xb7231f 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb73144 net/rpc.(*gobClientCodec).ReadResponseHeader+0x24 net/rpc/client.go:228 # 0xb7231e net/rpc.(*Client).input+0x9e net/rpc/client.go:109 0: 0 [29: 3712] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [141: 72192] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [161: 7728] @ 0x48dd05 0x428505 0x4121bf 0x48e488 0x22678e6 0x22678c6 0x225e4d2 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e487 maps.clone+0x27 runtime/map.go:326 # 0x22678e5 maps.Clone[...]+0x205 maps/maps.go:55 # 0x22678c5 github.com/getsentry/sentry-go.(*Scope).Clone+0x1e5 github.com/getsentry/sentry-go@v0.46.2/scope.go:341 # 0x225e4d1 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.46.2/hub.go:118 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [33: 792] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [46: 23552] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [187: 8976] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [42: 1008] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [67: 21440] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd05 0x428505 0xb59654 0xb59609 0xb59608 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59653 errors.New+0x713 errors/errors.go:65 # 0xb59608 encoding/gob.overflow+0x6c8 encoding/gob/decode.go:109 # 0xb59607 encoding/gob.(*Decoder).decOpFor+0x6c7 encoding/gob/decode.go:885 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [30: 1440] @ 0x48dd05 0x428505 0x5704f3 0x7798c5 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x7798c4 net/http.(*conn).serve+0xc4 net/http/server.go:1901 0: 0 [9: 1152] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [85: 696320] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [172: 5504] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [113: 32544] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [103: 9888] @ 0x48dd05 0x428505 0xc84cf8 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc84cf7 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xef7 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:567 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 3360] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 2688] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 16896] @ 0x48dd0c 0x428505 0x724d3a 0x4a2651 0x75f348 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x724d39 net/http.init.func14+0x19 net/http/h2_bundle.go:10448 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x75f347 net/http.http2gzipPoolGet+0x27 net/http/h2_bundle.go:10452 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [140: 197120] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 240] @ 0x48dd05 0x492ae9 0x11359c8 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x11359c7 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 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [191: 36672] @ 0x48dd05 0x428505 0x72e878 0x25e9bb3 0x25e9bbc 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e877 net/http.readCookies+0x497 net/http/cookie.go:411 # 0x25e9bb2 net/http.(*Request).Cookie+0x372 net/http/request.go:452 # 0x25e9bbb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x37b github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:182 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [128: 3072] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [176: 19712] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [31: 744] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 1536] @ 0x48dd2c 0x475974 0x474e05 0xca25c5 0xca23b2 0x21fba30 0x21fadd7 0x4a3a6a 0x498001 # 0xca25c4 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).precomputedJSONBuf+0x144 github.com/mattermost/mattermost/server/public/model/websocket_message.go:405 # 0xca23b1 github.com/mattermost/mattermost/server/public/model.(*WebSocketEvent).Encode+0x31 github.com/mattermost/mattermost/server/public/model/websocket_message.go:383 # 0x21fba2f github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).writePump+0x44f github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:585 # 0x21fadd6 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump.func1+0x16 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:411 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [75: 4800] @ 0x48dd05 0x4246eb 0xb66f45 0xb67456 0xb67174 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb66f44 encoding/gob.(*Encoder).sendActualType+0x104 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb67173 encoding/gob.(*Encoder).sendActualType+0x333 encoding/gob/encoder.go:129 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [93: 2976] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [222: 255744] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1841463 0x1842679 0x19dc226 0x19e11ee 0x1886472 0x21ade4b 0x21f1b7c 0x21f496d 0x21fb545 0x21d4da2 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1841462 github.com/mattermost/squirrel.(*insertData).ToSql+0x422 github.com/mattermost/squirrel@v0.5.0/insert.go:113 # 0x1842678 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x118 github.com/mattermost/squirrel@v0.5.0/insert.go:216 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x19e11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.SaveOrUpdate+0x64d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:59 # 0x1886471 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13710 # 0x21ade4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10837 # 0x21f1b7b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SaveAndBroadcastStatus+0x5b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:219 # 0x21f496c github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x14c github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:504 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [31: 5952] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2249a85 0x224c270 0x224c0d3 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2249a84 github.com/getsentry/sentry-go/report.(*ClientReport).ToEnvelopeItem+0x24 github.com/getsentry/sentry-go@v0.46.2/report/report.go:18 # 0x224c26f github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x4f github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:519 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [27: 432] @ 0x48dd25 0x492ae9 0x9a1ef4 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1ef3 github.com/hashicorp/yamux.newStream+0x33 github.com/hashicorp/yamux@v0.1.2/stream.go:69 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [252: 4032] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [82: 41984] @ 0x48dd2c 0x492ae9 0x4cf2a5 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x4cf2a4 io.ReadAll+0x44 io/io.go:712 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [118: 5664] @ 0x48dd05 0x428505 0x1846f45 0x1846f13 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846f44 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 120] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x196fd95 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x196fd94 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x714 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1426 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1482: 426816] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [77: 1232] @ 0x48dd25 0x4930f3 0x54d4e5 0xca6bee 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xca6bed github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x2d github.com/mattermost/mattermost/server/public/model/channel.go:575 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [82: 2624] @ 0x48dd05 0x428505 0xb7606a 0xb767f7 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb76069 net/rpc.(*Server).getRequest+0xa9 net/rpc/server.go:512 # 0xb767f6 net/rpc.(*Server).readRequestHeader+0x36 net/rpc/server.go:588 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [27: 8640] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19de407 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [228: 116736] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 10080] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a05fb9 0x188be7b 0x21b47c2 0x2695c42 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a05fb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:403 # 0x188be7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetTeamsUnreadForUser+0x9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15324 # 0x21b47c1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetTeamsUnreadForUser+0xa1 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12098 # 0x2695c41 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xa41 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1771 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [409: 71984] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [186: 59520] @ 0x48dd05 0x428505 0x21fd925 0x21fd914 0x21fd894 0x21fdb4c 0x220a009 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fd924 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xc4 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0x21fd913 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0xb3 github.com/mattermost/mattermost/server/public/shared/request/context.go:126 # 0x21fd893 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsMFAAuthenticated+0x33 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:813 # 0x21fdb4b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).IsAuthenticated+0x2b github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:825 # 0x220a008 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xbe8 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:109 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 352] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [444: 63936] @ 0x48dd05 0x428505 0x63bc05 0x63ba86 0x79ad88 0x774ce7 0x779bd8 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63ba85 net/url.ParseRequestURI+0x25 net/url/url.go:420 # 0x79ad87 net/http.readRequest+0x3e7 net/http/request.go:1123 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [65: 7280] @ 0x48dd2c 0x4752f7 0xc9729e 0xc9729f 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc9729d github.com/tinylib/msgp/msgp.ReadStringBytes+0x21d github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc9729e github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x21e github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:529 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [982: 188544] @ 0x48dd05 0x428505 0x249eb59 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x249eb58 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x238 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2526 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [239: 183552] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [55: 35200] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [266: 29792] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [111: 5328] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [485: 201760] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x415da5 0xb5c38f 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c38e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1189 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [9: 432] @ 0x48dd2c 0x4930f3 0x7b9e2c 0x7ba466 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b9e2b regexp.(*Regexp).doOnePass+0x52b regexp/exec.go:507 # 0x7ba465 regexp.(*Regexp).doExecute+0x2a5 regexp/exec.go:532 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 2912] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [122: 13664] @ 0x48dd05 0x492ae9 0xb5ba3e 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba3d encoding/gob.(*Decoder).compileDec+0x1dd encoding/gob/decode.go:1156 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [25: 11200] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [159: 10176] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [116: 1856] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [251: 28112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [191: 929024] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x2784e2c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x2784e2b github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x16b github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:20 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1296] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [22: 3520] @ 0x48dd05 0x493087 0x1844505 0x1845233 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844504 github.com/mattermost/squirrel.appendToSql+0x1c4 github.com/mattermost/squirrel@v0.5.0/part.go:60 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 224] @ 0x48dd05 0x428505 0x412f72 0x411acd 0x417d07 0x54c76d 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [133: 68096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 3840] @ 0x48dd2c 0x4752f7 0x2248491 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x2248490 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x310 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:36 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [8: 128] @ 0x48dd25 0x4752f7 0x124f2d6 0x126e914 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x126e913 github.com/lib/pq.(*rows).Next+0x113 github.com/lib/pq@v1.12.3/rows.go:99 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [34: 544] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [47: 1504] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0xc403f9 0xc40394 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0xc403f8 path/filepath.Join+0x118 path/filepath/path.go:131 # 0xc40393 github.com/mattermost/mattermost/server/public/model.FindManifest+0xb3 github.com/mattermost/mattermost/server/public/model/manifest.go:458 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [506: 8096] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0x55121a 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0x551219 encoding/json.mapEncoder.encode+0x339 encoding/json/encode.go:789 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x190354f 0x19034c6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x190354e github.com/mattermost/squirrel.SelectBuilder.From+0x8ce github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19034c5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x845 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:433 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [77: 4928] @ 0x48dd05 0x428505 0xb5cf98 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5cf97 encoding/gob.(*Decoder).recvType+0x97 encoding/gob/decoder.go:69 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [91: 37856] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [60: 23040] @ 0x48dd2c 0x4930f3 0x54d4e5 0x2246765 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x2246764 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x44 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:106 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [1: 16] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x80de25 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x80de24 database/sql.(*Rows).Next+0x84 database/sql/sql.go:3044 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [145: 3480] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [139: 2224] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [844: 8210432] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [73: 1168] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [40: 1920] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [277: 31024] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [104: 2496] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [88: 25344] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x196d565 0x196d55e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x196d564 github.com/mattermost/mattermost/server/public/model.NewPostList+0x64 github.com/mattermost/mattermost/server/public/model/post_list.go:29 # 0x196d55d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x5d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1260 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 209664] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [262: 301824] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [207: 36432] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 528] @ 0x48dd05 0x428505 0x271732e 0x2717301 0x2717138 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271732d net/textproto.MIMEHeader.Set+0xc4d net/textproto/header.go:22 # 0x2717300 net/http.Header.Set+0xc20 net/http/header.go:40 # 0x2717137 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0xa57 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:226 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [118: 181248] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [185: 11840] @ 0x48dd05 0x48de45 0x52107d 0xb764e5 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764e4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:562 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [171: 2736] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 432] @ 0x48dd05 0x492ae9 0x54295f 0x8fc1d4 0x8fc16b 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8fc1d3 strings.Split+0xd3 strings/strings.go:361 # 0x8fc16a github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x6a github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:268 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [193: 9264] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x1a06995 0x1309f10 0x498001 # 0x1a06994 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x274 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:457 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [120: 1920] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 90112] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbee839 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2115138 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbee838 github.com/vmihailenco/msgpack/v5.encodeMapStringStringValue+0x1d8 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:74 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2115137 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x1d7 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:318 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [142: 6816] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x226560c 0x2267768 0x225e4d2 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226560b github.com/getsentry/sentry-go.NewScope+0x2b github.com/getsentry/sentry-go@v0.46.2/scope.go:64 # 0x2267767 github.com/getsentry/sentry-go.(*Scope).Clone+0x87 github.com/getsentry/sentry-go@v0.46.2/scope.go:335 # 0x225e4d1 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.46.2/hub.go:118 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [129: 693504] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [224: 3584] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [16: 768] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xbe6e47 0xbe6d4a 0xbe6d7b 0xbf69a3 0xbe7b79 0xbe7930 0xbe489a 0xbe45db 0xbe3577 0xca2a48 0x21fb10a 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe6e46 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeMap+0x66 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:164 # 0xbe6d49 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeMapStringInterfacePtr+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:142 # 0xbe6d7a github.com/vmihailenco/msgpack/v5.decodeMapStringInterfaceValue+0x9a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:138 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0xca2a47 github.com/mattermost/mattermost/server/public/model.(*WebSocketRequest).Clone+0x67 github.com/mattermost/mattermost/server/public/model/websocket_request.go:36 # 0x21fb109 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x309 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:496 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 672] @ 0x48dd2c 0x4752f7 0xc8b257 0xc8b258 0xc84d7e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8b256 github.com/tinylib/msgp/msgp.ReadStringBytes+0x96 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc8b257 github.com/mattermost/mattermost/server/public/model.(*TeamMember).UnmarshalMsg+0x97 github.com/mattermost/mattermost/server/public/model/team_member_serial_gen.go:156 # 0xc84d7d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xf7d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:569 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [333: 10911744] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [86: 4128] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726e77 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726e76 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2256 github.com/mattermost/mattermost/server/v8/channels/web/params.go:305 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [57: 23712] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 888] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4dc7 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4dc6 github.com/jmoiron/sqlx.scanAll+0x766 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:972 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [306: 4896] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 512] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc5bac5 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 2912] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x199828a 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x2834706 0x2838d45 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x1998289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x289 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:86 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x2834705 github.com/mattermost/mattermost/server/v8/channels/api4.getV2Group+0x45 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:39 # 0x2838d44 github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x84 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:445 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [224: 64512] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x54c76d 0x54c419 0x54c748 0x54c419 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [128: 196608] @ 0x48dd0c 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [57: 1824] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [211: 6752] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [11: 176] @ 0x48dd05 0x48d725 0x21fb228 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21fb227 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x427 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:510 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [231: 81312] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227f549 0x12f0d2e 0x51716c 0x516019 0xb75014 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227f548 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x28 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x12f0d2d github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).WriteHeader+0x12d github.com/mattermost/mattermost/server/public/plugin/http.go:48 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4: 64] @ 0x48dd05 0x428505 0x224a5c5 0x224a598 0x224a574 0x2249fdc 0x224c44f 0x224c0d3 0x498001 # 0x224a5c4 net/textproto.MIMEHeader.Set+0x564 net/textproto/header.go:22 # 0x224a597 net/http.Header.Set+0x537 net/http/header.go:40 # 0x224a573 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope.func1+0x513 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:94 # 0x2249fdb github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x21b github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [545: 174400] @ 0x48dd05 0x428505 0xccb029 0xccb01d 0x2717d65 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccb028 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x28 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccb01c github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x1c github.com/mattermost/mattermost/server/public/shared/request/context.go:126 # 0x2717d64 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1684 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:275 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 880] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [65: 91520] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [207: 16560] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [422: 74272] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 96] @ 0x48dd05 0x48defe 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [107: 5136] @ 0x48dd05 0x428505 0x13a5f14 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x13a5f13 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x53 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:173 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [30: 12480] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 5376] @ 0x48dd2c 0x4930f3 0x12532aa 0x1253280 0x12559ff 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x247796d 0x2479676 0x28c7985 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12532a9 github.com/lib/pq.(*writeBuf).string+0x189 github.com/lib/pq@v1.12.3/buf.go:72 # 0x125327f github.com/lib/pq.(*conn).simpleQuery+0x15f github.com/lib/pq@v1.12.3/conn.go:632 # 0x12559fe github.com/lib/pq.(*conn).query+0x8fe github.com/lib/pq@v1.12.3/conn.go:902 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28c7984 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x164 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3472 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 18720] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [42: 672] @ 0x48dd05 0x48d725 0x19f54b7 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f54b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [119: 3808] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb56750 0xb59c08 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [134: 2144] @ 0x48dd25 0x4752f7 0xc84930 0xc848f0 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8492f github.com/tinylib/msgp/msgp.ReadStringBytes+0xb2f github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc848ef github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xaef github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:535 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [39: 24960] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [420: 73920] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a0de7 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a0de6 github.com/jmoiron/sqlx.(*Row).Scan+0x106 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:202 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [78: 4992] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [754: 12064] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [388: 68288] @ 0x48dd05 0x492ae9 0xb5ba3e 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba3d encoding/gob.(*Decoder).compileDec+0x1dd encoding/gob/decode.go:1156 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [127: 14224] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0xb832d1 0xb83285 0x1287b9d 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0xb832d0 time.After+0x70 time/sleep.go:203 # 0xb83284 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:61 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [1149: 27576] @ 0x48dd05 0x428505 0x9a420f 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x9a420e github.com/hashicorp/yamux.(*Stream).readData+0x8e github.com/hashicorp/yamux@v0.1.2/stream.go:490 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [321: 7704] @ 0x48dd05 0x428505 0x520cb5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [232: 25984] @ 0x48dd2c 0x41d5e6 0x9a1f51 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f50 github.com/hashicorp/yamux.newStream+0x90 github.com/hashicorp/yamux@v0.1.2/stream.go:75 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [251: 8032] @ 0x48dd2c 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [919: 176448] @ 0x48dd05 0x4246eb 0x28c8232 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x28c8231 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa11 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [849: 10432512] @ 0x48dd0c 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 43904] @ 0x48dd2c 0x4930f3 0x1272805 0x12727e6 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1272804 github.com/lib/pq.(*writeBuf).bytes+0xae4 github.com/lib/pq@v1.12.3/buf.go:80 # 0x12727e5 github.com/lib/pq.(*stmt).exec+0xac5 github.com/lib/pq@v1.12.3/stmt.go:125 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x199820d 0x187b1fa 0x21a0dfa 0x2634c37 0x2634c1e 0x27bc0f2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x199820c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Get+0x20c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:79 # 0x187b1f9 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10464 # 0x21a0df9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Get+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8342 # 0x2634c36 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).GetPropertyGroup+0x36 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:72 # 0x2634c1d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPropertyGroup+0x1d github.com/mattermost/mattermost/server/v8/channels/app/property_group.go:26 # 0x27bc0f1 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0xb1 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [330: 10560] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [54: 2592] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 6912] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x184518b 0x1844d18 0x184613f 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x184518a github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x40a github.com/mattermost/squirrel@v0.5.0/select.go:105 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [16: 768] @ 0x48dd2c 0x4752f7 0x54c91a 0x54c900 0x54c43b 0x54c748 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c919 encoding/json.unquote+0xb9 encoding/json/decode.go:1189 # 0x54c8ff encoding/json.(*decodeState).literalInterface+0x9f encoding/json/decode.go:1144 # 0x54c43a encoding/json.(*decodeState).valueInterface+0x7a encoding/json/decode.go:1046 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [928: 14848] @ 0x48dd05 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [868: 305536] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0xb57892 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0xb57891 encoding/gob.(*Decoder).decodeMap+0x411 encoding/gob/decode.go:608 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [41: 656] @ 0x48dd05 0x428505 0x1846b3c 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b3b github.com/mattermost/squirrel.SelectBuilder.Column+0xbb github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [205: 236160] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5: 800] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x1943368 0x186f455 0x21933ee 0x20defc3 0x20da70e 0x20e3c44 0x20e3045 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x1943367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlJobStore.Save+0x707 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/job_store.go:74 # 0x186f454 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).Save+0x54 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7269 # 0x21933ed github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).Save+0x4d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5864 # 0x20defc2 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CreateJob+0x62 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:43 # 0x20da70d github.com/mattermost/mattermost/server/v8/channels/jobs.(*PeriodicScheduler).ScheduleJob+0x2d github.com/mattermost/mattermost/server/v8/channels/jobs/base_schedulers.go:43 # 0x20e3c43 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).scheduleJob+0xa3 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:169 # 0x20e3044 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x8e4 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:91 0: 0 [228: 10944] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [98: 4704] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x56ef56 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef55 context.(*cancelCtx).propagateCancel+0x155 context/context.go:499 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [111: 1776] @ 0x48dd05 0x428505 0xb5bc45 0xb5bbf3 0xb5bc03 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc44 errors.New+0x3e4 errors/errors.go:65 # 0xb5bbf2 encoding/gob.overflow+0x392 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [136: 4352] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [92: 82432] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [128: 147456] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x1990b85 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1990b84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x704 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:202 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [32: 86016] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1: 48] @ 0x48dd2c 0x4930f3 0x7b835c 0x7ba437 0x7c1e57 0x1cca905 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x7b835b regexp.(*Regexp).backtrack+0x33b regexp/backtrack.go:362 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7c1e56 regexp.(*Regexp).FindStringSubmatchIndex+0x56 regexp/regexp.go:1039 # 0x1cca904 github.com/gorilla/mux.routeRegexpGroup.setMatch+0x1a4 github.com/gorilla/mux@v1.8.1/regexp.go:345 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [139: 4448] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 192] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x19f0d85 0x19f0d29 0x1887864 0x21af736 0x268c2a8 0x288b37c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19f0d84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f0d28 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetAllPage+0x4a8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:644 # 0x1887863 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetAllPage+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14136 # 0x21af735 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetAllPage+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11172 # 0x268c2a7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAllTeamsPage+0x67 github.com/mattermost/mattermost/server/v8/channels/app/team.go:943 # 0x288b37b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x67b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1334 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 5760] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0x736805 0x736eba 0x736dab 0x7405f9 0x75ce9b 0x75ac16 0x759c12 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0x736804 net/http.http2getDataBufferChunk+0x104 net/http/h2_bundle.go:1217 # 0x736eb9 net/http.(*http2dataBuffer).lastChunkOrAlloc+0x59 net/http/h2_bundle.go:1328 # 0x736daa net/http.(*http2dataBuffer).Write+0x8a net/http/h2_bundle.go:1311 # 0x7405f8 net/http.(*http2pipe).Write+0x178 net/http/h2_bundle.go:3955 # 0x75ce9a net/http.(*http2clientConnReadLoop).processData+0x21a net/http/h2_bundle.go:10014 # 0x75ac15 net/http.(*http2clientConnReadLoop).run+0x4b5 net/http/h2_bundle.go:9584 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [115: 3680] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [266: 21280] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x7751a5 0x779bd8 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x7751a4 net/http.(*conn).readRequest+0x6e4 net/http/server.go:1040 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [6: 672] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846a10 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [225: 21600] @ 0x48dd2c 0x492ae9 0x1253d7a 0x12546be 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1253d79 github.com/lib/pq.decideColumnFormats+0x39 github.com/lib/pq@v1.12.3/conn.go:709 # 0x12546bd github.com/lib/pq.(*conn).prepareTo+0x69d github.com/lib/pq@v1.12.3/conn.go:785 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [138: 15456] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [49: 2352] @ 0x48dd2c 0x4752f7 0x79aa5f 0x79aa60 0x774ce7 0x779bd8 0x498001 # 0x79aa5e net/textproto.(*Reader).ReadLine+0xbe net/textproto/reader.go:45 # 0x79aa5f net/http.readRequest+0xbf net/http/request.go:1087 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [107: 10272] @ 0x48dd05 0x428505 0x25e998b 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25e998a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x14a github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:162 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [148: 208384] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x18ec0d9 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0xb8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 1680] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19dc67b 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19dc67a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x7a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:253 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [241: 23136] @ 0x48dd05 0x428505 0x19ec92c 0x19f5919 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19ec92b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.teamMemberWithSchemeRoles.ToModel+0x24b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:186 # 0x19f5918 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:992 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [868: 55552] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [255: 28560] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [36: 14976] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [104: 29952] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19e225f 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x19e225e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x9e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:124 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [322: 154560] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 816] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x195d7fb 0x195d760 0x1878c04 0x219e336 0x262c5ee 0x261b88d 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x195d7fa github.com/mattermost/squirrel.StatementBuilderType.Select+0x21a github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x195d75f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostPriorityStore).GetForPosts+0x17f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_priority_store.go:53 # 0x1878c03 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostPriorityStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9834 # 0x219e335 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostPriorityStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7862 # 0x262c5ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPriorityForPostList+0x6d github.com/mattermost/mattermost/server/v8/channels/app/post_priority.go:33 # 0x261b88c github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x26c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:73 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [68: 13056] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [256: 73728] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [135: 6480] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [31: 496] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x184771b 0x184769b 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [142: 2272] @ 0x48dd25 0x48d69b 0x126a7e5 0x126a72e 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126a7e4 github.com/lib/pq.binaryDecode+0x44 github.com/lib/pq@v1.12.3/encode.go:70 # 0x126a72d github.com/lib/pq.decode+0x2d github.com/lib/pq@v1.12.3/encode.go:57 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [88: 4224] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725d32 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725d31 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1111 github.com/mattermost/mattermost/server/v8/channels/web/params.go:201 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [33: 1584] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [70: 4480] @ 0x48dd05 0x428505 0xb758c9 0xb7587c 0xb75998 0x12880d3 0x498001 # 0xb758c8 encoding/gob.(*Encoder).newEncoderState+0x228 encoding/gob/encode.go:82 # 0xb7587b encoding/gob.NewEncoder+0x1db encoding/gob/encoder.go:38 # 0xb75997 net/rpc.(*Server).ServeConn+0x2f7 net/rpc/server.go:452 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [21: 5376] @ 0x48dd05 0x493087 0x183f290 0x184db9f 0x184dba0 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183f28f github.com/mattermost/squirrel.Eq.toSQL+0xdaf github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x184db9e github.com/mattermost/squirrel.Eq.ToSql+0x5e github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184db9f github.com/mattermost/squirrel.wherePart.ToSql+0x5f github.com/mattermost/squirrel@v0.5.0/where.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [82: 2624] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846b9b 0x1846a93 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [133: 93632] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [69: 48576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2700f52 0x2700ee7 0x2700ecf 0x2700be8 0x27271b1 0x27850ac 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2700f51 net/textproto.MIMEHeader.Set+0x1b1 net/textproto/header.go:22 # 0x2700ee6 net/http.Header.Set+0x146 net/http/header.go:40 # 0x2700ece github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0x12e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:233 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x27850ab github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x3eb github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 656] @ 0x48dd05 0x428505 0x18476bc 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18476bb github.com/mattermost/squirrel.SelectBuilder.Where+0x11b github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [209: 10032] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x27672f0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x27672ef github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1413 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [43: 15136] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x281d74c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x281d74b github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x1cb github.com/mattermost/mattermost/server/v8/channels/api4/post.go:267 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [164: 5248] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [115: 5520] @ 0x48dd05 0x428505 0x1846ac5 0x1846a93 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846ac4 github.com/mattermost/squirrel.newPart+0x44 github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [305: 7320] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [867: 277440] @ 0x48dd05 0x428505 0x769485 0x26636b8 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x769484 net/http.(*Request).WithContext+0x44 net/http/request.go:372 # 0x26636b7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x2f7 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:121 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 1296] @ 0x48dd2c 0x4752f7 0xc974fa 0xc974fb 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc974f9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x479 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc974fa github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0x47a github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:555 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [242: 50336] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0xb5c38f 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c38e encoding/gob.(*Decoder).getDecEnginePtr+0x8e encoding/gob/decode.go:1189 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [64: 45056] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2817605 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2817604 github.com/mattermost/mattermost/server/v8/channels/api4.getWebappPlugins+0x304 github.com/mattermost/mattermost/server/v8/channels/api4/plugin.go:279 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [251: 28112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [67: 1608] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x19f1dc5 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1dc4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:733 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [87: 2784] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [22: 176] @ 0x48dd05 0x48de45 0x52107d 0xb764fc 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764fb net/rpc.(*Server).readRequest+0x15b net/rpc/server.go:564 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [100: 70400] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x2866385 0x28662f6 0x28662d8 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2866384 net/textproto.MIMEHeader.Set+0xfe4 net/textproto/header.go:22 # 0x28662f5 net/http.Header.Set+0xf55 net/http/header.go:40 # 0x28662d7 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0xf37 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:201 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 26208] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [955: 10390400] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [630: 10080] @ 0x48dd05 0x48de45 0x51747c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51747b reflect.Value.call+0x121b reflect/value.go:652 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1389: 800064] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [84: 4032] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 96] @ 0x48dd2c 0x4752f7 0x5305e6 0x183eea9 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x183eea8 github.com/mattermost/squirrel.Eq.toSQL+0x9c8 github.com/mattermost/squirrel@v0.5.0/expr.go:214 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2477d0c 0x2698039 0x2880227 0x288006d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x2880226 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x3a6 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288006c github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsForUser+0x1ec github.com/mattermost/mattermost/server/v8/channels/api4/team.go:614 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 576] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a0e0f 0x13a3ed2 0x13a58f9 0x19dbabb 0x19dba73 0x18e15a5 0x185c3dd 0x217d8e3 0x249dcf3 0x276dde5 0x276ddb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a0e0e github.com/jmoiron/sqlx.(*Row).Scan+0x12e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:208 # 0x13a3ed1 github.com/jmoiron/sqlx.(*Row).scanAny+0x851 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x18e15a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMember+0x244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2361 # 0x185c3dc github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2409 # 0x217d8e2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2035 # 0x249dcf2 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelMember+0x92 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2441 # 0x276dde4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMember+0x204 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2437 # 0x276ddb6 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMember+0x1d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1936 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [154: 64064] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x25ce9dc 0x127681e 0x12a99f5 0x51716c 0x516019 0xb75014 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x25ce9db github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetUser+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:286 # 0x127681d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetUser+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:173 # 0x12a99f4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2616 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [113: 2712] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [64: 1536] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [29: 464] @ 0x48dd05 0x4246eb 0x18390f0 0x1839345 0x1846b9b 0x1846a93 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18390ef github.com/lann/builder.Set+0x6f github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:44 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [34: 9792] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [136: 6528] @ 0x48dd05 0x428505 0x5704f3 0x226bf56 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x226bf55 github.com/getsentry/sentry-go.StartSpan+0xd5 github.com/getsentry/sentry-go@v0.46.2/tracing.go:139 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [247: 3952] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [776: 248320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [36: 1152] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [140: 6720] @ 0x48dd05 0x428505 0x5704f3 0x225f915 0x2663486 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x225f914 github.com/getsentry/sentry-go.SetHubOnContext+0x34 github.com/getsentry/sentry-go@v0.46.2/hub.go:449 # 0x2663485 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xc5 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:91 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [118: 67968] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x54c76d 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [83: 2656] @ 0x48dd05 0x428505 0x412f72 0x410dc5 0x48e029 0x6f2cd1 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2cd0 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:529 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [133: 6384] @ 0x48dd05 0x428505 0x226c1cb 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226c1ca github.com/getsentry/sentry-go.StartSpan+0x34a github.com/getsentry/sentry-go@v0.46.2/tracing.go:200 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [71: 2272] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x1846a10 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x1846a0f github.com/mattermost/squirrel.SelectBuilder.Columns+0x1cf github.com/mattermost/squirrel@v0.5.0/select.go:262 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [77: 3696] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [315: 181440] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x54c76d 0x54c419 0x54c4eb 0x54c3f2 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c76c encoding/json.(*decodeState).objectInterface+0x14c encoding/json/decode.go:1110 # 0x54c418 encoding/json.(*decodeState).valueInterface+0x58 encoding/json/decode.go:1043 # 0x54c4ea encoding/json.(*decodeState).arrayInterface+0x6a encoding/json/decode.go:1061 # 0x54c3f1 encoding/json.(*decodeState).valueInterface+0x31 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 38912] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x288afd7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x288afd6 github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x2d6 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1312 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [123: 3936] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [625: 240000] @ 0x48dd05 0x492ae9 0x2718f09 0x2718eab 0x27182da 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2718f08 github.com/mattermost/logr/v2.Logger.With+0x2828 github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x2718eaa github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27ca github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x27182d9 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x1bf9 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:318 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 3168] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [572: 183040] @ 0x48dd05 0x428505 0x266d61c 0x266d603 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x266d61b github.com/mattermost/mattermost/server/public/shared/request.EmptyContext+0x5b github.com/mattermost/mattermost/server/public/shared/request/context.go:44 # 0x266d602 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x42 github.com/mattermost/mattermost/server/v8/channels/app/session.go:87 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [24: 2688] @ 0x48dd05 0x428505 0x458d18 0x46be75 0x99fb53 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x99fb52 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x372 github.com/hashicorp/yamux@v0.1.2/session.go:433 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [113: 5424] @ 0x48dd2c 0x4752f7 0x5305e6 0x76a336 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x76a335 net/http.(*Request).AddCookie+0xf5 net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [142: 2272] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [342: 98496] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 352] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x18425b4 0x19eac7f 0x1886f32 0x21aeb6b 0x2472312 0x2865ac5 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19eac7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.SaveOrUpdate+0x51e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:47 # 0x1886f31 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).SaveOrUpdate+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13941 # 0x21aeb6a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).SaveOrUpdate+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11013 # 0x2472311 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckWrite+0x111 github.com/mattermost/mattermost/server/v8/channels/app/app.go:133 # 0x2865ac4 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x724 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:173 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [692: 221440] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [116: 133632] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [37: 37888] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [84: 1344] @ 0x48dd05 0x493087 0x18c738a 0x18c7f54 0x18ec539 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c7389 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.getChannelRoles+0x5e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:271 # 0x18c7f53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x273 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:393 # 0x18ec538 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [14: 224] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x183f245 0x183ed86 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x183f244 reflect.Value.Interface+0xd64 reflect/value.go:1490 # 0x183ed85 github.com/mattermost/squirrel.Eq.toSQL+0x8a5 github.com/mattermost/squirrel@v0.5.0/expr.go:209 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 528] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726d2a 0x2716cb5 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726d29 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2109 github.com/mattermost/mattermost/server/v8/channels/web/params.go:301 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 18432] @ 0x48dd05 0x493087 0x212845a 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2128459 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x739 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:192 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [193: 172928] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [289: 6936] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [120: 84480] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x75b4a5 0x75afff 0x75aae8 0x759c12 0x498001 # 0x75b4a4 net/http.(*http2clientConnReadLoop).handleResponse+0x2c4 net/http/h2_bundle.go:9689 # 0x75affe net/http.(*http2clientConnReadLoop).processHeaders+0x9e net/http/h2_bundle.go:9641 # 0x75aae7 net/http.(*http2clientConnReadLoop).run+0x387 net/http/h2_bundle.go:9582 # 0x759c11 net/http.(*http2ClientConn).readLoop+0x51 net/http/h2_bundle.go:9419 0: 0 [118: 5664] @ 0x48dd05 0x428505 0x225e4f6 0x225e4d3 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225e4f5 github.com/getsentry/sentry-go.NewHub+0x55 github.com/getsentry/sentry-go@v0.46.2/hub.go:68 # 0x225e4d2 github.com/getsentry/sentry-go.(*Hub).Clone+0x32 github.com/getsentry/sentry-go@v0.46.2/hub.go:120 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [54: 1296] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [81: 57024] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [212: 5088] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x521209 0x51dac6 0xb587fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x521208 reflect.Value.assignTo+0x108 reflect/value.go:3202 # 0x51dac5 reflect.Value.Set+0xe5 reflect/value.go:2158 # 0xb587fc encoding/gob.(*Decoder).decodeInterface+0x4dc encoding/gob/decode.go:726 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [59: 16992] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [24: 384] @ 0x48dd05 0x428505 0x8fc610 0x8fc405 0x27169c5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x8fc60f github.com/mattermost/mattermost/server/public/shared/i18n.tfuncWithFallback+0x2f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:297 # 0x8fc404 github.com/mattermost/mattermost/server/public/shared/i18n.GetTranslationsAndLocaleFromRequest+0x304 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:273 # 0x27169c4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:182 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [562: 179840] @ 0x48dd05 0x428505 0x2716ad0 0x2716c0c 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716acf github.com/mattermost/mattermost/server/public/shared/request.NewContext+0x3ef github.com/mattermost/mattermost/server/public/shared/request/context.go:31 # 0x2716c0b github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x52b github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:183 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [507: 8112] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62f5e 0xb6550f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [203: 90944] @ 0x48dd05 0x492ae9 0x6f2ca8 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2ca7 net/textproto.readMIMEHeader+0x67 net/textproto/reader.go:526 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [494: 102752] @ 0x48dd05 0x428505 0x9a1f8e 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f8d github.com/hashicorp/yamux.newStream+0xcd github.com/hashicorp/yamux@v0.1.2/stream.go:65 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [7: 4928] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc5bac5 0x26226dd 0x26209d1 0x261e377 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc5bac4 github.com/mattermost/mattermost/server/public/model.(*Post).Attachments+0x144 github.com/mattermost/mattermost/server/public/model/post.go:980 # 0x26226dc github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesInMessageAttachments+0x3c github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:814 # 0x26209d0 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getImagesForPost+0x610 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:621 # 0x261e376 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x616 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:308 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [173: 16608] @ 0x48dd2c 0x4752f7 0x5305e6 0x76a336 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x76a335 net/http.(*Request).AddCookie+0xf5 net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [148: 4736] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [21: 1680] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [103: 3296] @ 0x48dd2c 0x4752f7 0xbd2a39 0xc9d353 0x25dbd3e 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0xbd2a38 encoding/base32.(*Encoding).EncodeToString+0x138 encoding/base32/base32.go:202 # 0xc9d352 github.com/mattermost/mattermost/server/public/model.NewId+0x52 github.com/mattermost/mattermost/server/public/model/utils.go:384 # 0x25dbd3d github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x19d github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:115 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [549: 26352] @ 0x48dd05 0x48de45 0x52107d 0xb764e5 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb764e4 net/rpc.(*Server).readRequest+0x144 net/rpc/server.go:562 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [423: 6768] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [266: 29792] @ 0x48dd05 0x492ae9 0xb5ba3e 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba3d encoding/gob.(*Decoder).compileDec+0x1dd encoding/gob/decode.go:1156 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [68: 2176] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 384] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x12e2fa7 0x12e2f4f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x12e2fa6 path/filepath.Join+0x166 path/filepath/path.go:131 # 0x12e2f4e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x10e github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [26: 416] @ 0x48dd05 0x48de45 0x52107d 0x7ff4c5 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x7ff4c4 database/sql.convertAssignRows+0x1ce4 database/sql/convert.go:436 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [84: 18816] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1946fae 0x1946f53 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1946fad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x22d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1946f52 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [145: 16240] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [282: 31584] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [702: 202176] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f559f 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f559e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x19e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [674: 345088] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [145: 16240] @ 0x48dd05 0x492ae9 0xb5ba3e 0xb5c447 0xb5941c 0xb595ff 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba3d encoding/gob.(*Decoder).compileDec+0x1dd encoding/gob/decode.go:1156 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb595fe encoding/gob.(*Decoder).decOpFor+0x6be encoding/gob/decode.go:884 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [536: 154368] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc85af6 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc85af5 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x275 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:702 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [131: 6288] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [465: 7440] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [73: 65408] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 14400] @ 0x48dd05 0x428505 0x76be50 0x2249fb5 0x224c44f 0x224c0d3 0x498001 # 0x76be4f net/http.NewRequestWithContext+0x26f net/http/request.go:912 # 0x2249fb4 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0x1f4 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:104 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [148: 2368] @ 0x48dd25 0x48de45 0x52107d 0xb5cb9d 0xb586ce 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb5cb9c encoding/gob.allocValue+0x1c encoding/gob/decode.go:1311 # 0xb586cd encoding/gob.(*Decoder).decodeInterface+0x3ad encoding/gob/decode.go:715 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1958: 563904] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [774: 247680] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [335: 42880] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2207: 1977472] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [134: 8576] @ 0x48dd05 0x428505 0xb57625 0xb59d49 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb57624 encoding/gob.(*Decoder).decodeMap+0x1a4 encoding/gob/decode.go:601 # 0xb59d48 encoding/gob.(*Decoder).decOpFor.func2+0x68 encoding/gob/decode.go:869 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [321: 92448] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1ccac30 0x1cca8ce 0x1ccb370 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1ccb09f 0x1cc4fab 0x1cc527a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1ccac2f github.com/gorilla/mux.extractVars+0x4cf github.com/gorilla/mux@v1.8.1/regexp.go:386 # 0x1cca8cd github.com/gorilla/mux.routeRegexpGroup.setMatch+0x16d github.com/gorilla/mux@v1.8.1/regexp.go:347 # 0x1ccb36f github.com/gorilla/mux.(*Route).Match+0x38f github.com/gorilla/mux@v1.8.1/route.go:106 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1ccb09e github.com/gorilla/mux.(*Route).Match+0xbe github.com/gorilla/mux@v1.8.1/route.go:50 # 0x1cc4faa github.com/gorilla/mux.(*Router).Match+0x6a github.com/gorilla/mux@v1.8.1/mux.go:140 # 0x1cc5279 github.com/gorilla/mux.(*Router).ServeHTTP+0xd9 github.com/gorilla/mux@v1.8.1/mux.go:198 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [49: 1176] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [153: 44064] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [72: 73728] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x28ab930 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x28ab92f github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x6f github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1140 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [80: 71680] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1904617 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1904616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x3f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:505 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 12672] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [93: 142848] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [52: 16640] @ 0x48dd05 0x428505 0x1cc827f 0x1cc8332 0x1cc52ca 0x79b3ee 0x779e50 0x498001 # 0x1cc827e net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0x1cc8331 github.com/gorilla/mux.requestWithRoute+0x131 github.com/gorilla/mux@v1.8.1/mux.go:455 # 0x1cc52c9 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479dea 0x247ab46 0x247aaad 0x2479289 0x28ca1c5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479de9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0x129 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:343 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2479288 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadPost+0x1e8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:239 # 0x28ca1c4 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadForUser+0x2c4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3672 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20: 7040] @ 0x48dd05 0x428505 0xc61d3e 0xc61d32 0xc61f0f 0x281f6bd 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61d3d github.com/mattermost/mattermost/server/public/model.(*Post).Clone+0xdd github.com/mattermost/mattermost/server/public/model/post.go:386 # 0xc61d31 github.com/mattermost/mattermost/server/public/model.(*PostList).StripActionIntegrations+0xd1 github.com/mattermost/mattermost/server/public/model/post_list.go:92 # 0xc61f0e github.com/mattermost/mattermost/server/public/model.(*PostList).EncodeJSON+0x2e github.com/mattermost/mattermost/server/public/model/post_list.go:106 # 0x281f6bc github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0xb3c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:427 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 1584] @ 0x48dd05 0x428505 0x5469b7 0xc9bbe9 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x196e993 0x196e917 0x196efd9 0x1874b59 0x2199913 0x21205c7 0x25fd60e 0x281f337 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bbe8 github.com/mattermost/mattermost/server/public/model.(*StringArray).Scan+0x88 github.com/mattermost/mattermost/server/public/model/utils.go:130 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x196e992 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x832 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196e916 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsCollapsedThreads+0x7b6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1348 # 0x196efd8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPosts+0x4f8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1360 # 0x1874b58 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPosts+0xf8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8799 # 0x2199912 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPosts+0xf2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7063 # 0x21205c6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPosts+0x3e6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:133 # 0x25fd60d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsPage+0x1ad github.com/mattermost/mattermost/server/v8/channels/app/post.go:1231 # 0x281f336 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x7b6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:405 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [327: 104640] @ 0x48dd05 0x428505 0xccb029 0xccb01d 0x25eac02 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccb028 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x28 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccb01c github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithSession+0x1c github.com/mattermost/mattermost/server/public/shared/request/context.go:126 # 0x25eac01 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x13c1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:252 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [775: 3174400] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [56: 14336] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [69: 2208] @ 0x48dd05 0x428505 0x56fd48 0x57040d 0x5703cf 0x19db965 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56fd47 context.WithDeadlineCause+0x207 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [283: 31696] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [366: 58560] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [82: 73472] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [482: 215936] @ 0x48dd05 0x492ae9 0x875bec 0x875b88 0xccbc56 0x25eabec 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x875beb github.com/mattermost/logr/v2.Logger.With+0x8b github.com/mattermost/logr/v2@v2.0.22/logger.go:21 # 0x875b87 github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x27 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0xccbc55 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogFields+0x35 github.com/mattermost/mattermost/server/public/shared/request/context.go:191 # 0x25eabeb github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x13ab github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:251 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [286: 32032] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184771b 0x184769b 0x19f5545 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5544 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x144 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [166: 2719744] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3094: 396032] @ 0x48dd05 0x428505 0xb75d48 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb75d47 net/rpc.(*Server).ServeCodec+0x287 net/rpc/server.go:480 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [437: 10739712] @ 0x48dd0c 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 192] @ 0x48dd05 0x428505 0x184a565 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x184a564 github.com/mattermost/squirrel.(*updateData).ToSql+0xa4 github.com/mattermost/squirrel@v0.5.0/update.go:67 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [456: 2217984] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [34: 13056] @ 0x48dd05 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 28672] @ 0x48dd2c 0x492ae9 0x1250805 0x12507a7 0x1250775 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x808097 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x1250804 bufio.NewReaderSize+0x8c4 bufio/bufio.go:57 # 0x12507a6 bufio.NewReader+0x866 bufio/bufio.go:63 # 0x1250774 github.com/lib/pq.(*Connector).open+0x834 github.com/lib/pq@v1.12.3/conn.go:291 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [110: 126720] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [523: 301248] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [1: 384] @ 0x48dd2c 0x4930f3 0x2700792 0x27271b1 0x2866a0a 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2700791 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0xf1 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:161 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2866a09 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x1669 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:226 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 3536] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x25fe2e5 0x25fe26e 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25fe2e4 github.com/mattermost/mattermost/server/public/model.(*Config).GetSanitizeOptions+0xc4 github.com/mattermost/mattermost/server/public/model/config.go:5187 # 0x25fe26d github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1200: 39321600] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x70d226 0x70cb05 0x75f36b 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x75f36a net/http.http2gzipPoolGet+0x4a net/http/h2_bundle.go:10453 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [22: 5280] @ 0x48dd05 0x492ae9 0x7fcf57 0x808a8e 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x7fcf56 database/sql.driverArgsConnLocked+0x56 database/sql/convert.go:110 # 0x808a8d database/sql.(*DB).queryDC.func1+0xad database/sql/sql.go:1782 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [230: 5520] @ 0x48dd05 0x428505 0x520cb5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [15: 2400] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x1903908 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1903907 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:446 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [345: 5520] @ 0x48dd25 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [78: 17472] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18448eb 0x184de6f 0x1844d4d 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18448ea github.com/mattermost/squirrel.replacePositionalPlaceholders+0x22a github.com/mattermost/squirrel@v0.5.0/placeholder.go:112 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [336: 64512] @ 0x48dd05 0x428505 0x72e878 0x24775b0 0x24775bb 0x2717c6f 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e877 net/http.readCookies+0x497 net/http/cookie.go:411 # 0x24775af net/http.(*Request).Cookie+0x8f net/http/request.go:452 # 0x24775ba github.com/mattermost/mattermost/server/v8/channels/app.ParseAuthTokenFromRequest+0x9a github.com/mattermost/mattermost/server/v8/channels/app/authentication.go:454 # 0x2717c6e github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x158e github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:259 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 320] @ 0x48dd05 0x492ae9 0x54295f 0x223d459 0x223d45f 0x225c134 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x223d458 strings.Split+0x138 strings/strings.go:361 # 0x223d45e github.com/getsentry/sentry-go/internal/otel/baggage.Parse+0x13e github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:466 # 0x225c133 github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x33 github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:21 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 96] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x28821a9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x28821a8 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamMembersForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:776 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 408] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x28320d0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x28320cf github.com/mattermost/mattermost/server/v8/channels/api4.getPreferences+0x18f github.com/mattermost/mattermost/server/v8/channels/api4/preference.go:35 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x4246eb 0x1846025 0x19dbd10 0x19eb49b 0x19eb29c 0x188691a 0x21ae3fa 0x21d2e7b 0x21d273c 0x27b0686 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1846024 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x44 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x19eb49a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByNameWithContext+0x19a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:95 # 0x19eb29b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.GetByName+0xfb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:89 # 0x1886919 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13815 # 0x21ae3f9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).GetByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10917 # 0x21d2e7a github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSystemInstallDate+0x3a github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:405 # 0x21d273b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ClientConfigWithComputed+0x27b github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:350 # 0x27b0685 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x85 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:258 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [503: 3090432] @ 0x48dd0c 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [78: 6240] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [975: 31200] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [76: 2432] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 32] @ 0x48dd05 0x428505 0x19e27bd 0x19e2776 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x19e27bc github.com/mattermost/squirrel.UpdateBuilder.Set+0x3dc github.com/mattermost/squirrel@v0.5.0/update.go:234 # 0x19e2775 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x395 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:145 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [132: 709632] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [260: 16640] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [237: 34128] @ 0x48dd05 0x428505 0x63bc05 0x63b8e9 0x1394651 0x2716ecb 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63bc04 net/url.parse+0xc4 net/url/url.go:442 # 0x63b8e8 net/url.Parse+0x48 net/url/url.go:401 # 0x1394650 github.com/mattermost/mattermost/server/v8/channels/utils.GetSubpathFromConfig+0x30 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:206 # 0x2716eca github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x7ea github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:218 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [219: 45552] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xb74806 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0xb74805 net/rpc.suitableMethods+0x965 net/rpc/server.go:339 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [121: 92928] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x2246b94 0x2246985 0x2246a7d 0x2249e8a 0x224c44f 0x224c0d3 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x2246b93 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).writeItem+0xb3 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:146 # 0x2246984 github.com/getsentry/sentry-go/internal/protocol.(*Envelope).Serialize+0x264 github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:120 # 0x2246a7c github.com/getsentry/sentry-go/internal/protocol.(*Envelope).WriteTo+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/protocol/envelope.go:130 # 0x2249e89 github.com/getsentry/sentry-go/internal/http.getSentryRequestFromEnvelope+0xc9 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:99 # 0x224c44e github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x22e github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:535 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [190: 12160] @ 0x48dd05 0x48de45 0x52107d 0xb54cc5 0xb5685c 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb54cc4 encoding/gob.decAlloc+0x84 encoding/gob/decode.go:229 # 0xb5685b encoding/gob.(*Decoder).decodeStruct+0x25b encoding/gob/decode.go:491 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [400: 6400] @ 0x48dd25 0x4752f7 0x124f2d6 0x125c3f8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x124f2d5 github.com/lib/pq.(*readBuf).string+0xb5 github.com/lib/pq@v1.12.3/buf.go:41 # 0x125c3f7 github.com/lib/pq.parseStatementRowDescribe+0xd7 github.com/lib/pq@v1.12.3/conn.go:1778 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [388: 55872] @ 0x48dd05 0x428505 0x19f5647 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f5646 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x246 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:983 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [207: 26496] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [88: 1408] @ 0x48dd05 0x48d725 0xca6bdf 0x54ee87 0x5529a4 0x550e0a 0x552643 0x54dd73 0x54db31 0x55a790 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xca6bde github.com/mattermost/mattermost/server/public/model.ChannelType.MarshalJSON+0x1e github.com/mattermost/mattermost/server/public/model/channel.go:575 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [131: 6288] @ 0x48dd05 0x428505 0x5704f3 0x1cc80df 0x1cc52ba 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x1cc80de github.com/gorilla/mux.requestWithVars+0x5e github.com/gorilla/mux@v1.8.1/mux.go:449 # 0x1cc52b9 github.com/gorilla/mux.(*Router).ServeHTTP+0x119 github.com/gorilla/mux@v1.8.1/mux.go:200 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [277: 13296] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [188: 6016] @ 0x48dd05 0x428505 0xb5ba13 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba12 encoding/gob.(*Decoder).compileDec+0x1b2 encoding/gob/decode.go:1155 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [73: 21024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x19e233f 0x19e22de 0x18861a4 0x21adaf6 0x21f134c 0x286200d 0x2861fe8 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e233e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x17e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e22dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.GetByIds+0x11d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:127 # 0x18861a3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).GetByIds+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13647 # 0x21adaf5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).GetByIds+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10789 # 0x21f134b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetUserStatusesByIds+0x92b github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:173 # 0x286200c github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUserStatusesByIds+0x2cc github.com/mattermost/mattermost/server/v8/channels/app/status.go:17 # 0x2861fe7 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x2a7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:69 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 2928] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [80: 2560] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 600] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [79: 2528] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [123: 5904] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x18d1ba5 0x18d1b4d 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x18d1ba4 github.com/mattermost/squirrel.StatementBuilderType.Select+0x144 github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x18d1b4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1222 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [162: 5184] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [348: 44544] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 384] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x19de407 0x199b0d9 0x199a7e9 0x187bf06 0x21a1d3d 0x2237d8a 0x2237c9e 0x26356cd 0x28392df 0x2838c85 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x199b0d8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xad8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x199a7e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyValueStore).SearchPropertyValues+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_value_store.go:189 # 0x187bf05 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyValueStore).SearchPropertyValues+0xc5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10695 # 0x21a1d3c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyValueStore).SearchPropertyValues+0xbc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8518 # 0x2237d89 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyValues+0x129 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:86 # 0x2237c9d github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyValues+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_value.go:189 # 0x26356cc github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyValues+0xac github.com/mattermost/mattermost/server/v8/channels/app/property_value.go:102 # 0x28392de github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyValuesCore+0x61e github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:482 # 0x2838c84 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPropertyValues+0x64 github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:441 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [52: 14976] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x199099b 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x199099a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x51a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:194 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [34: 14144] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [2: 416] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x805e25 0x805cf7 0x808097 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x805e24 database/sql.(*DB).addDepLocked+0xb64 database/sql/sql.go:759 # 0x805cf6 database/sql.(*DB).conn+0xa36 database/sql/sql.go:1447 # 0x808096 database/sql.(*DB).query+0x56 database/sql/sql.go:1759 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [366: 1499136] @ 0x48dd2c 0x492ae9 0x774291 0x774239 0x774355 0x779aba 0x498001 # 0x774290 bufio.NewReaderSize+0x210 bufio/bufio.go:57 # 0x774238 bufio.NewReader+0x1b8 bufio/bufio.go:63 # 0x774354 net/http.newBufioReader+0x2d4 net/http/server.go:865 # 0x779ab9 net/http.(*conn).serve+0x2b9 net/http/server.go:1981 0: 0 [38: 4256] @ 0x48dd2c 0x4752f7 0x5305e6 0x76a336 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5305e5 fmt.Sprintf+0x65 fmt/print.go:240 # 0x76a335 net/http.(*Request).AddCookie+0xf5 net/http/request.go:465 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a2e79 0x4a2565 0x76cd65 0x79b139 0x774ce7 0x779bd8 0x498001 # 0x4a2e78 sync.(*poolChain).pushHead+0x38 sync/poolqueue.go:225 # 0x4a2564 sync.(*Pool).Put+0x84 sync/pool.go:115 # 0x76cd64 net/http.putTextprotoReader+0x44 net/http/request.go:1049 # 0x79b138 net/http.readRequest+0x798 net/http/request.go:1174 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [470: 225600] @ 0x48dd2c 0x492ae9 0xc838a5 0xc83861 0x11347f5 0x11357ef 0x1135773 0x21eb2d0 0x266d755 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc838a4 github.com/tinylib/msgp/msgp.Require+0x84 github.com/tinylib/msgp@v1.6.4/msgp/write.go:71 # 0xc83860 github.com/mattermost/mattermost/server/public/model.(*Session).MarshalMsg+0x40 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:422 # 0x11347f4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0xf4 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:160 # 0x11357ee github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x8e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1135772 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 # 0x21eb2cf github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddSessionToCache+0x6f github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:45 # 0x266d754 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0x194 github.com/mattermost/mattermost/server/v8/channels/app/session.go:98 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 768] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x19584ca 0x195844e 0x1877de4 0x219d236 0x2616773 0x261b8a5 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19584c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x529 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x195844d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostAcknowledgementStore).GetForPosts+0x4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_acknowledgements_store.go:156 # 0x1877de3 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostAcknowledgementStore).GetForPosts+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:9561 # 0x219d235 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostAcknowledgementStore).GetForPosts+0x75 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7654 # 0x2616772 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetAcknowledgementsForPostList+0x72 github.com/mattermost/mattermost/server/v8/channels/app/post_acknowledgements.go:150 # 0x261b8a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x284 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:74 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [580: 83520] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416755 0xb5c40b 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c40a encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1194 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [20: 320] @ 0x48dd05 0x493087 0x63e685 0x63f9b9 0x63f98f 0x2724c7b 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e684 net/url.parseQuery+0x224 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [26: 2912] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cdf5 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19eb72f 0x1886d5a 0x21ae91a 0x24723b2 0x2865d05 0x2719454 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cdf4 github.com/lib/pq.(*conn).ExecContext+0x174 github.com/lib/pq@v1.12.3/conn_go18.go:37 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19eb72e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlSystemStore.PermanentDeleteByName+0xce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/system_store.go:107 # 0x1886d59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13899 # 0x21ae919 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSystemStore).PermanentDeleteByName+0x59 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10981 # 0x24723b1 github.com/mattermost/mattermost/server/v8/channels/app.(*App).DBHealthCheckDelete+0x71 github.com/mattermost/mattermost/server/v8/channels/app/app.go:140 # 0x2865d04 github.com/mattermost/mattermost/server/v8/channels/api4.getSystemPing+0x964 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:180 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1407: 380362752] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 624] @ 0x48dd05 0x428505 0x1cc525a 0x79b3ee 0x779e50 0x498001 # 0x1cc5259 github.com/gorilla/mux.(*Router).ServeHTTP+0xb9 github.com/gorilla/mux@v1.8.1/mux.go:196 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [199: 57312] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc849e5 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849e4 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xbe4 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:545 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [61: 23424] @ 0x48dd05 0x428505 0x755753 0x751c2d 0x751c19 0x75fe7c 0x75fe73 0x78af3f 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x755752 net/http.(*http2ClientConn).roundTrip+0x172 net/http/h2_bundle.go:8608 # 0x751c2c net/http.(*http2ClientConn).RoundTrip+0x1ec net/http/h2_bundle.go:8603 # 0x751c18 net/http.(*http2Transport).RoundTripOpt+0x1d8 net/http/h2_bundle.go:7901 # 0x75fe7b net/http.(*http2Transport).RoundTrip+0x1b net/http/h2_bundle.go:7852 # 0x75fe72 net/http.http2noDialH2RoundTripper.RoundTrip+0x12 net/http/h2_bundle.go:10560 # 0x78af3e net/http.(*Transport).roundTrip+0x4fe net/http/transport.go:623 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [101: 4848] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2725e19 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2725e18 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x11f8 github.com/mattermost/mattermost/server/v8/channels/web/params.go:204 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [301: 9632] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [289: 517888] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [294: 903168] @ 0x48dd0c 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x196fa6f 0x196f9e8 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x196fa6e github.com/mattermost/squirrel.SelectBuilder.From+0x3ee github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x196f9e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x367 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1421 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 16] @ 0x48dd05 0x48d725 0x184483c 0x184de6f 0x1844d4d 0x184613f 0x18df46a 0x185b7d7 0x217cc14 0x24a892b 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184483b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x17b github.com/mattermost/squirrel@v0.5.0/placeholder.go:107 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18df469 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x429 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2163 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32768] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x1cbf295 0x1cbf271 0x1cbc8d1 0x1cbdaaa 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x1cbf294 io.Copy+0x274 io/io.go:388 # 0x1cbf270 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*pdfExtractor).Extract+0x250 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/pdf.go:54 # 0x1cbc8d0 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.(*combineExtractor).Extract+0x130 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/combine.go:38 # 0x1cbdaa9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor.extractWithTimeout.func1+0xc9 github.com/mattermost/mattermost/server/v8/platform/services/docextractor/docextractor.go:121 0: 0 [220: 230686720] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x2510048 0x2510030 0x2510bba 0x27d4410 0x27d5625 0x27d1cad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x2510047 bytes.(*Buffer).Grow+0xe7 bytes/buffer.go:186 # 0x251002f github.com/mattermost/mattermost/server/v8/channels/app.(*UploadFileTask).init+0xcf github.com/mattermost/mattermost/server/v8/channels/app/file.go:757 # 0x2510bb9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UploadFileX+0x639 github.com/mattermost/mattermost/server/v8/channels/app/file.go:814 # 0x27d440f github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0xe4f github.com/mattermost/mattermost/server/v8/channels/api4/file.go:380 # 0x27d5624 github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileMultipart+0x2064 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:282 # 0x27d1cac github.com/mattermost/mattermost/server/v8/channels/api4.uploadFileStream+0x1ac github.com/mattermost/mattermost/server/v8/channels/api4/file.go:111 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 288] @ 0x48dd2c 0x492ae9 0x4d6605 0x4d65ec 0x573885 0x573851 0x17d9f3b 0x17d9f03 0x2509af0 0x2509cf6 0x2509cf7 0x27daed9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4d6604 internal/filepathlite.(*lazybuf).append+0x724 internal/filepathlite/path.go:45 # 0x4d65eb internal/filepathlite.Clean+0x70b internal/filepathlite/path.go:126 # 0x573884 path/filepath.Clean+0x64 path/filepath/path.go:56 # 0x573850 path/filepath.join+0x30 path/filepath/path_unix.go:36 # 0x17d9f3a path/filepath.Join+0x5a path/filepath/path.go:131 # 0x17d9f02 github.com/mattermost/mattermost/server/v8/platform/shared/filestore.(*LocalFileBackend).Reader+0x22 github.com/mattermost/mattermost/server/v8/platform/shared/filestore/localstore.go:88 # 0x2509aef github.com/mattermost/mattermost/server/v8/channels/app.fileReader+0x2f github.com/mattermost/mattermost/server/v8/channels/app/file.go:131 # 0x2509cf5 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).fileReader+0x35 github.com/mattermost/mattermost/server/v8/channels/app/file.go:147 # 0x2509cf6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FileReader+0x36 github.com/mattermost/mattermost/server/v8/channels/app/file.go:166 # 0x27daed8 github.com/mattermost/mattermost/server/v8/channels/api4.getFilePreview+0x7d8 github.com/mattermost/mattermost/server/v8/channels/api4/file.go:816 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [77: 3696] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fcf8c 0x2726e28 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fcf8b strconv.ParseBool+0xeb strconv/number.go:22 # 0x2726e27 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2207 github.com/mattermost/mattermost/server/v8/channels/web/params.go:304 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [111: 2664] @ 0x48dd05 0x428505 0x520112 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x520111 reflect.Value.extendSlice+0x71 reflect/value.go:2761 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 72] @ 0x48dd2c 0x4930f3 0x54d4e5 0xcaadae 0x54ee87 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0x2784fe5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xcaadad github.com/mattermost/mattermost/server/public/model.SidebarCategoryType.MarshalJSON+0x2d github.com/mattermost/mattermost/server/public/model/channel_sidebar.go:96 # 0x54ee86 encoding/json.addrMarshalerEncoder+0xe6 encoding/json/encode.go:502 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x2784fe4 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x324 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:36 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [19: 304] @ 0x48dd05 0x493087 0x183eefe 0x183f555 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x28369ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x183eefd github.com/mattermost/squirrel.Eq.toSQL+0xa1d github.com/mattermost/squirrel@v0.5.0/expr.go:215 # 0x183f554 github.com/mattermost/squirrel.Eq.ToSql+0x14 github.com/mattermost/squirrel@v0.5.0/expr.go:225 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x28369ed github.com/mattermost/mattermost/server/v8/channels/api4.getPropertyFields+0xc6d github.com/mattermost/mattermost/server/v8/channels/api4/properties.go:245 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [720: 34560] @ 0x48dd05 0x492ae9 0x525605 0xb73f42 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0x525604 reflect.(*rtype).Method+0x1a4 reflect/type.go:659 # 0xb73f41 net/rpc.suitableMethods+0xa1 net/rpc/server.go:288 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [45: 1440] @ 0x48dd05 0x428505 0x25ea39c 0x25e9edd 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25ea39b github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0xb5b github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0x25e9edc github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x69c github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:210 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [241: 26992] @ 0x48dd05 0x428505 0x41d554 0x9a1f0a 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f09 github.com/hashicorp/yamux.newStream+0x49 github.com/hashicorp/yamux@v0.1.2/stream.go:70 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [38: 13376] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x63e656 0x63f9b9 0x63f98f 0x2880708 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63e655 net/url.parseQuery+0x1f5 net/url/url.go:987 # 0x63f9b8 net/url.ParseQuery+0x38 net/url/url.go:933 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2880707 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x1c7 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:639 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [125: 88000] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x778d57 0x778baa 0x27019f3 0x2701f8b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x778d56 net/http.(*response).write+0x116 net/http/server.go:1644 # 0x778ba9 net/http.(*response).Write+0x29 net/http/server.go:1621 # 0x27019f2 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startPlain+0xb2 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:373 # 0x2701f8a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x32a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:449 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 768] @ 0x48dd05 0x493087 0x1840894 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x184ad06 0x184babf 0x19de407 0x19e2cb7 0x19e2c56 0x1886626 0x21ae083 0x24725c8 0x267a6a7 0xc7b03a 0x498001 # 0x1840893 github.com/mattermost/squirrel.conj.join+0x1f3 github.com/mattermost/squirrel@v0.5.0/expr.go:395 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x184ad05 github.com/mattermost/squirrel.(*updateData).ToSql+0x845 github.com/mattermost/squirrel@v0.5.0/update.go:114 # 0x184babe github.com/mattermost/squirrel.UpdateBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/update.go:196 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x19e2cb6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x8d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19e2c55 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateExpiredDNDStatuses+0x875 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:152 # 0x1886625 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateExpiredDNDStatuses+0x45 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13752 # 0x21ae082 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateExpiredDNDStatuses+0x42 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10869 # 0x24725c7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateExpiredDNDStatuses+0x47 github.com/mattermost/mattermost/server/v8/channels/app/app.go:161 # 0x267a6a6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateDNDStatusOfUsers+0x26 github.com/mattermost/mattermost/server/v8/channels/app/status.go:68 # 0xc7b039 github.com/mattermost/mattermost/server/public/model.createTask.func1+0x1f9 github.com/mattermost/mattermost/server/public/model/scheduled_task.go:74 0: 0 [2555: 163520] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb7552c 0xb74c1f 0xb750d1 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb7552b net/rpc.(*gobServerCodec).WriteResponse+0x24b net/rpc/server.go:429 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [525: 2822400] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [66: 4224] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x673d17 0xb834b7 0x1287b9d 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x673d16 encoding/binary.Write+0xd6 encoding/binary/binary.go:418 # 0xb834b6 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x256 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:70 # 0x1287b9c github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x5c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:463 0: 0 [68: 5440] @ 0x48dd05 0x428505 0xb73346 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3d3e 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3d3d internal/sync.(*HashTrieMap[...]).iter+0x5d internal/sync/hashtriemap.go:505 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [7: 458752] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0x550d6e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0x550d6d encoding/json.structEncoder.encode+0x34d encoding/json/encode.go:739 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 240] @ 0x48dd05 0x493087 0x642625 0x658e30 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x642624 crypto/x509/pkix.(*Name).FillFromRDNSequence+0xe4 crypto/x509/pkix/pkix.go:151 # 0x658e2f crypto/x509.parseCertificate+0x6ef crypto/x509/parser.go:987 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [186: 5952] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x5481bb 0x547674 0x546e9e 0x55a01f 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [992: 190464] @ 0x48dd05 0x428505 0x18c8050 0x18ebe48 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18c804f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x36f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:399 # 0x18ebe47 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x487 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x492ae9 0x4f74b6 0x4f7739 0x1844f33 0x1844d18 0x184613f 0x183e402 0x184418e 0x18442bd 0x1844428 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f74b5 bytes.(*Buffer).grow+0x1b5 bytes/buffer.go:155 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x1844f32 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x1b2 github.com/mattermost/squirrel@v0.5.0/select.go:81 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x183e401 github.com/mattermost/squirrel.aliasExpr.ToSql+0x41 github.com/mattermost/squirrel@v0.5.0/expr.go:129 # 0x184418d github.com/mattermost/squirrel.part.ToSql+0xed github.com/mattermost/squirrel@v0.5.0/part.go:22 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [3: 240] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [45: 2949120] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x5522cf 0x551e4d 0x54dd73 0x54db31 0x55a790 0x276e70d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x276e70c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x58c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1978 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 480] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x21feed2 0x2206a3d 0x2206566 0x2204837 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x21feed1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0x5b1 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:923 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [482: 200512] @ 0x48dd05 0x492ae9 0xb5ba3e 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba3d encoding/gob.(*Decoder).compileDec+0x1dd encoding/gob/decode.go:1156 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [367: 117440] @ 0x48dd05 0x428505 0x25ea65a 0x25ea64e 0x25ea62a 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x25ea659 github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0xe19 github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0x25ea64d github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithPath+0xe0d github.com/mattermost/mattermost/server/public/shared/request/context.go:154 # 0x25ea629 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0xde9 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:217 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [154: 749056] @ 0x48dd0c 0x428505 0x70a371 0x70d226 0x70cb05 0x75f36b 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x70a370 compress/flate.NewReader+0x30 compress/flate/inflate.go:810 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x75f36a net/http.http2gzipPoolGet+0x4a net/http/h2_bundle.go:10453 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [267: 273408] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x226642d 0x4cee2a 0x76ce06 0x55a668 0x55a265 0x559f35 0xc9dad3 0x2861da6 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x226642c github.com/getsentry/sentry-go.(*limitedBuffer).Write+0x4c github.com/getsentry/sentry-go@v0.46.2/scope.go:196 # 0x4cee29 io.(*teeReader).Read+0x69 io/io.go:630 # 0x76ce05 net/http.(*maxBytesReader).Read+0x65 net/http/request.go:1225 # 0x55a667 encoding/json.(*Decoder).refill+0x187 encoding/json/stream.go:167 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc9dad2 github.com/mattermost/mattermost/server/public/model.SortedArrayFromJSON+0x72 github.com/mattermost/mattermost/server/public/model/utils.go:548 # 0x2861da5 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x65 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:52 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [149: 3576] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [379: 60640] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [485: 279360] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [73: 1752] @ 0x48dd05 0x48d7c5 0x1846b74 0x1846a93 0x19f1d8e 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1846b73 github.com/lann/builder.Append+0xf3 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [192: 18432] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [222: 596736] @ 0x48dd2c 0x4930f3 0x54d4e5 0x286205e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x286205d github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x31d github.com/mattermost/mattermost/server/v8/channels/api4/status.go:75 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [295: 33040] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [6: 192] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [27: 5616] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x56ef9a 0x56e1f9 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x56ef99 context.(*cancelCtx).propagateCancel+0x199 context/context.go:501 # 0x56e1f8 context.withCancel+0x58 context/context.go:278 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [226: 1099264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [8: 1024] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [163: 3912] @ 0x48dd05 0x428505 0x520cb5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x520cb4 reflect.MakeSlice+0x74 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [306: 34272] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f1e66 0x19f1e20 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e65 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0x125 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1e1f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0xdf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:735 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [33: 528] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1507: 144672] @ 0x48dd05 0x48de45 0x52107d 0x50f2eb 0x5259d3 0xb73f42 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x50f2ea reflect.FuncOf+0xea reflect/type.go:1948 # 0x5259d2 reflect.(*rtype).Method+0x572 reflect/type.go:668 # 0xb73f41 net/rpc.suitableMethods+0xa1 net/rpc/server.go:288 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [661: 21152] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [80: 2560] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184701b 0x1846f13 0x19f1e15 0x19f1dd0 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f1e14 github.com/mattermost/squirrel.SelectBuilder.LeftJoin+0xd4 github.com/mattermost/squirrel@v0.5.0/select.go:297 # 0x19f1dcf github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:734 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [176: 5632] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [477: 15264] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [340: 391680] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1221: 156288] @ 0x48dd05 0x428505 0xb75d48 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb75d47 net/rpc.(*Server).ServeCodec+0x287 net/rpc/server.go:480 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [482: 77120] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [906: 57984] @ 0x48dd05 0x428505 0xb56edd 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb56edc encoding/gob.(*Decoder).decodeArrayHelper+0x9c encoding/gob/decode.go:543 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [191: 30560] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [209: 13376] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [275: 13200] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [198: 963072] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x281d8e5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x281d8e4 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x364 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:275 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1d8e 0x19f71a5 0x19ca143 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1d8d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:731 # 0x19f71a4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsForUser+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1121 # 0x19ca142 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [25: 44800] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [25: 600] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x28caa15 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x28caa14 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x174 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3711 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 20736] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8448e 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x2717d1e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8448d github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0x68d github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:525 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2717d1d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x163d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:262 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [17: 4896] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x225c2ce 0x22654d8 0x226fdec 0x2663525 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x225c2cd github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x1cd github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:30 # 0x22654d7 github.com/getsentry/sentry-go.PropagationContextFromHeaders+0x137 github.com/getsentry/sentry-go@v0.46.2/propagation_context.go:58 # 0x226fdeb github.com/getsentry/sentry-go.ContinueTrace+0x8b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1051 # 0x2663524 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x164 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:99 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [40: 16056320] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 9461760] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [111: 156288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x196fec9 0x196fe4d 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x196fec8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x848 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x196fe4c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x7cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1430 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1148: 275520] @ 0x48dd05 0x492ae9 0x551136 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [455: 145600] @ 0x48dd05 0x428505 0xc407ab 0xc407dd 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0xc407aa encoding/json.NewDecoder+0x4ca encoding/json/stream.go:34 # 0xc407dc github.com/mattermost/mattermost/server/public/model.FindManifest+0x4fc github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [62: 1488] @ 0x48dd05 0x428505 0x1256edf 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [177: 11328] @ 0x48dd05 0x492ae9 0xb5b150 0xb5bb05 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5b14f encoding/gob.(*Decoder).compileSingle+0x6f encoding/gob/decode.go:1103 # 0xb5bb04 encoding/gob.(*Decoder).compileDec+0x2a4 encoding/gob/decode.go:1138 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [59: 2832] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0xb5819b 0xb59c93 0xb56750 0xb59c08 0xb56750 0xb5c906 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb5819a encoding/gob.(*Decoder).decodeSlice+0x37a encoding/gob/decode.go:663 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb59c07 encoding/gob.(*Decoder).decOpFor.func4+0x27 encoding/gob/decode.go:900 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [155: 218240] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [51: 16320] @ 0x48dd05 0x428505 0x78ae25 0x78adea 0x79b318 0x72642b 0x725c78 0x728217 0x2248905 0x22488fd 0x224c4d3 0x224c0d3 0x498001 # 0x78ae24 net/http.setupRewindBody+0x3e4 net/http/transport.go:787 # 0x78ade9 net/http.(*Transport).roundTrip+0x3a9 net/http/transport.go:620 # 0x79b317 net/http.(*Transport).RoundTrip+0x17 net/http/roundtrip.go:33 # 0x72642a net/http.send+0x64a net/http/client.go:264 # 0x725c77 net/http.(*Client).send+0x257 net/http/client.go:185 # 0x728216 net/http.(*Client).do+0x9d6 net/http/client.go:733 # 0x2248904 net/http.(*Client).Do+0x24 net/http/client.go:592 # 0x22488fc github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x1c github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:102 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [26: 13312] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [940: 300800] @ 0x48dd05 0x428505 0x1cc827f 0x1cc8332 0x1cc52ca 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1cc827e net/http.(*Request).WithContext+0x7e net/http/request.go:372 # 0x1cc8331 github.com/gorilla/mux.requestWithRoute+0x131 github.com/gorilla/mux@v1.8.1/mux.go:455 # 0x1cc52c9 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [76: 68096] @ 0x48dd2c 0x4930f3 0x12542c8 0x12542af 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x12542c7 github.com/lib/pq.(*writeBuf).string+0x2a7 github.com/lib/pq@v1.12.3/buf.go:72 # 0x12542ae github.com/lib/pq.(*conn).prepareTo+0x28e github.com/lib/pq@v1.12.3/conn.go:764 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [59: 3776] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [88: 2816] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [277: 31024] @ 0x48dd05 0x428505 0x49487c 0x4bf095 0x56fda5 0x57040d 0x5703cf 0x19db965 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bf094 time.AfterFunc+0x34 time/sleep.go:211 # 0x56fda4 context.WithDeadlineCause+0x264 context/context.go:652 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db964 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:188 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [636: 1302528] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [54: 1296] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1293: 662016] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [19: 152] @ 0x48dd05 0x428505 0xb59006 0xb5c0bb 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb59005 encoding/gob.(*Decoder).decOpFor+0xc5 encoding/gob/decode.go:843 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1007: 418912] @ 0x48dd05 0x428505 0x2127e52 0x2127dc5 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2127e51 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.allocateCacheTargets[...]+0x131 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:720 # 0x2127dc4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:177 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [30: 960] @ 0x48dd2c 0x4752f7 0xc849a5 0xc84957 0x1134f0f 0x11358e5 0x1135873 0x21ebfcc 0x266d6b7 0x25ea87e 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc849a4 github.com/tinylib/msgp/msgp.ReadStringBytes+0xba4 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc84956 github.com/mattermost/mattermost/server/public/model.(*Session).UnmarshalMsg+0xb56 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:540 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21ebfcb github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x6b github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:131 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x25ea87d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x103d github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:232 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [7: 784] @ 0x48dd05 0x428505 0x56fc19 0x57040d 0x5703cf 0x19db69d 0x19ddb3a 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56fc18 context.WithDeadlineCause+0xd8 context/context.go:640 # 0x57040c context.WithDeadline+0x4c context/context.go:626 # 0x5703ce context.WithTimeout+0xe context/context.go:704 # 0x19db69c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.ensureQueryTimeout+0x7c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:165 # 0x19ddb39 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:334 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1444: 831744] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1432: 824832] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [34: 9792] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1a25c8d 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1a25c8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0xec github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1141 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [794: 254080] @ 0x48dd05 0x428505 0xccba0e 0xccba02 0xccbe47 0x268cd68 0x268cd3a 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xccba0d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccba01 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithContext+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:178 # 0xccbe46 github.com/mattermost/mattermost/server/v8/channels/store.RequestContextWithMaster+0x66 github.com/mattermost/mattermost/server/v8/channels/store/context.go:34 # 0x268cd67 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.RequestContextWithMaster+0x87 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/context.go:23 # 0x268cd39 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0x59 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [803: 115632] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416755 0xb5c40b 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c40a encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1194 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [472: 7552] @ 0x48dd25 0x4752f7 0x6f20c7 0x6f2e54 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f20c6 net/textproto.canonicalMIMEHeaderKey+0x186 net/textproto/reader.go:794 # 0x6f2e53 net/textproto.readMIMEHeader+0x213 net/textproto/reader.go:558 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [584: 186880] @ 0x48dd05 0x428505 0xccbb2e 0xccbb22 0x271910e 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xccbb2d github.com/mattermost/mattermost/server/public/shared/request.(*Context).clone+0x2d github.com/mattermost/mattermost/server/public/shared/request/context.go:60 # 0xccbb21 github.com/mattermost/mattermost/server/public/shared/request.(*Context).WithLogger+0x21 github.com/mattermost/mattermost/server/public/shared/request/context.go:184 # 0x271910d github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2a2d github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:325 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 96] @ 0x48dd05 0x428505 0x125d43a 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x196d93e 0x196ff9a 0x19704da 0x18757d6 0x219a6db 0x211fe43 0x25fe384 0x281e177 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125d439 github.com/lib/pq.(*conn).watchCancel+0x59 github.com/lib/pq@v1.12.3/conn_go18.go:98 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x196d93d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).prepareThreadedResponse+0x43d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1274 # 0x196ff99 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsSinceCollapsedThreads+0x919 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1433 # 0x19704d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsSince+0x4d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1439 # 0x18757d5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsSince+0xb5 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8967 # 0x219a6da github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsSince+0xba github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7191 # 0x211fe42 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCachePostStore.GetPostsSince+0x162 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/post_layer.go:116 # 0x25fe383 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsSince+0x163 github.com/mattermost/mattermost/server/v8/channels/app/post.go:1329 # 0x281e176 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xbf6 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:295 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 29184] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d4a 0x2698039 0x288b698 0x288b48c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d49 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x169 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:63 # 0x2698038 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeam+0xb8 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1976 # 0x288b697 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizeTeams+0x997 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1997 # 0x288b48b github.com/mattermost/mattermost/server/v8/channels/api4.getAllTeams+0x78b github.com/mattermost/mattermost/server/v8/channels/api4/team.go:1349 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [901: 44285952] @ 0x48dd33 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [239: 11472] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 512] @ 0x48dd05 0x48de45 0x52107d 0xbeb2ef 0xbec27e 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2477d0c 0x28cab45 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xbeb2ee github.com/vmihailenco/msgpack/v5.(*Decoder).newValue+0x2e github.com/vmihailenco/msgpack/v5@v5.4.1/decode_typgen.go:42 # 0xbec27d github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x1dd github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:136 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2477d0b github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToTeam+0x12b github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:58 # 0x28cab44 github.com/mattermost/mattermost/server/v8/channels/api4.getThreadsForUser+0x2a4 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3715 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 4800] @ 0x48dd05 0x492ae9 0x223d83b 0x225c15b 0x227002c 0x226c185 0x227030d 0x26635de 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x223d83a github.com/getsentry/sentry-go/internal/otel/baggage.Baggage.Members+0x5a github.com/getsentry/sentry-go@v0.46.2/internal/otel/baggage/baggage.go:522 # 0x225c15a github.com/getsentry/sentry-go.DynamicSamplingContextFromHeader+0x5a github.com/getsentry/sentry-go@v0.46.2/dynamic_sampling_context.go:27 # 0x227002b github.com/getsentry/sentry-go.ContinueTrace.ContinueFromHeaders.func1+0x6b github.com/getsentry/sentry-go@v0.46.2/tracing.go:1086 # 0x226c184 github.com/getsentry/sentry-go.StartSpan+0x304 github.com/getsentry/sentry-go@v0.46.2/tracing.go:195 # 0x227030c github.com/getsentry/sentry-go.StartTransaction+0x1ac github.com/getsentry/sentry-go@v0.46.2/tracing.go:1159 # 0x26635dd github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x21d github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:105 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [13: 16640] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18eb454 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18eb453 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x353 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3178 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [805: 9891840] @ 0x48dd0c 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [531: 2854656] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1295: 63651840] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [22: 9856] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [711: 22752] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12: 2496] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0xc61592 0x261f86a 0x281e394 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc61591 github.com/mattermost/mattermost/server/public/model.(*PostList).Clone+0x131 github.com/mattermost/mattermost/server/public/model/post_list.go:41 # 0x261f869 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizePostListMetadataForUser+0x49 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:502 # 0x281e393 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xe13 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:337 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474a7e 0x2114fef 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2114fee github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x8e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:303 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [48: 19968] @ 0x48dd05 0x492ae9 0x80df92 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x80df91 database/sql.(*Rows).nextLocked+0xb1 database/sql/sql.go:3063 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [117: 41184] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x1c158af 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x1c158ae github.com/klauspost/compress/gzip.(*Writer).Write+0x12e github.com/klauspost/compress@v1.18.6/gzip/gzip.go:201 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 128] @ 0x48dd2c 0x492ae9 0x297962f 0x297d4d0 0x5d5a07 0x5cf065 0x5d0bf7 0x1cce757 0x1cd07e3 0x25918e5 0x2594292 0x2594edf 0x498001 # 0x297962e crypto/internal/fips140/ecdsa.newDRBG[...]+0x10e crypto/internal/fips140/ecdsa/hmacdrbg.go:64 # 0x297d4cf crypto/internal/fips140/ecdsa.Sign[...]+0x22f crypto/internal/fips140/ecdsa/ecdsa.go:304 # 0x5d5a06 crypto/ecdsa.signFIPS[...]+0x106 crypto/ecdsa/ecdsa.go:419 # 0x5cf064 crypto/ecdsa.SignASN1+0x244 crypto/ecdsa/ecdsa.go:398 # 0x5d0bf6 crypto/ecdsa.Sign+0x36 crypto/ecdsa/ecdsa_legacy.go:70 # 0x1cce756 github.com/golang-jwt/jwt/v5.(*SigningMethodECDSA).Sign+0x136 github.com/golang-jwt/jwt/v5@v5.3.1/ecdsa.go:111 # 0x1cd07e2 github.com/golang-jwt/jwt/v5.(*Token).SignedString+0x62 github.com/golang-jwt/jwt/v5@v5.3.1/token.go:69 # 0x25918e4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendPushNotificationToAllSessions+0x1b84 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:172 # 0x2594291 github.com/mattermost/mattermost/server/v8/channels/app.(*App).clearPushNotificationSync+0x1f1 github.com/mattermost/mattermost/server/v8/channels/app/notification_push.go:349 # 0x2594ede github.com/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] @ 0x48dd2c 0x428505 0x5e003a 0x5e0046 0x585a3d 0x299d197 0x2979daf 0x299af5a 0x299be65 0x299ba09 0x6dfb65 0x6dfb3a 0x6b7837 0x6b4125 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0039 crypto/internal/fips140/sha256.New+0x19 crypto/internal/fips140/sha256/sha256.go:150 # 0x5e0045 crypto/sha256.New+0x25 crypto/sha256/sha256.go:38 # 0x585a3c crypto.Hash.New+0x3c crypto/crypto.go:131 # 0x299d196 crypto/internal/fips140/tls13.NewEarlySecret[...].func1+0x16 crypto/internal/fips140/tls13/tls13.go:76 # 0x2979dae crypto/internal/fips140/hmac.New[...]+0x4e crypto/internal/fips140/hmac/hmac.go:170 # 0x299af59 crypto/internal/fips140/hkdf.Expand[...]+0x99 crypto/internal/fips140/hkdf/hkdf.go:29 # 0x299be64 crypto/internal/fips140/tls13.ExpandLabel[...]+0x3a4 crypto/internal/fips140/tls13/tls13.go:39 # 0x299ba08 crypto/internal/fips140/tls13.deriveSecret[...]+0x128 crypto/internal/fips140/tls13/tls13.go:53 # 0x6dfb64 crypto/internal/fips140/tls13.(*MasterSecret).ExporterMasterSecret+0x64 crypto/internal/fips140/tls13/tls13.go:155 # 0x6dfb39 crypto/tls.(*cipherSuiteTLS13).exportKeyingMaterial+0x39 crypto/tls/key_schedule.go:48 # 0x6b7836 crypto/tls.(*clientHandshakeStateTLS13).readServerFinished+0x356 crypto/tls/handshake_client_tls13.go:729 # 0x6b4124 crypto/tls.(*clientHandshakeStateTLS13).handshake+0x784 crypto/tls/handshake_client_tls13.go:139 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [92: 753664] @ 0x48dd2c 0x428505 0x686fee 0x686fe2 0x6e9458 0x6e06aa 0x6aca42 0x6ad1e5 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x686fed crypto/internal/fips140/mlkem.NewDecapsulationKey768+0x2d crypto/internal/fips140/mlkem/mlkem768.go:199 # 0x686fe1 crypto/mlkem.NewDecapsulationKey768+0x21 crypto/mlkem/mlkem.go:59 # 0x6e9457 crypto/tls.keyExchangeForCurveID.func1+0x17 crypto/tls/key_schedule.go:78 # 0x6e06a9 crypto/tls.(*hybridKeyExchange).keyShares+0x129 crypto/tls/key_schedule.go:184 # 0x6aca41 crypto/tls.(*Conn).makeClientHello+0x981 crypto/tls/handshake_client.go:152 # 0x6ad1e4 crypto/tls.(*Conn).clientHandshake+0x84 crypto/tls/handshake_client.go:231 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 576] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x24a8893 0x25ee3ee 0x281be5f 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x24a8892 github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0xf2 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3523 # 0x25ee3ed github.com/mattermost/mattermost/server/v8/channels/app.(*App).CreatePostAsUser+0x3ed github.com/mattermost/mattermost/server/v8/channels/app/post.go:86 # 0x281be5e github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x73e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:130 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [15: 960] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 32] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbea5ec 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1133d85 0x211e0a2 0x2114605 0x249b6c9 0x249b090 0x2478173 0x2830efe 0x281b3b0 0x281bbb7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbea5eb github.com/vmihailenco/msgpack/v5.decodeStringValue+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:63 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x2114604 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xa4 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:244 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x2478172 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToChannel+0x72 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:106 # 0x2830efd github.com/mattermost/mattermost/server/v8/channels/api4.userCreatePostPermissionCheckWithContext+0x15d github.com/mattermost/mattermost/server/v8/channels/api4/post_utils.go:14 # 0x281b3af github.com/mattermost/mattermost/server/v8/channels/api4.createPostChecks+0x4f github.com/mattermost/mattermost/server/v8/channels/api4/post.go:66 # 0x281bbb6 github.com/mattermost/mattermost/server/v8/channels/api4.createPost+0x496 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:114 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [563: 432384] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [74: 3552] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2479676 0x276eab0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2479675 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToUser+0xd5 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:254 # 0x276eaaf github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x16f github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1989 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x1399f92 0x1399f79 0x13a53eb 0x13a4d1e 0x13a5628 0x19ddc8c 0x19ddc44 0x19ca0f4 0x19ca099 0x1882f9b 0x21aa0e6 0x21eb153 0x266e693 0x28bb60c 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x1399f91 reflect.MakeMap+0x171 reflect/value.go:3093 # 0x1399f78 github.com/jmoiron/sqlx/reflectx.FieldByIndexes+0x158 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:214 # 0x13a53ea github.com/jmoiron/sqlx.fieldsByTraversal+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:1037 # 0x13a4d1d github.com/jmoiron/sqlx.scanAll+0x6bd github.com/jmoiron/sqlx@v1.4.0/sqlx.go:960 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19ca0f3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19ca098 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 # 0x1882f9a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerSessionStore).GetSessions+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12744 # 0x21aa0e5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerSessionStore).GetSessions+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10101 # 0x21eb152 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSessions+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:37 # 0x266e692 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSessions+0x32 github.com/mattermost/mattermost/server/v8/channels/app/session.go:143 # 0x28bb60b github.com/mattermost/mattermost/server/v8/channels/api4.getSessions+0x18b github.com/mattermost/mattermost/server/v8/channels/api4/user.go:2506 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [18: 18432] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19dbd10 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19dbd0f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x2f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:201 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [91: 16016] @ 0x48dd05 0x428505 0x18e2759 0x1a4617a 0x18e25d1 0x1859859 0x217a9bf 0x21150f0 0x21ff526 0x2206a3d 0x2206566 0x2204837 0x498001 # 0x18e2758 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser.func1+0x58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2470 # 0x1a46179 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.scanRowsIntoMap[...]+0x159 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/utils.go:211 # 0x18e25d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x5d0 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2479 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x21ff525 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).ShouldSendEvent+0xc05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:987 # 0x2206a3c 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:729 # 0x2206565 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*Hub).Start.func1+0x1d05 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_hub.go:773 # 0x2204836 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:791 0: 0 [7: 1120] @ 0x48dd05 0x428505 0x1255906 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18df50f 0x18df4ae 0x185b7d7 0x217cc14 0x24a892b 0x24a9535 0x276ecb1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1255905 github.com/lib/pq.(*conn).query+0x805 github.com/lib/pq@v1.12.3/conn.go:939 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18df50e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x4ce github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18df4ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsWithUnreadsAndWithMentions+0x46d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2179 # 0x185b7d6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd6 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2241 # 0x217cc13 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsWithUnreadsAndWithMentions+0xd3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1907 # 0x24a892a github.com/mattermost/mattermost/server/v8/channels/app.(*App).MarkChannelsAsViewed+0x18a github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3529 # 0x24a9534 github.com/mattermost/mattermost/server/v8/channels/app.(*App).ViewChannel+0x234 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3598 # 0x276ecb0 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x370 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2018 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 320] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x1846034 0x1a1e16a 0x188f8d1 0x21b8a1d 0x2128a36 0x26a6d88 0x26a6d58 0x28b00d1 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x1a1e169 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:573 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x28b00d0 github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0x870 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1545 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 864] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 3456] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9c0d2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1973779 0x19736f6 0x19719f0 0x18750c9 0x2199ec3 0x260080b 0x281dcad 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9c0d1 github.com/mattermost/mattermost/server/public/model.(*StringInterface).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:192 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1973778 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xf38 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19736f5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).getPostsAround+0xeb5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1757 # 0x19719ef github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPostStore).GetPostsBefore+0x8f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/post_store.go:1579 # 0x18750c8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPostStore).GetPostsBefore+0xe8 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8862 # 0x2199ec2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPostStore).GetPostsBefore+0xe2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:7111 # 0x260080a github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostsBeforePost+0x1aa github.com/mattermost/mattermost/server/v8/channels/app/post.go:1597 # 0x281dcac github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x72c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:311 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 224] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1a25d58 0x1a25cf5 0x1a05922 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1a25d57 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1b7 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x1a25cf4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x154 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1144 # 0x1a05921 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x1561 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:378 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [41: 83968] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845014 0x1844d18 0x184613f 0x19de407 0x1a0562d 0x1a055ae 0x188c525 0x21b4f28 0x26be1f5 0x1309f10 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a0562c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x126c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a055ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetThreadsForUser+0x11ed github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:361 # 0x188c524 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerThreadStore).GetThreadsForUser+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:15429 # 0x21b4f27 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerThreadStore).GetThreadsForUser+0xe7 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12178 # 0x26be1f4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetThreadsForUser.func5+0x114 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2941 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [33: 528] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [65: 532480] @ 0x48dd2c 0x492ae9 0xbd97f0 0xbd9508 0xbdf393 0x28eb6ec 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbd97ef bufio.NewReaderSize+0x34f bufio/bufio.go:57 # 0xbd9507 github.com/gorilla/websocket.newConn+0x67 github.com/gorilla/websocket@v1.5.3/conn.go:294 # 0xbdf392 github.com/gorilla/websocket.(*Upgrader).Upgrade+0x652 github.com/gorilla/websocket@v1.5.3/server.go:204 # 0x28eb6eb github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0xab github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:64 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 5760] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19db934 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [85: 2040] @ 0x48dd2c 0x4752f7 0xb561a5 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0xb561a4 encoding/gob.decString+0x1c4 encoding/gob/decode.go:423 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x1955389 0x187280e 0x219701a 0x25e6c58 0x25d4455 0x25d4434 0x127e66a 0x12c7035 0x51716c 0x516019 0xb75014 0x498001 # 0x1955388 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x348 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:214 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x25d4454 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 # 0x25d4433 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).KVGet+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1093 # 0x127e669 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).KVGet+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1019 # 0x12c7034 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).KVGet+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6163 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [47: 511360] @ 0x48dd0c 0x493087 0x18eb8c5 0x18eb50e 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18eb8c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithSchemeRolesList.ToModel+0x7c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:428 # 0x18eb50d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x40d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3189 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [69: 9936] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [117: 33696] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [425: 95200] @ 0x48dd05 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [116: 25984] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [116: 2784] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [193: 395264] @ 0x48dd2c 0x4930f3 0x125439e 0x1254355 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125439d github.com/lib/pq.(*writeBuf).int16+0x37d github.com/lib/pq@v1.12.3/buf.go:68 # 0x1254354 github.com/lib/pq.(*conn).prepareTo+0x334 github.com/lib/pq@v1.12.3/conn.go:765 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [274: 1332736] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [3: 480] @ 0x48dd05 0x428505 0x1254145 0x1255c65 0x125ce45 0x8005b7 0x807cfc 0x810451 0x8075d6 0x80736f 0x80718f 0x806822 0x80709b 0x19dc7ae 0x19dc1ae 0x19dc254 0x19e34f2 0x1886744 0x21ae1c4 0x21f3195 0x27374ce 0x27374a6 0x2738063 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x1255c64 github.com/lib/pq.(*conn).Exec+0x104 github.com/lib/pq@v1.12.3/conn.go:990 # 0x125ce44 github.com/lib/pq.(*conn).ExecContext+0x1c4 github.com/lib/pq@v1.12.3/conn_go18.go:41 # 0x8005b6 database/sql.ctxDriverExec+0xd6 database/sql/ctxutil.go:31 # 0x807cfb database/sql.(*DB).execDC.func2+0x15b database/sql/sql.go:1713 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x8075d5 database/sql.(*DB).execDC+0x1f5 database/sql/sql.go:1708 # 0x80736e database/sql.(*DB).exec+0xce database/sql/sql.go:1693 # 0x80718e database/sql.(*DB).ExecContext.func1+0x4e database/sql/sql.go:1672 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x80709a database/sql.(*DB).ExecContext+0x9a database/sql/sql.go:1671 # 0x19dc7ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecRaw+0x1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:262 # 0x19dc1ad github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Exec+0x4d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:226 # 0x19dc253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:235 # 0x19e34f1 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlStatusStore.UpdateLastActivityAt+0x331 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/status_store.go:188 # 0x1886743 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:13773 # 0x21ae1c3 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerStatusStore).UpdateLastActivityAt+0x63 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:10885 # 0x21f3194 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusOnline+0x614 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:341 # 0x27374cd github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetStatusOnline+0xcd github.com/mattermost/mattermost/server/v8/channels/app/status.go:28 # 0x27374a5 github.com/mattermost/mattermost/server/v8/channels/wsapi.(*API).userUpdateActiveStatus+0xa5 github.com/mattermost/mattermost/server/v8/channels/wsapi/user.go:57 # 0x2738062 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0xa82 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:59 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [120: 1920] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [724: 208512] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [106: 1696] @ 0x48dd25 0x4752f7 0xc85a52 0xc85a18 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [104: 16640] @ 0x48dd05 0x428505 0x21ebf97 0x266d6b7 0x2737825 0x220a059 0x21fb0fa 0x21fab35 0x28ebe92 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x21ebf96 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetSession+0x36 github.com/mattermost/mattermost/server/v8/channels/app/platform/session.go:130 # 0x266d6b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSession+0xf6 github.com/mattermost/mattermost/server/v8/channels/app/session.go:92 # 0x2737824 github.com/mattermost/mattermost/server/v8/channels/wsapi.webSocketHandler.ServeWebSocket+0x244 github.com/mattermost/mattermost/server/v8/channels/wsapi/websocket_handler.go:35 # 0x220a058 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebSocketRouter).ServeWebSocket+0xc38 github.com/mattermost/mattermost/server/v8/channels/app/platform/websocket_router.go:122 # 0x21fb0f9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).readPump+0x2f9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:493 # 0x21fab34 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).Pump+0xd4 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:417 # 0x28ebe91 github.com/mattermost/mattermost/server/v8/channels/api4.connectWebSocket+0x851 github.com/mattermost/mattermost/server/v8/channels/api4/websocket.go:124 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 7040] @ 0x48dd0c 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18ceedd 0x185a17d 0x217b3bd 0x249b40a 0x275573b 0x276ec18 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18ceedc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetBoardChannel+0x27c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:987 # 0x185a17c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1926 # 0x217b3bc github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetBoardChannel+0x5c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1667 # 0x249b409 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetBoardChannel+0x69 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2169 # 0x275573a github.com/mattermost/mattermost/server/v8/channels/api4.rejectBoardChannelByID+0x3a github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:24 # 0x276ec17 github.com/mattermost/mattermost/server/v8/channels/api4.viewChannel+0x2d7 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:2011 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 3840] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x18d1769 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d1768 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x988 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1203 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [84: 1344] @ 0x48dd05 0x428505 0x76a3d2 0x76a3a8 0x76a36a 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a3d1 net/textproto.MIMEHeader.Set+0x191 net/textproto/header.go:22 # 0x76a3a7 net/http.Header.Set+0x167 net/http/header.go:40 # 0x76a369 net/http.(*Request).AddCookie+0x129 net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1496: 430848] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [86: 4128] @ 0x48dd05 0x428505 0xbe34c5 0xbe34b7 0x1134f28 0x1133d85 0x211e0a2 0x212448f 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe34c4 bytes.NewReader+0x64 bytes/reader.go:159 # 0xbe34b6 github.com/vmihailenco/msgpack/v5.Unmarshal+0x56 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:59 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x212448e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0xce github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:129 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1847b7b 0x1847a73 0x1990651 0x19904ea 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1847b7a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1847a72 github.com/mattermost/squirrel.SelectBuilder.OrderByClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:356 # 0x1990650 github.com/mattermost/squirrel.SelectBuilder.OrderBy+0x1d0 github.com/mattermost/squirrel@v0.5.0/select.go:362 # 0x19904e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x69 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:180 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [682: 196416] @ 0x48dd05 0x492ae9 0x125c3af 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3ae github.com/lib/pq.parseStatementRowDescribe+0x8e github.com/lib/pq@v1.12.3/conn.go:1775 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [22: 1056] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19f7ece 0x19f7dfd 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19f7ecd github.com/mattermost/squirrel.StatementBuilderType.Select+0x1ad github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19f7dfc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1172 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [488: 11993088] @ 0x48dd0c 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [90: 587520] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [4557: 18665472] @ 0x48dd2c 0x492ae9 0xb75728 0xb75710 0xb756b3 0x12880d3 0x498001 # 0xb75727 bufio.NewWriterSize+0x87 bufio/bufio.go:599 # 0xb7570f bufio.NewWriter+0x6f bufio/bufio.go:608 # 0xb756b2 net/rpc.(*Server).ServeConn+0x12 net/rpc/server.go:448 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [23: 4048] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [129: 14448] @ 0x48dd05 0x492ae9 0xb5ba3e 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5ba3d encoding/gob.(*Decoder).compileDec+0x1dd encoding/gob/decode.go:1156 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [3: 72] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x2124445 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x2124444 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x84 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:127 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [220: 450560] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18454b0 0x1844d18 0x184613f 0x18d25d7 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18454af github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x72f github.com/mattermost/squirrel@v0.5.0/select.go:142 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x18d25d6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xb76 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1267 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1120: 1290240] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [410: 26240] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7601: 15566848] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [222: 39072] @ 0x48dd05 0x428505 0xc40797 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0xc40796 github.com/mattermost/mattermost/server/public/model.FindManifest+0x4b6 github.com/mattermost/mattermost/server/public/model/manifest.go:490 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [5308: 347865088] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [538: 3305472] @ 0x48dd0c 0x493087 0x18ec617 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18ec616 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x5f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [725: 301600] @ 0x48dd05 0x428505 0x21288a6 0x26a6d88 0x26a6d58 0x2479ae5 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x21288a5 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [472: 196352] @ 0x48dd05 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0xb74806 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0xb74805 net/rpc.suitableMethods+0x965 net/rpc/server.go:339 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [3: 4608] @ 0x48dd2c 0x4930f3 0xb624de 0xb62388 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb624dd encoding/gob.(*encBuffer).Write+0x25d encoding/gob/encode.go:55 # 0xb62387 encoding/gob.encUint8Array+0x107 encoding/gob/encode.go:245 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [258: 2113536] @ 0x48dd2c 0x492ae9 0x4e2ab3 0x4a2651 0x4e3074 0x4e2c3d 0x4e2d88 0x12e2e6f 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4e2ab2 os.init.func1+0x32 os/dir_unix.go:35 # 0x4a2650 sync.(*Pool).Get+0xb0 sync/pool.go:155 # 0x4e3073 os.(*File).readdir+0x193 os/dir_unix.go:65 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x12e2e6e github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x2e github.com/mattermost/mattermost/server/public/plugin/environment.go:91 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2253: 2883840] @ 0x48dd0c 0x428505 0x2724c4e 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2724c4d github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x2d github.com/mattermost/mattermost/server/v8/channels/web/params.go:140 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [486: 93312] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [20: 6400] @ 0x48dd05 0x428505 0x2716876 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2716875 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x195 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:152 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [79: 384256] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [38: 608] @ 0x48dd05 0x428505 0x80faed 0x80fa86 0x13a3ef4 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80faec database/sql.(*Rows).close+0x4c database/sql/sql.go:3442 # 0x80fa85 database/sql.(*Rows).Close+0x25 database/sql/sql.go:3439 # 0x13a3ef3 github.com/jmoiron/sqlx.(*Row).scanAny+0x873 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:792 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1674: 2999808] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [7: 336] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97bee 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97bed github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xb6d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:625 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1471: 12050432] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [743: 95104] @ 0x48dd05 0x428505 0xb75d48 0xb759ef 0x12880d3 0x498001 # 0xb75d47 net/rpc.(*Server).ServeCodec+0x287 net/rpc/server.go:480 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [410: 144320] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x12f0ed0 0x12f0e48 0x51716c 0x516019 0xb75014 0x498001 # 0x12f0ecf maps.Copy[...]+0x14f maps/maps.go:64 # 0x12f0e47 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).SyncHeader+0xc7 github.com/mattermost/mattermost/server/public/plugin/http.go:59 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 96] @ 0x48dd05 0x428505 0x18376e9 0x1839437 0x1839c0f 0x1839313 0x184771b 0x184769b 0x190457c 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18376e8 github.com/lann/ps.(*list).Cons+0x28 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/list.go:56 # 0x1839436 github.com/lann/builder.Extend.func1+0x36 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:83 # 0x1839c0e github.com/lann/builder.forEach+0xee github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/reflect.go:22 # 0x1839312 github.com/lann/builder.Extend+0xf2 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:82 # 0x184771a github.com/lann/builder.Append+0x17a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x190457b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x35b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:500 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [153: 22032] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416755 0xb5cff0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5cfef encoding/gob.(*Decoder).recvType+0xef encoding/gob/decoder.go:75 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [235: 63528960] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 671744] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [7: 2688] @ 0x48dd05 0x492ae9 0x4a29fc 0x4a2846 0x4a25bc 0xbe3498 0xbe348c 0x1134f28 0x11358e5 0x1135873 0x21f1ebe 0x21f1f6e 0x21f4873 0x21fb545 0x21d4da2 0x498001 # 0x4a29fb sync.(*Pool).pinSlow+0x17b sync/pool.go:241 # 0x4a2845 sync.(*Pool).pin+0x45 sync/pool.go:220 # 0x4a25bb sync.(*Pool).Get+0x1b sync/pool.go:135 # 0xbe3497 github.com/vmihailenco/msgpack/v5.GetDecoder+0x37 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:43 # 0xbe348b github.com/vmihailenco/msgpack/v5.Unmarshal+0x2b github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:57 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x21f1ebd github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatusFromCache+0x5d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:228 # 0x21f1f6d github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).GetStatus+0x4d github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:240 # 0x21f4872 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetStatusAwayIfNeeded+0x52 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:480 # 0x21fb544 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:457 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 0: 0 [154: 7392] @ 0x48dd05 0x428505 0x5704f3 0x1cc825f 0x1cc52ca 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5704f2 context.WithValue+0xb2 context/context.go:737 # 0x1cc825e github.com/gorilla/mux.requestWithRoute+0x5e github.com/gorilla/mux@v1.8.1/mux.go:454 # 0x1cc52c9 github.com/gorilla/mux.(*Router).ServeHTTP+0x129 github.com/gorilla/mux@v1.8.1/mux.go:201 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [612: 2506752] @ 0x48dd2c 0x492ae9 0x70c9cb 0x70c979 0x70caa1 0x75f36b 0x75f609 0x75fa8c 0x729a4a 0x4ceb03 0x4cf36d 0x22482f1 0x224891e 0x224c4d3 0x224c0d3 0x498001 # 0x70c9ca bufio.NewReaderSize+0x16a bufio/bufio.go:57 # 0x70c978 bufio.NewReader+0x118 bufio/bufio.go:63 # 0x70caa0 compress/gzip.(*Reader).Reset+0x240 compress/gzip/gunzip.go:111 # 0x75f36a net/http.http2gzipPoolGet+0x4a net/http/h2_bundle.go:10453 # 0x75f608 net/http.(*http2gzipReader).acquire+0x168 net/http/h2_bundle.go:10478 # 0x75fa8b net/http.(*http2gzipReader).Read+0x4b net/http/h2_bundle.go:10512 # 0x729a49 net/http.(*cancelTimerBody).Read+0x29 net/http/client.go:986 # 0x4ceb02 io.(*LimitedReader).Read+0x42 io/io.go:479 # 0x4cf36c io.ReadAll+0x10c io/io.go:722 # 0x22482f0 github.com/getsentry/sentry-go/internal/util.HandleHTTPResponse+0x170 github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:24 # 0x224891d github.com/getsentry/sentry-go/internal/util.DoSendRequest+0x3d github.com/getsentry/sentry-go@v0.46.2/internal/util/util.go:107 # 0x224c4d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).sendClientReport+0x2b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:540 # 0x224c0d2 github.com/getsentry/sentry-go/internal/http.(*AsyncTransport).worker+0x1b2 github.com/getsentry/sentry-go@v0.46.2/internal/http/transport.go:497 0: 0 [3: 144] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x2726314 0x2716cb5 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x2726313 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x16f3 github.com/mattermost/mattermost/server/v8/channels/web/params.go:231 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [731: 175440] @ 0x48dd05 0x428505 0x7752e9 0x779bd8 0x498001 # 0x7752e8 net/http.(*conn).readRequest+0x828 net/http/server.go:1053 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [6: 1248] @ 0x48dd05 0x428505 0x4edac8 0x4ed72c 0x1338805 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4edac7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x1338804 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x324 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:70 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4: 96] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5431d4 0x57387f 0x1338925 0x1338880 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5431d3 strings.Join+0xf3 strings/strings.go:510 # 0x57387e path/filepath.join+0x5e path/filepath/path_unix.go:36 # 0x1338924 path/filepath.Join+0x444 path/filepath/path.go:131 # 0x133887f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x39f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:57 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 80] @ 0x48dd25 0x4753be 0x4753b2 0x474925 0x474a7e 0x573a3a 0x572a98 0x572a99 0x1338610 0x1338cf0 0x1338cc3 0x272b885 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x573a39 path/filepath.walkSymlinks+0x179 path/filepath/symlink.go:81 # 0x572a97 path/filepath.evalSymlinks+0x17 path/filepath/symlink_unix.go:10 # 0x572a98 path/filepath.EvalSymlinks+0x18 path/filepath/path.go:148 # 0x133860f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.findPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:47 # 0x1338cef github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindPath+0x12f github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:85 # 0x1338cc2 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils.FindDir+0x102 github.com/mattermost/mattermost/server/v8/channels/utils/fileutils/fileutils.go:99 # 0x272b884 github.com/mattermost/mattermost/server/v8/channels/web.root+0x504 github.com/mattermost/mattermost/server/v8/channels/web/static.go:105 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [27: 19008] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x776410 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x27271b1 0x272be7b 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x77640f net/http.Header.Clone+0x70f net/http/header.go:105 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x272be7a github.com/mattermost/mattermost/server/v8/channels/web.root+0xafa github.com/mattermost/mattermost/server/v8/channels/web/static.go:123 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [946: 22704] @ 0x48dd05 0x492ae9 0x5171c5 0x516019 0xb75014 0x498001 # 0x5171c4 reflect.Value.call+0xf64 reflect/value.go:608 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1469: 31965440] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1026: 459648] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [626: 15024] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb730ad 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb730ac net/rpc.(*gobClientCodec).WriteRequest+0x4c net/rpc/client.go:221 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [41: 13120] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x1839774 0x18396fd 0x183969c 0x18461d4 0x18442ae 0x18407be 0x1853b59 0x184dcbd 0x18442bd 0x1844428 0x1845233 0x1844d18 0x184613f 0x19038cb 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x1839773 reflect.Value.Interface+0x93 reflect/value.go:1490 # 0x18396fc github.com/lann/builder.scanStruct+0x1c github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:224 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x18461d3 github.com/mattermost/squirrel.SelectBuilder.toSqlRaw+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:222 # 0x18442ad github.com/mattermost/squirrel.nestedToSql+0x4d github.com/mattermost/squirrel@v0.5.0/part.go:34 # 0x18407bd github.com/mattermost/squirrel.conj.join+0x11d github.com/mattermost/squirrel@v0.5.0/expr.go:390 # 0x1853b58 github.com/mattermost/squirrel.And.ToSql+0x38 github.com/mattermost/squirrel@v0.5.0/expr.go:409 # 0x184dcbc github.com/mattermost/squirrel.wherePart.ToSql+0x17c github.com/mattermost/squirrel@v0.5.0/where.go:20 # 0x18442bc github.com/mattermost/squirrel.nestedToSql+0x5c github.com/mattermost/squirrel@v0.5.0/part.go:36 # 0x1844427 github.com/mattermost/squirrel.appendToSql+0xe7 github.com/mattermost/squirrel@v0.5.0/part.go:42 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19038ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0xc4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:441 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [9: 1008] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837cc5 0x1837b12 0x18390d5 0x190312f 0x19030a6 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x190312e github.com/mattermost/squirrel.SelectBuilder.From+0x4ae github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19030a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x425 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:420 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [75: 33600] @ 0x48dd05 0x493087 0x2719cc5 0x27194e2 0x270303f 0x77bd69 0x1cc5382 0x79b3ee 0x779e50 0x498001 # 0x2719cc4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x684 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:173 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x270303e github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x69e github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:650 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [509: 8144] @ 0x48dd05 0x48de45 0x51c8ba 0x50ab8e 0xb63cb0 0xb6568c 0xb62f5e 0xb6550f 0xb634e4 0xb65979 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50ab8d reflect.(*MapIter).Key+0x4d reflect/map.go:256 # 0xb63caf encoding/gob.(*Encoder).encodeMap+0x4cf encoding/gob/encode.go:374 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1962: 4018176] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x1256ef1 0x125bcbc 0x1272548 0x1255865 0x125cb99 0x25dbf75 0x809dde 0x25dbd26 0x12e0e02 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x1256ef0 github.com/lib/pq.(*conn).recv1+0x30 github.com/lib/pq@v1.12.3/conn.go:1170 # 0x125bcbb github.com/lib/pq.(*conn).postExecuteWorkaround+0x1b github.com/lib/pq@v1.12.3/conn.go:1713 # 0x1272547 github.com/lib/pq.(*stmt).exec+0x827 github.com/lib/pq@v1.12.3/stmt.go:145 # 0x1255864 github.com/lib/pq.(*conn).query+0x764 github.com/lib/pq@v1.12.3/conn.go:935 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x25dbf74 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 # 0x809ddd database/sql.(*Conn).Raw+0xdd database/sql/sql.go:2094 # 0x25dbd25 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).ConnQuery+0x185 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:107 # 0x12e0e01 github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).ConnQuery+0x41 github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:280 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [14: 336] @ 0x48dd05 0x48d7c5 0x54c3f7 0x54c748 0x548992 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54c3f6 encoding/json.(*decodeState).valueInterface+0x36 encoding/json/decode.go:1040 # 0x54c747 encoding/json.(*decodeState).objectInterface+0x127 encoding/json/decode.go:1110 # 0x548991 encoding/json.(*decodeState).object+0x5b1 encoding/json/decode.go:622 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [798: 127680] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc9c05d 0x54eb71 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [494: 7904] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1636: 523520] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [610: 214720] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x2702a45 0x2702aa2 0x27029e5 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2702a44 net/textproto.MIMEHeader.Add+0xa4 net/textproto/header.go:15 # 0x2702aa1 net/http.Header.Add+0x101 net/http/header.go:31 # 0x27029e4 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x44 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:612 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 288] @ 0x48dd05 0x48dee5 0x48df53 0x520ce5 0x18394e5 0x1839966 0x18387c6 0x1838830 0x183975a 0x183969c 0x1846034 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0x18394e4 github.com/lann/builder.listToSlice+0x64 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:91 # 0x1839965 github.com/lann/builder.scanStruct.func1+0x1a5 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:216 # 0x18387c5 github.com/lann/ps.(*tree).ForEach+0x45 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:281 # 0x183882f github.com/lann/ps.(*tree).ForEach+0xaf github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:286 # 0x1839759 github.com/lann/builder.scanStruct+0x79 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:203 # 0x183969b github.com/lann/builder.GetStruct+0x5b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:185 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [36: 4032] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x184480c 0x184de6f 0x1844d4d 0x184613f 0x1946f2a 0x186e47b 0x21922c6 0x20e230c 0x20e2012 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x184480b github.com/mattermost/squirrel.replacePositionalPlaceholders+0x14b github.com/mattermost/squirrel@v0.5.0/placeholder.go:106 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1946f29 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 # 0x186e47a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetAllByStatus+0x7a github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7059 # 0x21922c5 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetAllByStatus+0x85 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5704 # 0x20e230b github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).PollAndNotify+0xeb github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:71 # 0x20e2011 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Watcher).Start+0x151 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs_watcher.go:56 0: 0 [188: 108288] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1813: 29704192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x1a06fcc 0x1a06f59 0x1309f10 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a06fcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3ab github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06f58 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func2+0x338 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:447 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [6: 4224] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x271adac 0x271ad47 0x271ad29 0x27194b3 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x271adab net/textproto.MIMEHeader.Set+0xbeb net/textproto/header.go:22 # 0x271ad46 net/http.Header.Set+0xb86 net/http/header.go:40 # 0x271ad28 github.com/mattermost/mattermost/server/v8/channels/web.Handler.handleContextError+0xb68 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:440 # 0x27194b2 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2dd2 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:368 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [11: 176] @ 0x48dd25 0x428505 0xb75afe 0xb759ef 0x12880d3 0x498001 # 0xb75afd net/rpc.(*Server).ServeCodec+0x3d net/rpc/server.go:461 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [481: 7696] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x54db31 0x54d47e 0xc9c05d 0x54eb71 0x5529c3 0x550e0a 0x54dd73 0x54db31 0x55a790 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc9c05c github.com/mattermost/mattermost/server/public/model.StringMap.MarshalJSON+0x1c github.com/mattermost/mattermost/server/public/model/utils.go:182 # 0x54eb70 encoding/json.marshalerEncoder+0xb0 encoding/json/encode.go:483 # 0x5529c2 encoding/json.condAddrEncoder.encode+0x62 encoding/json/encode.go:936 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [35: 560] @ 0x48dd25 0x4752f7 0xc85aba 0xc85a77 0xc97ace 0x1134f0f 0x1135ad1 0x11359df 0x211e48f 0x2127f30 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc85ab9 github.com/tinylib/msgp/msgp.ReadStringBytes+0x239 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a76 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x1f6 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:697 # 0xc97acd github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa4d github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:600 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x2127f2f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x20f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:178 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [120: 1920] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0x55127d 0x54dd73 0x55087a 0x5522cf 0x551e4d 0x54dd73 0x55087a 0x5513b0 0x54dd73 0x55087a 0x5513b0 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0x55127c encoding/json.mapEncoder.encode+0x39c encoding/json/encode.go:792 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x550879 encoding/json.interfaceEncoder+0xb9 encoding/json/encode.go:700 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [220: 45760] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0xb66ff3 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb66ff2 encoding/gob.(*Encoder).sendActualType+0x1b2 encoding/gob/encoder.go:113 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [6: 29184] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281eece 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281eecd github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x34d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:376 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x54eeb1 0x54eea3 0x5529a4 0x550e0a 0x552643 0x5522cf 0x551e4d 0x5513b0 0x54dd73 0x54db31 0x55a790 0x28a7a25 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x54eeb0 bytes.(*Buffer).Grow+0x110 bytes/buffer.go:186 # 0x54eea2 encoding/json.addrMarshalerEncoder+0x102 encoding/json/encode.go:504 # 0x5529a3 encoding/json.condAddrEncoder.encode+0x43 encoding/json/encode.go:934 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x5522ce encoding/json.arrayEncoder.encode+0xce encoding/json/encode.go:890 # 0x551e4c encoding/json.sliceEncoder.encode+0x30c encoding/json/encode.go:863 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x28a7a24 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x224 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:823 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 43776] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x417d91 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [38: 21888] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x411acd 0x417d07 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x1a26505 0x1a264a7 0x1891167 0x21ba791 0x26a9483 0x28a796b 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a26504 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a264a6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByGroupChannelIdsForUser+0x4c6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1203 # 0x1891166 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByGroupChannelIdsForUser+0x86 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16719 # 0x21ba790 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByGroupChannelIdsForUser+0x90 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13216 # 0x26a9482 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByGroupChannelIds+0xe2 github.com/mattermost/mattermost/server/v8/channels/app/user.go:863 # 0x28a796a github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByGroupChannelIds+0x16a github.com/mattermost/mattermost/server/v8/channels/api4/user.go:817 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 122880] @ 0x48dd2c 0x4930f3 0x54d4e5 0x28aafb4 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0x28aafb3 github.com/mattermost/mattermost/server/v8/channels/api4.getUsers+0x3313 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1128 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 1344] @ 0x48dd05 0x428505 0x1837e05 0x1837df8 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x184816c 0x184809b 0x1848190 0x19031df 0x1902888 0x1904c4a 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837e04 github.com/lann/ps.(*tree).clone+0x284 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837df7 github.com/lann/ps.setLowLevel+0x277 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:122 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184816b github.com/lann/builder.Append+0x10b github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184809a github.com/mattermost/squirrel.SelectBuilder.SuffixExpr+0x3a github.com/mattermost/squirrel@v0.5.0/select.go:395 # 0x184818f github.com/mattermost/squirrel.SelectBuilder.Suffix+0x12f github.com/mattermost/squirrel@v0.5.0/select.go:390 # 0x19031de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getOrphanedSidebarChannels+0x55e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:422 # 0x1902887 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.completePopulatingCategoriesT+0x1e7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:370 # 0x1904c49 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0xa29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:535 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5624: 8638464] @ 0x48dd2c 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb586fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb586fc encoding/gob.(*Decoder).decodeInterface+0x3dc encoding/gob/decode.go:716 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1695: 3037440] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1014: 324480] @ 0x48dd05 0x428505 0x79aa25 0x774ce7 0x779bd8 0x498001 # 0x79aa24 net/http.readRequest+0x84 net/http/request.go:1083 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [861: 42319872] @ 0x48dd33 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [56: 896] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [144: 202752] @ 0x48dd2c 0x4752f7 0x139c4e5 0x13a12b7 0x19ddb0c 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c4e4 github.com/jmoiron/sqlx.Rebind+0x424 github.com/jmoiron/sqlx@v1.4.0/bind.go:89 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [4018: 5657344] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x6f2cd1 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2cd0 net/textproto.readMIMEHeader+0x90 net/textproto/reader.go:529 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [319: 10208] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [38: 5472] @ 0x48dd2c 0x4752f7 0xb7b549 0xb7b54a 0x498001 # 0xb7b548 bufio.(*Scanner).Text+0x168 bufio/scan.go:115 # 0xb7b549 github.com/hashicorp/go-plugin.(*Client).Start.func3+0x169 github.com/hashicorp/go-plugin@v1.8.0/client.go:804 0: 0 [74: 4736] @ 0x48dd05 0x428505 0x99f8e5 0x9a2e1c 0x9a29aa 0x57cf32 0xb730c6 0xb7211d 0xb7343a 0x1287519 0x12874a9 0x12ebcf2 0x25eb01c 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x99f8e4 github.com/hashicorp/yamux.(*Session).waitForSendErr+0x104 github.com/hashicorp/yamux@v0.1.2/session.go:404 # 0x9a2e1b github.com/hashicorp/yamux.(*Stream).write+0x35b github.com/hashicorp/yamux@v0.1.2/stream.go:211 # 0x9a29a9 github.com/hashicorp/yamux.(*Stream).Write+0x109 github.com/hashicorp/yamux@v0.1.2/stream.go:167 # 0x57cf31 bufio.(*Writer).Flush+0x51 bufio/bufio.go:642 # 0xb730c5 net/rpc.(*gobClientCodec).WriteRequest+0x65 net/rpc/client.go:224 # 0xb7211c net/rpc.(*Client).send+0x1fc net/rpc/client.go:91 # 0xb73439 net/rpc.(*Client).Go+0x139 net/rpc/client.go:315 # 0x1287518 net/rpc.(*Client).Call+0x338 net/rpc/client.go:321 # 0x12874a8 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP+0x2c8 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:504 # 0x12ebcf1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).ServeHTTP+0x71 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:62 # 0x25eb01b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x17db github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:274 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 560] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x19f7f53 0x19f7ecf 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x19f7f52 github.com/mattermost/squirrel.SelectBuilder.From+0x232 github.com/mattermost/squirrel@v0.5.0/select.go:275 # 0x19f7ece github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x1ae github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1173 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [562: 26976] @ 0x48dd05 0x48de45 0x52107d 0xb765a7 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0xb765a6 net/rpc.(*Server).readRequest+0x206 net/rpc/server.go:575 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [66: 152064] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xc8595b 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x247ab46 0x247aaad 0x281da8e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x281da8d github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x50d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:285 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 48] @ 0x48dd05 0x428505 0x1256edf 0x125b4df 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b4de github.com/lib/pq.(*conn).readStatementDescribeResponse+0x3e github.com/lib/pq@v1.12.3/conn.go:1637 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [87: 4176] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x63f9a5 0x63f98f 0x2724c7b 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x63f9a4 net/url.ParseQuery+0x24 net/url/url.go:932 # 0x63f98e net/url.(*URL).Query+0xe net/url/url.go:1155 # 0x2724c7a github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x5a github.com/mattermost/mattermost/server/v8/channels/web/params.go:143 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [47: 1540096] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4ce52c 0x4ce50b 0x730f78 0x732da5 0x73393a 0x272b31e 0x77bd69 0x272b016 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4ce52b io.Copy+0x8b io/io.go:388 # 0x4ce50a io.CopyN+0x6a io/io.go:364 # 0x730f77 net/http.serveContent+0xd37 net/http/fs.go:429 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272b31d github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func2+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272b015 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func3+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1: 48] @ 0x48dd05 0x428505 0x410c72 0x48e029 0xc8595b 0xc97aa5 0x1134f0f 0x11358e5 0x1135873 0x211e0a2 0x21288ea 0x26a6d88 0x26a6d58 0x2479ae5 0x26ba13a 0x26b9d92 0x28a2ba9 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xc8595a github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0xda github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:682 # 0xc97aa4 github.com/mattermost/mattermost/server/public/model.(*User).UnmarshalMsg+0xa24 github.com/mattermost/mattermost/server/public/model/user_serial_gen.go:595 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x11358e4 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x84 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x1135872 github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.Get+0x12 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:78 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x21288e9 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 # 0x26a6d87 github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUser+0x47 github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:94 # 0x26a6d57 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUser+0x17 github.com/mattermost/mattermost/server/v8/channels/app/user.go:526 # 0x2479ae4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x24 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:296 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x26b9d91 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UserCanSeeOtherUser+0x91 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2613 # 0x28a2ba8 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x1e8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:373 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20165: 14206484480] @ 0x48dd33 0x492ae9 0x4fadfa 0x272bd6e 0x272bd06 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fadf9 bytes.Replace+0xf9 bytes/bytes.go:1170 # 0x272bd6d bytes.ReplaceAll+0x9ed bytes/bytes.go:1200 # 0x272bd05 github.com/mattermost/mattermost/server/v8/channels/web.root+0x985 github.com/mattermost/mattermost/server/v8/channels/web/static.go:119 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [20157: 14200848384] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x272b8da 0x2719454 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x272b8d9 github.com/mattermost/mattermost/server/v8/channels/web.root+0x559 github.com/mattermost/mattermost/server/v8/channels/web/static.go:106 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [212: 434176] @ 0x48dd2c 0x4930f3 0x124f4ff 0x125450e 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x124f4fe github.com/lib/pq.(*writeBuf).next+0x9e github.com/lib/pq@v1.12.3/buf.go:99 # 0x125450d github.com/lib/pq.(*conn).prepareTo+0x4ed github.com/lib/pq@v1.12.3/conn.go:771 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x11356e8 0x11356c6 0x1135673 0x21ef335 0x21ef632 0x21f44f8 0x21f40cb 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x11356e7 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x11356c5 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x65 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x1135672 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 # 0x21ef334 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCacheSkipClusterSend+0x54 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:19 # 0x21ef631 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).AddStatusCache+0x31 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:25 # 0x21f44f7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates.func1+0x97 github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:432 # 0x21f40ca github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).processStatusUpdates+0x18a github.com/mattermost/mattermost/server/v8/channels/app/platform/status.go:464 0: 0 [274: 30688] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837cc5 0x1837b12 0x18390d5 0x1839345 0x1846b9b 0x1846a93 0x19f1da9 0x19f5485 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837cc4 github.com/lann/ps.setLowLevel+0x144 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:133 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x1846b9a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846a92 github.com/mattermost/squirrel.SelectBuilder.Column+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:270 # 0x19f1da8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.getTeamMembersWithSchemeSelectQuery+0x68 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:732 # 0x19f5484 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x84 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:974 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1035: 33120] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1409: 811584] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19db934 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19db933 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x73 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:187 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3023: 14703872] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3160: 51773440] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3175: 152400] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1381: 79192064] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1355: 77701120] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1053: 168480] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [534: 2597376] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x25d495c 0x127eac8 0x12c82a2 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x25d495b github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionTo+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1119 # 0x127eac7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1053 # 0x12c82a1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionTo+0xa1 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6306 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4502: 18440192] @ 0x48dd2c 0x492ae9 0xb5cca5 0xb5cc53 0xb5cd6f 0xb757d0 0x12880d3 0x498001 # 0xb5cca4 bufio.NewReaderSize+0xc4 bufio/bufio.go:57 # 0xb5cc52 bufio.NewReader+0x72 bufio/bufio.go:63 # 0xb5cd6e encoding/gob.NewDecoder+0x18e encoding/gob/decoder.go:49 # 0xb757cf net/rpc.(*Server).ServeConn+0x12f net/rpc/server.go:451 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [35: 10080] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x18d1e25 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18d1e24 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0x3c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1229 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [12: 288] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d17f7 0x18d1795 0x185acf5 0x217c079 0x249c850 0x2766c10 0x2766b37 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d17f6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xa16 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d1794 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannels+0x9b4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1208 # 0x185acf4 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannels+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2094 # 0x217c078 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannels+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1795 # 0x249c84f github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannelsForTeamForUser+0x8f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2303 # 0x2766c0f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForTeamForUser+0x4af github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2318 # 0x2766b36 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForTeamForUser+0x3d6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1382 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [89: 3645440] @ 0x48dd33 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18eb508 0x18eb4a4 0x185cffe 0x217e689 0x249e848 0x276e49d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18eb507 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x407 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eb4a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUser+0x3a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3184 # 0x185cffd github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUser+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2583 # 0x217e688 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUser+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2179 # 0x249e847 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUser+0x87 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2511 # 0x276e49c github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForTeamForUser+0x31c github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1966 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6443: 52781056] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [150: 52800] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x776529 0x775e77 0x227e8d6 0x227e8b5 0x227e7cb 0x12f0ba2 0x51716c 0x516019 0xb75014 0x498001 # 0x776528 net/http.Header.Clone+0x828 net/http/header.go:114 # 0x775e76 net/http.(*response).WriteHeader+0x176 net/http/server.go:1187 # 0x227e8d5 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).WriteHeader+0x35 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:94 # 0x227e8b4 github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).maybeWriteHeader+0x14 github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:113 # 0x227e7ca github.com/getsentry/sentry-go/internal/httputils.(*basicWriter).Write+0x2a github.com/getsentry/sentry-go@v0.46.2/internal/httputils/wrap_writer.go:98 # 0x12f0ba1 github.com/mattermost/mattermost/server/public/plugin.(*httpResponseWriterRPCServer).Write+0x21 github.com/mattermost/mattermost/server/public/plugin/http.go:37 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [58: 1392] @ 0x48dd05 0x428505 0x1256edf 0x125b1bc 0x1254765 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1256ede github.com/lib/pq.(*conn).recv1+0x1e github.com/lib/pq@v1.12.3/conn.go:1169 # 0x125b1bb github.com/lib/pq.(*conn).readReadyForQuery+0x1b github.com/lib/pq@v1.12.3/conn.go:1599 # 0x1254764 github.com/lib/pq.(*conn).prepareTo+0x744 github.com/lib/pq@v1.12.3/conn.go:790 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [69: 52992] @ 0x48dd2c 0x492ae9 0x125c3c8 0x125b6f6 0x12545dd 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x1a25ef7 0x1a25e7a 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x125c3c7 github.com/lib/pq.parseStatementRowDescribe+0xa7 github.com/lib/pq@v1.12.3/conn.go:1776 # 0x125b6f5 github.com/lib/pq.(*conn).readStatementDescribeResponse+0x255 github.com/lib/pq@v1.12.3/conn.go:1651 # 0x12545dc github.com/lib/pq.(*conn).prepareTo+0x5bc github.com/lib/pq@v1.12.3/conn.go:781 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x1a25ef6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x356 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x1a25e79 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2d9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1159 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1159: 47472640] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [2092: 4284416] @ 0x48dd2c 0x492ae9 0x1256afa 0x1256de8 0x126e8ad 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x1256af9 github.com/lib/pq.(*conn).recvMessage+0x259 github.com/lib/pq@v1.12.3/conn.go:1098 # 0x1256de7 github.com/lib/pq.(*conn).recv1Buf+0x27 github.com/lib/pq@v1.12.3/conn.go:1143 # 0x126e8ac github.com/lib/pq.(*rows).Next+0xac github.com/lib/pq@v1.12.3/rows.go:90 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [205: 4920] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x19de44d 0x198aa16 0x198a8d3 0x187963a 0x219ef06 0x262cc84 0x25cee33 0x1276f8a 0x12ab275 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x198aa15 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x175 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x198a8d2 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 # 0x1879639 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPreferenceStore).GetAll+0x59 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10023 # 0x219ef05 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPreferenceStore).GetAll+0x65 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8006 # 0x262cc83 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPreferencesForUser+0x63 github.com/mattermost/mattermost/server/v8/channels/app/preference.go:17 # 0x25cee32 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPreferencesForUser+0x32 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:320 # 0x1276f89 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPreferencesForUser+0x69 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:215 # 0x12ab274 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPreferencesForUser+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2794 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [242: 27104] @ 0x48dd05 0x428505 0x49487c 0x4bee88 0xb83e38 0xb83e05 0x498001 # 0x49487b time.newTimer+0x3b runtime/time.go:390 # 0x4bee87 time.NewTimer+0x67 time/sleep.go:145 # 0xb83e37 time.After+0x57 time/sleep.go:203 # 0xb83e04 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:189 0: 0 [954: 183168] @ 0x48dd05 0x428505 0x18c8050 0x18ec539 0x18ec693 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x18c804f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRoles.ToModel+0x36f github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:399 # 0x18ec538 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x518 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ec692 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x672 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3214 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [83: 63744] @ 0x48dd0c 0x493087 0x18ebf26 0x18ebbcc 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x18ebf25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.channelMemberWithTeamWithSchemeRolesList.ToModel+0x565 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:438 # 0x18ebbcb github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x20b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3200 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [755: 108720] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [706: 203328] @ 0x48dd05 0x492ae9 0x13999cd 0x13a3adf 0x13a58f9 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x13999cc github.com/jmoiron/sqlx/reflectx.(*Mapper).TraversalsByName+0x4c github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:168 # 0x13a3ade github.com/jmoiron/sqlx.(*Row).scanAny+0x45e github.com/jmoiron/sqlx@v1.4.0/sqlx.go:780 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [409: 65440] @ 0x48dd05 0x428505 0x80867e 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x13a58e2 0x19dbabb 0x19dba73 0x19f56c5 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x80867d database/sql.(*DB).queryDC+0x4bd database/sql/sql.go:1795 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x13a58e1 github.com/jmoiron/sqlx.GetContext+0x61 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:83 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19f56c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x2c4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:984 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1366: 67141632] @ 0x48dd33 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [951: 30432] @ 0x48dd2c 0x4752f7 0x126af6c 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af6b github.com/lib/pq.textDecode+0x2ab github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [121: 5808] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [2386: 2443264] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [118: 5664] @ 0x48dd05 0x428505 0x1847645 0x184769b 0x19f5605 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x1847644 github.com/mattermost/squirrel.newWherePart+0xa4 github.com/mattermost/squirrel@v0.5.0/where.go:10 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x19f5604 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x204 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:976 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [717: 11472] @ 0x48dd05 0x48d725 0x126af71 0x126a739 0x126eed7 0x25de089 0x12e217f 0x51716c 0x516019 0xb75014 0x498001 # 0x126af70 github.com/lib/pq.textDecode+0x2b0 github.com/lib/pq@v1.12.3/encode.go:102 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x25de088 github.com/mattermost/mattermost/server/v8/channels/app.(*DriverImpl).RowsNext+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/plugin_db_driver.go:316 # 0x12e217e github.com/mattermost/mattermost/server/public/plugin.(*dbRPCServer).RowsNext+0x3e github.com/mattermost/mattermost/server/public/plugin/db_rpc.go:375 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2521: 2581504] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x18444c5 0x1845233 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x18444c4 github.com/mattermost/squirrel.appendToSql+0x184 github.com/mattermost/squirrel@v0.5.0/part.go:56 # 0x1845232 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x4b2 github.com/mattermost/squirrel@v0.5.0/select.go:113 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [55: 49280] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x1a25e54 0x1891302 0x21ba93f 0x2128590 0x17edbd0 0x26a92b3 0x28abb9e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1a25e53 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.GetProfileByIds+0x2b3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:1154 # 0x1891301 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).GetProfileByIds+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16740 # 0x21ba93e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).GetProfileByIds+0xbe github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:13232 # 0x212858f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).GetProfileByIds+0x86f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:207 # 0x17edbcf github.com/mattermost/mattermost/server/v8/channels/app/users.(*UserService).GetUsersByIds+0x4f github.com/mattermost/mattermost/server/v8/channels/app/users/users.go:145 # 0x26a92b2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetUsersByIds+0x32 github.com/mattermost/mattermost/server/v8/channels/app/user.go:854 # 0x28abb9d github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x2dd github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1171 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [817: 33464320] @ 0x48dd33 0x48dee5 0x48df53 0x520ce5 0xb55bc5 0xb56536 0xb5c929 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0x48df52 reflect.unsafe_NewArray+0x12 runtime/malloc.go:2226 # 0x520ce4 reflect.MakeSlice+0xa4 reflect/value.go:3061 # 0xb55bc4 encoding/gob.decUint8Slice+0x2c4 encoding/gob/decode.go:377 # 0xb56535 encoding/gob.(*Decoder).decodeSingle+0x175 encoding/gob/decode.go:461 # 0xb5c928 encoding/gob.(*Decoder).decodeValue+0x288 encoding/gob/decode.go:1255 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [32: 512] @ 0x48dd05 0x428505 0xb5bc45 0xb5bbf3 0xb5bc03 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5bc44 errors.New+0x3e4 errors/errors.go:65 # 0xb5bbf2 encoding/gob.overflow+0x392 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [309: 39552] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x4ce234 0x1844494 0x1845014 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x4ce233 io.WriteString+0x53 io/io.go:316 # 0x1844493 github.com/mattermost/squirrel.appendToSql+0x153 github.com/mattermost/squirrel@v0.5.0/part.go:50 # 0x1845013 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x293 github.com/mattermost/squirrel@v0.5.0/select.go:89 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [15: 240] @ 0x48dd25 0x4930f3 0x557139 0x55753c 0x556e3d 0x5469d4 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x19f8245 0x19f81ea 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x557138 encoding/json.(*scanner).pushParseState+0x58 encoding/json/scanner.go:181 # 0x55753b encoding/json.stateBeginValue+0x1fb encoding/json/scanner.go:224 # 0x556e3c encoding/json.checkValid+0x9c encoding/json/scanner.go:37 # 0x5469d3 encoding/json.Unmarshal+0x53 encoding/json/decode.go:107 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19f8244 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x524 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19f81e9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x4c9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1181 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [300: 48000] @ 0x48dd2c 0x4752f7 0x6f2f17 0x79ae1b 0x79ae1c 0x774ce7 0x779bd8 0x498001 # 0x6f2f16 net/textproto.readMIMEHeader+0x2d6 net/textproto/reader.go:574 # 0x79ae1a net/textproto.(*Reader).ReadMIMEHeader+0x47a net/textproto/reader.go:508 # 0x79ae1b net/http.readRequest+0x47b net/http/request.go:1133 # 0x774ce6 net/http.(*conn).readRequest+0x226 net/http/server.go:1005 # 0x779bd7 net/http.(*conn).serve+0x3d7 net/http/server.go:1995 0: 0 [145: 4640] @ 0x48dd2c 0x4752f7 0xc85a52 0xc85a18 0x1134f0f 0x1133d85 0x211e0a2 0x211508c 0x2479d89 0x25d4a85 0x127ece8 0x12c8a95 0x51716c 0x516019 0xb75014 0x498001 # 0xc85a51 github.com/tinylib/msgp/msgp.ReadStringBytes+0x1d1 github.com/tinylib/msgp@v1.6.4/msgp/read_bytes.go:991 # 0xc85a17 github.com/mattermost/mattermost/server/public/model.(*StringMap).UnmarshalMsg+0x197 github.com/mattermost/mattermost/server/public/model/session_serial_gen.go:692 # 0x1134f0e github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x6e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:205 # 0x1133d84 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x211e0a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardReadCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:625 # 0x211508b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x12b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:307 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x25d4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToChannel+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1127 # 0x127ece7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToChannel+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1067 # 0x12c8a94 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToChannel+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6366 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [180: 8640] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0xb5c35c 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c35b encoding/gob.(*Decoder).getDecEnginePtr+0x5b encoding/gob/decode.go:1188 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [1174: 601088] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [929: 10107520] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [5: 1920] @ 0x48dd2c 0x4752f7 0x1844927 0x1844928 0x184de6f 0x1844d4d 0x184613f 0x19de407 0x1990f5f 0x1990669 0x187af02 0x21a0ad7 0x22359de 0x22358fe 0x26330c7 0x27bc228 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1844926 bytes.(*Buffer).String+0x266 bytes/buffer.go:77 # 0x1844927 github.com/mattermost/squirrel.replacePositionalPlaceholders+0x267 github.com/mattermost/squirrel@v0.5.0/placeholder.go:113 # 0x184de6e github.com/mattermost/squirrel.dollarFormat.ReplacePlaceholders+0x2e github.com/mattermost/squirrel@v0.5.0/placeholder.go:52 # 0x1844d4c github.com/mattermost/squirrel.(*selectData).ToSql+0x4c github.com/mattermost/squirrel@v0.5.0/select.go:60 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1990f5e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0xade github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1990668 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyFieldStore).SearchPropertyFields+0x1e8 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_field_store.go:222 # 0x187af01 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyFieldStore).SearchPropertyFields+0xc1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10422 # 0x21a0ad6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyFieldStore).SearchPropertyFields+0xb6 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8310 # 0x22359dd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).searchPropertyFields+0x11d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:224 # 0x22358fd github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).SearchPropertyFields+0x3d github.com/mattermost/mattermost/server/v8/channels/app/properties/property_field.go:528 # 0x26330c6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SearchPropertyFields+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/property_field.go:137 # 0x27bc227 github.com/mattermost/mattermost/server/v8/channels/api4.listCPAFields+0x1e7 github.com/mattermost/mattermost/server/v8/channels/api4/custom_profile_attributes.go:42 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [44: 14080] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x1846034 0x19de407 0x1a06bb8 0x1a06b4b 0x1309f10 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x1846033 github.com/mattermost/squirrel.SelectBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/select.go:217 # 0x19de406 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x46 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:372 # 0x1a06bb7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x497 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a06b4a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func3+0x42a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:461 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [1528: 293376] @ 0x48dd05 0x428505 0x72e878 0x25e9cfb 0x25e9cf2 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x72e877 net/http.readCookies+0x497 net/http/cookie.go:411 # 0x25e9cfa net/http.(*Request).Cookies+0x4ba net/http/request.go:429 # 0x25e9cf1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x4b1 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:195 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [78: 3744] @ 0x48dd05 0x428505 0x4fd4ee 0x4fd55c 0x4fd290 0x2726127 0x2716cb5 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4fd4ed strconv.syntaxError+0xcd strconv/number.go:273 # 0x4fd55b strconv.toError+0x13b strconv/number.go:234 # 0x4fd28f strconv.Atoi+0x4f strconv/number.go:149 # 0x2726126 github.com/mattermost/mattermost/server/v8/channels/web.ParamsFromRequest+0x1506 github.com/mattermost/mattermost/server/v8/channels/web/params.go:214 # 0x2716cb4 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x5d4 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:198 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [471: 602880] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [242: 27104] @ 0x48dd05 0x428505 0x41d554 0x4bee48 0xb83e38 0xb83e05 0x498001 # 0x4bee47 time.NewTimer+0x27 time/sleep.go:144 # 0xb83e37 time.After+0x57 time/sleep.go:203 # 0xb83e04 github.com/hashicorp/go-plugin.(*MuxBroker).timeoutWait+0x24 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:189 0: 0 [752: 108288] @ 0x48dd05 0x428505 0x5469b7 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x5469b6 encoding/json.Unmarshal+0x36 encoding/json/decode.go:106 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [404: 90496] @ 0x48dd05 0x428505 0x2719891 0x27194e2 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2719890 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP.func1+0x250 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:159 # 0x27194e1 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2e01 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:371 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [150: 7200] @ 0x48dd05 0x428505 0x1cc525a 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1cc5259 github.com/gorilla/mux.(*Router).ServeHTTP+0xb9 github.com/gorilla/mux@v1.8.1/mux.go:196 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [10: 1120] @ 0x48dd05 0x428505 0x1837bff 0x1837bf3 0x1837b12 0x18390d5 0x1839345 0x184701b 0x1846f13 0x19f7fc9 0x19f7f7e 0x188801e 0x21b0029 0x26952ba 0x28807d2 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1837bfe github.com/lann/ps.(*tree).clone+0x7e github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837bf2 github.com/lann/ps.setLowLevel+0x72 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:131 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1839344 github.com/lann/builder.Extend+0x124 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:86 # 0x184701a github.com/lann/builder.Append+0x11a github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x1846f12 github.com/mattermost/squirrel.SelectBuilder.JoinClause+0x12 github.com/mattermost/squirrel@v0.5.0/select.go:287 # 0x19f7fc8 github.com/mattermost/squirrel.SelectBuilder.Join+0x2a8 github.com/mattermost/squirrel@v0.5.0/select.go:292 # 0x19f7f7d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetChannelUnreadsForAllTeams+0x25d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:1174 # 0x188801d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetChannelUnreadsForAllTeams+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14283 # 0x21b0028 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetChannelUnreadsForAllTeams+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11284 # 0x26952b9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsUnreadForUser+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1728 # 0x28807d1 github.com/mattermost/mattermost/server/v8/channels/api4.getTeamsUnreadForUser+0x291 github.com/mattermost/mattermost/server/v8/channels/api4/team.go:642 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [861: 247968] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x226ca4d 0x2663617 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x226ca4c github.com/getsentry/sentry-go.(*Span).SetData+0xec github.com/getsentry/sentry-go@v0.46.2/tracing.go:308 # 0x2663616 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x256 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:109 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [903: 14448] @ 0x48dd05 0x48de45 0x515458 0x5274d0 0x5274e5 0x521209 0x51dac6 0xb587fd 0xb59b9a 0xb57019 0xb58225 0xb59c93 0xb56750 0xb5c906 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x515457 reflect.packEfaceData+0x57 reflect/value.go:142 # 0x5274cf reflect.packEface+0xaf reflect/value.go:126 # 0x5274e4 reflect.valueInterface+0xc4 reflect/value.go:1512 # 0x521208 reflect.Value.assignTo+0x108 reflect/value.go:3202 # 0x51dac5 reflect.Value.Set+0xe5 reflect/value.go:2158 # 0xb587fc encoding/gob.(*Decoder).decodeInterface+0x4dc encoding/gob/decode.go:726 # 0xb59b99 encoding/gob.(*Decoder).decOpFor.func5+0x39 encoding/gob/decode.go:904 # 0xb57018 encoding/gob.(*Decoder).decodeArrayHelper+0x1d8 encoding/gob/decode.go:565 # 0xb58224 encoding/gob.(*Decoder).decodeSlice+0x404 encoding/gob/decode.go:667 # 0xb59c92 encoding/gob.(*Decoder).decOpFor.func3+0x32 encoding/gob/decode.go:888 # 0xb5674f encoding/gob.(*Decoder).decodeStruct+0x14f encoding/gob/decode.go:494 # 0xb5c905 encoding/gob.(*Decoder).decodeValue+0x265 encoding/gob/decode.go:1253 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [127: 292608] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x24adbe9 0x2767769 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x24adbe8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).FillInChannelsProps+0x328 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:3938 # 0x2767768 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5e8 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1453 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [63: 5040] @ 0x48dd05 0x428505 0xb73346 0x129d40a 0x129d3bf 0x12ed4a2 0x21fa03c 0x12e7c9e 0x4a3dbf 0x4a3e57 0x12e7af2 0x12e7ab6 0x24c4134 0x21f9eda 0x498001 # 0xb73345 net/rpc.(*Client).Go+0x45 net/rpc/client.go:299 # 0x129d409 net/rpc.(*Client).Call+0x129 net/rpc/client.go:321 # 0x129d3be github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).WebSocketMessageHasBeenPosted+0xde github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:1139 # 0x12ed4a1 github.com/mattermost/mattermost/server/public/plugin.(*hooksTimerLayer).WebSocketMessageHasBeenPosted+0x81 github.com/mattermost/mattermost/server/public/plugin/hooks_timer_layer_generated.go:228 # 0x21fa03b 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 # 0x12e7c9d github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook.func1+0x11d github.com/mattermost/mattermost/server/public/plugin/environment.go:613 # 0x4a3dbe internal/sync.(*HashTrieMap[...]).iter+0xde internal/sync/hashtriemap.go:512 # 0x4a3e56 internal/sync.(*HashTrieMap[...]).Range+0x56 internal/sync/hashtriemap.go:495 # 0x12e7af1 sync.(*Map).Range+0x71 sync/map.go:114 # 0x12e7ab5 github.com/mattermost/mattermost/server/public/plugin.(*Environment).RunMultiPluginHook+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:605 # 0x24c4133 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RunMultiHook+0x33 github.com/mattermost/mattermost/server/v8/channels/app/channels.go:326 # 0x21f9ed9 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*WebConn).pluginPostedConsumer+0xb9 github.com/mattermost/mattermost/server/v8/channels/app/platform/web_conn.go:289 0: 0 [1: 16] @ 0x48dd25 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x247796d 0x2710196 0x28a2e05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x247796c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionTo+0x6c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:22 # 0x2710195 github.com/mattermost/mattermost/server/v8/channels/web.(*Context).IsSystemAdmin+0x135 github.com/mattermost/mattermost/server/v8/channels/web/context.go:127 # 0x28a2e04 github.com/mattermost/mattermost/server/v8/channels/api4.getUserByUsername+0x444 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:406 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [199: 12736] @ 0x48dd05 0x428505 0xb5cf98 0xb5d436 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5cf97 encoding/gob.(*Decoder).recvType+0x97 encoding/gob/decoder.go:69 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [73: 15184] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [97: 4656] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [495: 11880] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1577: 504640] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x18ebbc6 0x18eba44 0x185d31e 0x217e9c9 0x249e9b5 0x25d0f87 0x127b02a 0x12ba545 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ebbc5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x205 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18eba43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3195 # 0x185d31d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithPagination+0x7d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2625 # 0x217e9c8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithPagination+0x88 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2211 # 0x249e9b4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersForUserWithPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2520 # 0x25d0f86 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetChannelMembersForUser+0x26 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:654 # 0x127b029 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetChannelMembersForUser+0xa9 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:649 # 0x12ba544 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetChannelMembersForUser+0x64 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:4632 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [734: 11744] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54a19d 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54a19c encoding/json.(*decodeState).literalStore+0x1dc encoding/json/decode.go:864 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [71: 4544] @ 0x48dd05 0x428505 0xb62d5e 0xb62d29 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb66f88 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75325 0xb74c1f 0xb750d1 0x498001 # 0xb62d5d encoding/gob.(*Encoder).newEncoderState+0xbd encoding/gob/encode.go:82 # 0xb62d28 encoding/gob.(*Encoder).encodeStruct+0x88 encoding/gob/encode.go:310 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb66f87 encoding/gob.(*Encoder).sendActualType+0x147 encoding/gob/encoder.go:106 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75324 net/rpc.(*gobServerCodec).WriteResponse+0x44 net/rpc/server.go:411 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [247: 27664] @ 0x48dd2c 0x41d5e6 0x9a1f67 0x9a1893 0x9a0dd3 0x9a0a96 0x9a0958 0x498001 # 0x9a1f66 github.com/hashicorp/yamux.newStream+0xa6 github.com/hashicorp/yamux@v0.1.2/stream.go:76 # 0x9a1892 github.com/hashicorp/yamux.(*Session).incomingStream+0x52 github.com/hashicorp/yamux@v0.1.2/session.go:687 # 0x9a0dd2 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x72 github.com/hashicorp/yamux@v0.1.2/session.go:583 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [153: 22032] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x416755 0xb5c40b 0xb5941c 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5c40a encoding/gob.(*Decoder).getDecEnginePtr+0x10a encoding/gob/decode.go:1194 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [125: 3000] @ 0x48dd05 0x428505 0xb5943d 0xb5c0bb 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5cfd0 0xb5d436 0xb5d7ee 0xb5d63c 0xb75245 0xb76818 0xb763cf 0xb75b31 0xb759ef 0x12880d3 0x498001 # 0xb5943c encoding/gob.(*Decoder).decOpFor+0x4fc encoding/gob/decode.go:898 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5cfcf encoding/gob.(*Decoder).recvType+0xcf encoding/gob/decoder.go:70 # 0xb5d435 encoding/gob.(*Decoder).decodeTypeSequence+0x75 encoding/gob/decoder.go:168 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb75244 net/rpc.(*gobServerCodec).ReadRequestHeader+0x24 net/rpc/server.go:403 # 0xb76817 net/rpc.(*Server).readRequestHeader+0x57 net/rpc/server.go:589 # 0xb763ce net/rpc.(*Server).readRequest+0x2e net/rpc/server.go:549 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0x12880d2 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x592 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:475 0: 0 [79: 1264] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x546e9e 0x546a79 0xc9bcd2 0x7ff773 0x80f88a 0x80f4f3 0x13a4d52 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc9bcd1 github.com/mattermost/mattermost/server/public/model.(*StringMap).Scan+0x51 github.com/mattermost/mattermost/server/public/model/utils.go:144 # 0x7ff772 database/sql.convertAssignRows+0x1f92 database/sql/convert.go:394 # 0x80f889 database/sql.(*Rows).scanLocked+0x289 database/sql/sql.go:3399 # 0x80f4f2 database/sql.(*Rows).Scan+0x72 database/sql/sql.go:3374 # 0x13a4d51 github.com/jmoiron/sqlx.scanAll+0x6f1 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:966 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [324: 248832] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [69: 750720] @ 0x48dd0c 0x492ae9 0x551136 0x54dd73 0x54db31 0x55a790 0x27b0705 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x55a78f encoding/json.(*Encoder).Encode+0xcf encoding/json/stream.go:212 # 0x27b0704 github.com/mattermost/mattermost/server/v8/channels/api4.getClientConfig+0x104 github.com/mattermost/mattermost/server/v8/channels/api4/config.go:261 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [470: 330880] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0x76a39d 0x25e9da5 0x25e8429 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x76a39c net/http.(*Request).AddCookie+0x15c net/http/request.go:467 # 0x25e9da4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).servePluginRequest+0x564 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:199 # 0x25e8428 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).ServePluginRequest+0x468 github.com/mattermost/mattermost/server/v8/channels/app/plugin_requests.go:49 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1039: 365728] @ 0x48dd05 0x428505 0x2265655 0x2267768 0x225e4d2 0x266346c 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x2265654 github.com/getsentry/sentry-go.NewScope+0x74 github.com/getsentry/sentry-go@v0.46.2/scope.go:60 # 0x2267767 github.com/getsentry/sentry-go.(*Scope).Clone+0x87 github.com/getsentry/sentry-go@v0.46.2/scope.go:335 # 0x225e4d1 github.com/getsentry/sentry-go.(*Hub).Clone+0x31 github.com/getsentry/sentry-go@v0.46.2/hub.go:118 # 0x266346b github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0xab github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:90 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [244: 1186816] @ 0x48dd0c 0x492ae9 0xbe95e7 0xbe950b 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x26ba13a 0x28abb05 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0xbe95e6 github.com/vmihailenco/msgpack/v5.makeStrings+0x126 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:71 # 0xbe950a github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x4a github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:52 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x26ba139 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetViewUsersRestrictions+0x59 github.com/mattermost/mattermost/server/v8/channels/app/user.go:2655 # 0x28abb04 github.com/mattermost/mattermost/server/v8/channels/api4.getUsersByIds+0x244 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1164 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [119: 2856] @ 0x48dd05 0x48d7c5 0x126b176 0x126a739 0x126eed7 0x80dfe2 0x80dea9 0x810451 0x80de11 0x13a4c91 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x126b175 github.com/lib/pq.textDecode+0x4b5 github.com/lib/pq@v1.12.3/encode.go:135 # 0x126a738 github.com/lib/pq.decode+0x38 github.com/lib/pq@v1.12.3/encode.go:59 # 0x126eed6 github.com/lib/pq.(*rows).Next+0x6d6 github.com/lib/pq@v1.12.3/rows.go:127 # 0x80dfe1 database/sql.(*Rows).nextLocked+0x101 database/sql/sql.go:3066 # 0x80dea8 database/sql.(*Rows).Next.func1+0x28 database/sql/sql.go:3041 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x80de10 database/sql.(*Rows).Next+0x70 database/sql/sql.go:3040 # 0x13a4c90 github.com/jmoiron/sqlx.scanAll+0x630 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:955 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [2: 24576] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 896] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19dd1cb 0x18e24fa 0x1859859 0x217a9bf 0x21150f0 0x2479d89 0x247ab46 0x247aaad 0x2608b07 0x2824b79 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19dd1ca github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Query+0x6a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:295 # 0x18e24f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetAllChannelMembersForUser+0x4f9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:2462 # 0x1859858 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetAllChannelMembersForUser+0x98 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1800 # 0x217a9be github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetAllChannelMembersForUser+0x9e github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1571 # 0x21150ef github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.GetAllChannelMembersForUser+0x18f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:312 # 0x2479d88 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToChannel+0xc8 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:337 # 0x247ab45 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToReadChannel+0x45 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:467 # 0x247aaac github.com/mattermost/mattermost/server/v8/channels/app.(*App).SessionHasPermissionToReadChannel+0x4c github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:455 # 0x2608b06 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPostIfAuthorized+0x1a6 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2652 # 0x2824b78 github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0x958 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:886 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1356: 781056] @ 0x48dd2c 0x4752f7 0x184565d 0x18454b1 0x1844d18 0x184613f 0x19f560a 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x184565c bytes.(*Buffer).String+0x8dc bytes/buffer.go:77 # 0x18454b0 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x730 github.com/mattermost/squirrel@v0.5.0/select.go:159 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x19f5609 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0x209 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:978 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [93: 14880] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1471: 35304] @ 0x48dd2c 0x4752f7 0xbea573 0xbea54e 0xbea505 0xbe9678 0xbe945e 0xbf69a3 0xbe7b79 0xbe7930 0xbec2c7 0xbe489a 0xbe45db 0xbe3577 0x1134f28 0x1135ad1 0x11359df 0x211e48f 0x212392b 0x2644dc3 0x247a1ea 0x2479b28 0x2479c52 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0xbea572 github.com/vmihailenco/msgpack/v5.(*Decoder).stringWithLen+0x52 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:59 # 0xbea54d github.com/vmihailenco/msgpack/v5.(*Decoder).string+0x2d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:51 # 0xbea504 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeString+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_string.go:43 # 0xbe9677 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStringSlicePtr+0x1b7 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:54 # 0xbe945d github.com/vmihailenco/msgpack/v5.decodeStringSliceValue+0x5d github.com/vmihailenco/msgpack/v5@v5.4.1/decode_slice.go:40 # 0xbf69a2 github.com/vmihailenco/msgpack/v5.(*field).DecodeValue+0x62 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:119 # 0xbe7b78 github.com/vmihailenco/msgpack/v5.(*Decoder).decodeStruct+0x198 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:349 # 0xbe792f github.com/vmihailenco/msgpack/v5.decodeStructValue+0x1af github.com/vmihailenco/msgpack/v5@v5.4.1/decode_map.go:307 # 0xbec2c6 github.com/vmihailenco/msgpack/v5.ptrValueDecoder.func1+0x226 github.com/vmihailenco/msgpack/v5@v5.4.1/decode_value.go:138 # 0xbe4899 github.com/vmihailenco/msgpack/v5.(*Decoder).DecodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:332 # 0xbe45da github.com/vmihailenco/msgpack/v5.(*Decoder).Decode+0x6ba github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:311 # 0xbe3576 github.com/vmihailenco/msgpack/v5.Unmarshal+0x116 github.com/vmihailenco/msgpack/v5@v5.4.1/decode.go:60 # 0x1134f27 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).get+0x87 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:210 # 0x1135ad0 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).Get+0x170 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:75 # 0x11359de github.com/mattermost/mattermost/server/v8/platform/services/cache.LRUStriped.GetMulti+0x7e github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:84 # 0x211e48e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doMultiReadCache+0x4e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:642 # 0x212392a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.GetByNames+0x1aa github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:74 # 0x2644dc2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x82 github.com/mattermost/mattermost/server/v8/channels/app/role.go:83 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479b27 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionTo+0x67 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:303 # 0x2479c51 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xd1 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:316 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2104: 3231744] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [10: 800] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19dda32 0x190465d 0x1904dde 0x185df71 0x217f77d 0x24b77d4 0x2784f93 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19dda31 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x51 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x190465c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.getSidebarCategoriesT+0x43c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:510 # 0x1904ddd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetSidebarCategoriesForTeamForUser+0xfd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store_categories.go:543 # 0x185df70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2814 # 0x217f77c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetSidebarCategoriesForTeamForUser+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2355 # 0x24b77d3 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSidebarCategoriesForTeamForUser+0x93 github.com/mattermost/mattermost/server/v8/channels/app/channel_category.go:29 # 0x2784f92 github.com/mattermost/mattermost/server/v8/channels/api4.getCategoriesForTeamForUser+0x2d2 github.com/mattermost/mattermost/server/v8/channels/api4/channel_category.go:30 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1441: 31356160] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x52015a 0x52038c 0x13a4e46 0x13a5628 0x19ddc8c 0x19ddc44 0x18ec213 0x18ec0a4 0x185d195 0x217e839 0x249ed8f 0x28c7fd0 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x520159 reflect.Value.extendSlice+0xb9 reflect/value.go:2766 # 0x52038b reflect.Append+0x6b reflect/value.go:2792 # 0x13a4e45 github.com/jmoiron/sqlx.scanAll+0x7e5 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:974 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18ec212 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0x1f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18ec0a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetMembersForUserWithCursorPagination+0x83 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:3205 # 0x185d194 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetMembersForUserWithCursorPagination+0x94 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2604 # 0x217e838 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetMembersForUserWithCursorPagination+0x98 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:2195 # 0x249ed8e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelMembersWithTeamDataForUserWithPagination+0x8e github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2537 # 0x28c7fcf github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0x7af github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3517 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [1675: 536000] @ 0x48dd05 0x48de45 0x52107d 0x13a4cae 0x13a5628 0x19ddc8c 0x19ddc44 0x18d2688 0x18d262a 0x185b33f 0x217c71e 0x249cb24 0x2767726 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x13a4cad github.com/jmoiron/sqlx.scanAll+0x64d github.com/jmoiron/sqlx@v1.4.0/sqlx.go:957 # 0x13a5627 github.com/jmoiron/sqlx.SelectContext+0xe7 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:62 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x18d2687 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xc27 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x18d2629 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.GetChannelsByUser+0xbc9 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:1273 # 0x185b33e github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).GetChannelsByUser+0xbe github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:2178 # 0x217c71d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).GetChannelsByUser+0xbd github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1859 # 0x249cb23 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannelsForUser+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2322 # 0x2767725 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x5a5 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1442 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [939: 390624] @ 0x48dd2c 0x492ae9 0x5bcc45 0xb5d1a5 0xb5d11e 0xb5d407 0xb5d7ee 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286669 0x4a3a6a 0x498001 # 0x5bcc44 internal/saferio.ReadData+0x64 internal/saferio/io.go:36 # 0xb5d1a4 encoding/gob.(*Decoder).readMessage+0x44 encoding/gob/decoder.go:105 # 0xb5d11d encoding/gob.(*Decoder).recvMessage+0xbd encoding/gob/decoder.go:93 # 0xb5d406 encoding/gob.(*Decoder).decodeTypeSequence+0x46 encoding/gob/decoder.go:150 # 0xb5d7ed encoding/gob.(*Decoder).DecodeValue+0x16d encoding/gob/decoder.go:229 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286668 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func2+0x68 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:314 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [725: 208800] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x19f54df 0x188873d 0x21b0823 0x268cdab 0x2479be6 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x19f54de github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetMember+0xde github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:975 # 0x188873c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetMember+0x9c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14388 # 0x21b0822 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetMember+0xa2 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11364 # 0x268cdaa github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamMember+0xca github.com/mattermost/mattermost/server/v8/channels/app/team.go:1026 # 0x2479be5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0x65 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:310 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2819: 92372992] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7825 0x4ce831 0x9a4349 0x9a4325 0x9a1005 0x9a0a96 0x9a0958 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7824 bytes.(*Buffer).ReadFrom+0x44 bytes/buffer.go:227 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x9a4348 io.Copy+0x1c8 io/io.go:388 # 0x9a4324 github.com/hashicorp/yamux.(*Stream).readData+0x1a4 github.com/hashicorp/yamux@v0.1.2/stream.go:506 # 0x9a1004 github.com/hashicorp/yamux.(*Session).handleStreamMessage+0x2a4 github.com/hashicorp/yamux@v0.1.2/session.go:620 # 0x9a0a95 github.com/hashicorp/yamux.(*Session).recvLoop+0xf5 github.com/hashicorp/yamux@v0.1.2/session.go:571 # 0x9a0957 github.com/hashicorp/yamux.(*Session).recv+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:532 0: 0 [12: 1344] @ 0x48dd2c 0x41d5e6 0x125d429 0x125cb68 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19de44d 0x1a073f8 0x1a0738b 0x1309f10 0x498001 # 0x125d428 github.com/lib/pq.(*conn).watchCancel+0x48 github.com/lib/pq@v1.12.3/conn_go18.go:97 # 0x125cb67 github.com/lib/pq.(*conn).QueryContext+0x47 github.com/lib/pq@v1.12.3/conn_go18.go:18 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x1a073f7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x3d7 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x1a0738a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlThreadStore).GetTeamsUnreadForUser.func1+0x36a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/thread_store.go:436 # 0x1309f0f golang.org/x/sync/errgroup.(*Group).Go.func1+0x4f golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 0: 0 [299: 120020992] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x27679a5 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x27679a4 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelsForUser+0x824 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:1467 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [321: 128851968] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [245: 66232320] @ 0x48dd33 0x428505 0x1c15a18 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x55a8b0 0x28c8249 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1c15a17 github.com/klauspost/compress/flate.NewWriter+0x297 github.com/klauspost/compress@v1.18.6/flate/deflate.go:895 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x55a8af encoding/json.(*Encoder).Encode+0x1ef encoding/json/stream.go:233 # 0x28c8248 github.com/mattermost/mattermost/server/v8/channels/api4.getChannelMembersForUser+0xa28 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3532 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 0: 0 [6: 288] @ 0x48dd05 0x428505 0x410c72 0x48e0f6 0x48e0dd 0x520e51 0x548846 0x548820 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x48e0dc reflect.makemap+0x1c runtime/map.go:211 # 0x520e50 reflect.MakeMapWithSize+0x50 reflect/value.go:3103 # 0x548845 reflect.MakeMap+0x465 reflect/value.go:3093 # 0x54881f encoding/json.(*decodeState).object+0x43f encoding/json/decode.go:649 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [2041: 261248] @ 0x48dd05 0x428505 0xb74713 0xb738a6 0x1287ee5 0x1287e5a 0x498001 # 0xb74712 net/rpc.suitableMethods+0x872 net/rpc/server.go:339 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0x1287ee4 net/rpc.(*Server).RegisterName+0x3a4 net/rpc/server.go:233 # 0x1287e59 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func1+0x319 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:471 0: 0 [4477: 18337792] @ 0x48dd2c 0x492ae9 0x12f16fe 0x12f16a9 0x12f1665 0x1287a0c 0x498001 # 0x12f16fd bufio.NewReaderSize+0xbd bufio/bufio.go:57 # 0x12f16a8 bufio.NewReader+0x68 bufio/bufio.go:63 # 0x12f1664 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x24 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:34 # 0x1287a0b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x28b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:488 0: 0 [35040: 1148190720] @ 0x48dd33 0x492ae9 0x12f1838 0x1287a0c 0x498001 # 0x12f1837 github.com/mattermost/mattermost/server/public/plugin.serveIOReader+0x1f7 github.com/mattermost/mattermost/server/public/plugin/io_rpc.go:36 # 0x1287a0b github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x28b github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:488 0: 0 [130: 14560] @ 0x48dd05 0x428505 0x41d554 0xb83c6b 0xb832a9 0x12877cd 0x498001 # 0xb83c6a github.com/hashicorp/go-plugin.(*MuxBroker).getStream+0xaa github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:177 # 0xb832a8 github.com/hashicorp/go-plugin.(*MuxBroker).Accept+0x48 github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:57 # 0x12877cc github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).ServeHTTP.func2+0x4c github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:482 0: 0 [1: 319488] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 80] @ 0x48dd05 0x428505 0x56e1db 0x56e1bd 0x80d9d5 0x80870c 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5dd9 0x13a55c9 0x19ddc8c 0x19ddc44 0x19bb5cd 0x19bb543 0x1880d24 0x21a77ea 0x21244c2 0x26451e7 0x2644e6b 0x2644e5a 0x247a1ea 0x2479c27 0x25d49e5 0x127ebc8 0x12c8695 0x51716c 0x516019 0xb75014 0x498001 # 0x56e1da context.withCancel+0x3a context/context.go:277 # 0x56e1bc context.WithCancel+0x1c context/context.go:241 # 0x80d9d4 database/sql.(*Rows).initContextClose+0x94 database/sql/sql.go:2994 # 0x80870b database/sql.(*DB).queryDC+0x54b database/sql/sql.go:1800 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5dd8 github.com/jmoiron/sqlx.(*DB).QueryxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:162 # 0x13a55c8 github.com/jmoiron/sqlx.SelectContext+0x88 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:56 # 0x19ddc8b github.com/jmoiron/sqlx.(*DB).SelectContext+0x1eb github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:141 # 0x19ddc43 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x1a3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:343 # 0x19bb5cc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Select+0xac github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:329 # 0x19bb542 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlRoleStore).ChannelHigherScopedPermissions+0x22 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:423 # 0x1880d23 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerRoleStore).ChannelHigherScopedPermissions+0x63 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:12087 # 0x21a77e9 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerRoleStore).ChannelHigherScopedPermissions+0x69 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:9589 # 0x21244c1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheRoleStore.ChannelHigherScopedPermissions+0x101 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/role_layer.go:133 # 0x26451e6 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).mergeChannelHigherScopedPermissions+0x166 github.com/mattermost/mattermost/server/v8/channels/app/role.go:125 # 0x2644e6a github.com/mattermost/mattermost/server/v8/channels/app.(*App).mergeChannelHigherScopedPermissions+0x12a github.com/mattermost/mattermost/server/v8/channels/app/role.go:144 # 0x2644e59 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetRolesByNames+0x119 github.com/mattermost/mattermost/server/v8/channels/app/role.go:88 # 0x247a1e9 github.com/mattermost/mattermost/server/v8/channels/app.(*App).RolesGrantPermission+0x49 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:384 # 0x2479c26 github.com/mattermost/mattermost/server/v8/channels/app.(*App).HasPermissionToTeam+0xa6 github.com/mattermost/mattermost/server/v8/channels/app/authorization.go:312 # 0x25d49e4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).HasPermissionToTeam+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1123 # 0x127ebc7 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).HasPermissionToTeam+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1060 # 0x12c8694 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).HasPermissionToTeam+0xb4 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6336 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24576] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc20e25 0x15e1707 0x15e8245 0x2660205 0x26601eb 0x292c379 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x15e1706 github.com/mattermost/mattermost/server/v8/config.applyEnvironmentMap+0x26 github.com/mattermost/mattermost/server/v8/config/environment.go:90 # 0x15e8244 github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x284 github.com/mattermost/mattermost/server/v8/config/store.go:292 # 0x2660204 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).ReloadConfig+0x664 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:132 # 0x26601ea github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start+0x64a github.com/mattermost/mattermost/server/v8/channels/app/server.go:986 # 0x292c378 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x138 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:104 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e3f53 0x12e3f4b 0x25eda4e 0x25edc9f 0x25ede9c 0x25bfd3d 0x25c2125 0x24c382c 0x265fd25 0x292c379 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e3f52 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e3f4a github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x25eda4d github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatuses+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:50 # 0x25edc9e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).getClusterPluginStatuses+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:78 # 0x25ede9b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).notifyPluginStatusesChanged+0x1b github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:96 # 0x25bfd3c github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPluginsActiveState+0x33c github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:161 # 0x25c2124 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).initPlugins+0x1124 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:256 # 0x24c382b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).Start+0x10b github.com/mattermost/mattermost/server/v8/channels/app/channels.go:246 # 0x265fd24 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start+0x184 github.com/mattermost/mattermost/server/v8/channels/app/server.go:923 # 0x292c378 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x138 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:104 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 5349376] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x12e4b8d 0x25c08ef 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25c08ee github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPluginsActiveState.func2+0x42e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:142 0: 0 [1: 224] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x12e7046 0x12e703e 0x12e4b8d 0x25c08ef 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e7045 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e703d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25c08ee github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPluginsActiveState.func2+0x42e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:142 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e4805 0x12e4800 0x25c08ef 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e4804 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e47ff github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xdf github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x25c08ee github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPluginsActiveState.func2+0x42e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:142 0: 0 [15: 720] @ 0x48dd2c 0x4752f7 0x549254 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 480] @ 0x48dd2c 0x492ae9 0x139c13f 0x13a12b7 0x19ddb0c 0x19de44d 0x19f10f3 0x19f0e93 0x1888e7d 0x21b0fe9 0x268cc22 0x26ac62a 0x26acb35 0x24826c5 0x25d5116 0x127f7ee 0x12ca519 0x51716c 0x516019 0xb75014 0x498001 # 0x139c13e github.com/jmoiron/sqlx.Rebind+0x7e github.com/jmoiron/sqlx@v1.4.0/bind.go:67 # 0x13a12b6 github.com/jmoiron/sqlx.(*DB).Rebind+0x36 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:289 # 0x19ddb0b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectContext+0x6b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:333 # 0x19de44c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilderCtx+0x8c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:377 # 0x19f10f2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).SelectBuilder+0x272 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:368 # 0x19f0e92 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlTeamStore.GetTeamsByUserId+0x12 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/team_store.go:658 # 0x1888e7c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerTeamStore).GetTeamsByUserId+0x5c github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:14493 # 0x21b0fe8 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerTeamStore).GetTeamsByUserId+0x68 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:11444 # 0x268cc21 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetTeamsForUser+0x61 github.com/mattermost/mattermost/server/v8/channels/app/team.go:1017 # 0x26ac629 github.com/mattermost/mattermost/server/v8/channels/app.(*App).invalidateUserChannelMembersCaches+0x49 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1160 # 0x26acb34 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateActive+0x3b4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1230 # 0x24826c4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateBotActive+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:409 # 0x25d5115 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdateBotActive+0x35 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1186 # 0x127f7ed github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdateBotActive+0x6d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1140 # 0x12ca518 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdateBotActive+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6573 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 24] @ 0x48dd05 0x48d7c5 0x18476f4 0x184769b 0x1a1e165 0x188f8d1 0x21b8a1d 0x2128a36 0x2482584 0x25d5116 0x127f7ee 0x12ca519 0x51716c 0x516019 0xb75014 0x498001 # 0x18476f3 github.com/lann/builder.Append+0x153 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:57 # 0x184769a github.com/mattermost/squirrel.SelectBuilder.Where+0xfa github.com/mattermost/squirrel@v0.5.0/select.go:339 # 0x1a1e164 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlUserStore.Get+0xe4 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/user_store.go:572 # 0x188f8d0 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerUserStore).Get+0x70 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:16302 # 0x21b8a1c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerUserStore).Get+0x7c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:12864 # 0x2128a35 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheUserStore).Get+0x1d5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/user_layer.go:244 # 0x2482583 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateBotActive+0xa3 github.com/mattermost/mattermost/server/v8/channels/app/bot.go:398 # 0x25d5115 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).UpdateBotActive+0x35 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1186 # 0x127f7ed github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).UpdateBotActive+0x6d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1140 # 0x12ca518 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).UpdateBotActive+0x58 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:6573 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [135: 2160] @ 0x48dd05 0x48de45 0x51c8ba 0x50adae 0xb63ce5 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb634e4 0xb65979 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb62bd1 0xb667a8 0xb646cb 0xb6c54f 0xb63783 0xb63d0b 0xb6568c 0xb63783 0xb63d0b 0xb6568c 0xb62f5e 0xb6550f 0xb62f5e 0xb6550f 0xb62f5e 0xb66785 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x51c8b9 reflect.copyVal+0x39 reflect/value.go:1885 # 0x50adad reflect.(*MapIter).Value+0x4d reflect/map.go:300 # 0xb63ce4 encoding/gob.(*Encoder).encodeMap+0x504 encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb634e3 encoding/gob.(*Encoder).encodeArray+0x483 encoding/gob/encode.go:351 # 0xb65978 encoding/gob.encOpFor.func1+0x138 encoding/gob/encode.go:519 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62bd0 encoding/gob.(*Encoder).encodeSingle+0x1f0 encoding/gob/encode.go:301 # 0xb667a7 encoding/gob.(*Encoder).encode+0x167 encoding/gob/encode.go:671 # 0xb646ca encoding/gob.(*Encoder).encodeInterface+0x8ea encoding/gob/encode.go:419 # 0xb6c54e encoding/gob.encOpFor.func5+0xce encoding/gob/encode.go:557 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb63782 encoding/gob.encodeReflectValue+0xe2 encoding/gob/encode.go:363 # 0xb63d0a encoding/gob.(*Encoder).encodeMap+0x52a encoding/gob/encode.go:375 # 0xb6568b encoding/gob.encOpFor.func3+0x12b encoding/gob/encode.go:539 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb6550e encoding/gob.encOpFor.func4+0x6e encoding/gob/encode.go:549 # 0xb62f5d encoding/gob.(*Encoder).encodeStruct+0x2bd encoding/gob/encode.go:328 # 0xb66784 encoding/gob.(*Encoder).encode+0x144 encoding/gob/encode.go:669 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [9: 288] @ 0x48dd05 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [35: 143360] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [56: 1835008] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 2304] @ 0x48dd0c 0x41d56d 0x99dfda 0x99dd4c 0xb842b6 0xb84165 0xb77b6f 0x12f294d 0x12e45a5 0x12e4c4d 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x99dfd9 github.com/hashicorp/yamux.newSession+0x259 github.com/hashicorp/yamux@v0.1.2/session.go:108 # 0x99dd4b github.com/hashicorp/yamux.Client+0xeb github.com/hashicorp/yamux@v0.1.2/mux.go:117 # 0xb842b5 github.com/hashicorp/go-plugin.NewRPCClient+0x35 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:66 # 0xb84164 github.com/hashicorp/go-plugin.newRPCClient+0x1a4 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:44 # 0xb77b6e github.com/hashicorp/go-plugin.(*Client).Client+0x12e github.com/hashicorp/go-plugin@v1.8.0/client.go:460 # 0x12f294c github.com/mattermost/mattermost/server/public/plugin.newSupervisor+0xc4c github.com/mattermost/mattermost/server/public/plugin/supervisor.go:134 # 0x12e45a4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).startPluginServer+0xa4 github.com/mattermost/mattermost/server/public/plugin/environment.go:284 # 0x12e4c4c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x52c github.com/mattermost/mattermost/server/public/plugin/environment.go:368 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 16] @ 0x48dd05 0x48de45 0x52107d 0x54921f 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x54921e encoding/json.(*decodeState).object+0xe3e encoding/json/decode.go:786 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 4399104] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x12e4b8d 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25c9775 0x25c89b7 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 1318912] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x12e4b8d 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 5349376] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x12e4b8d 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e7046 0x12e703e 0x12e4b8d 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e7045 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e703d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e4805 0x12e4800 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e4804 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e47ff github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xdf github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 16] @ 0x48dd25 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x12e4805 0x12e4800 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e4804 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e47ff github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xdf github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 1318912] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25c9775 0x25c89b7 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e7046 0x12e703e 0x25e4ab6 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e7045 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e703d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd33 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e4805 0x12e4800 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e4804 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e47ff github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xdf github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 5349376] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25c9775 0x25c89b7 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25e404b 0x25e4043 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e404a github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x4aa github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e4042 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x4e6195 0x4e6196 0x4e60dc 0x4ce77d 0x8fd1a7 0x8fd1a8 0x8fd856 0x8fd87e 0x8fd87e 0x8fd87e 0x25e4a85 0x25c9775 0x25c89b7 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4e6194 io.Copy+0x34 io/io.go:388 # 0x4e6195 os.genericWriteTo+0x35 os/file.go:295 # 0x4e60db os.(*File).WriteTo+0x9b os/file.go:273 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x8fd1a6 io.Copy+0x186 io/io.go:388 # 0x8fd1a7 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x187 github.com/mattermost/mattermost/server/public/utils/file.go:36 # 0x8fd855 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3f5 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x25e4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:489 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 320] @ 0x48dd05 0x428505 0xc407ab 0xc407dd 0xc00be5 0x12e2fac 0x25e404b 0x25e4043 0x25c9775 0x25c89b7 0x498001 # 0xc407aa encoding/json.NewDecoder+0x4ca encoding/json/stream.go:34 # 0xc407dc github.com/mattermost/mattermost/server/public/model.FindManifest+0x4fc github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e404a github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x4aa github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e4042 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25e404b 0x25e4043 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e404a github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x4aa github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e4042 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd05 0x428505 0x4e94b1 0x4e33b4 0x4e2c3d 0x4e2d88 0x8fd5b0 0x8fd87e 0x8fd87e 0x25e4a85 0x25c9775 0x25c89b7 0x498001 # 0x4e94b0 os.newUnixDirent+0x30 os/file_unix.go:470 # 0x4e33b3 os.(*File).readdir+0x4d3 os/dir_unix.go:141 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x8fd5af github.com/mattermost/mattermost/server/public/utils.CopyDir+0x14f github.com/mattermost/mattermost/server/public/utils/file.go:92 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x25e4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:489 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 16] @ 0x48dd25 0x4752f7 0x4e339d 0x4e2c3d 0x4e2d88 0x8fd5b0 0x25e4a85 0x25c9775 0x25c89b7 0x498001 # 0x4e339c os.(*File).readdir+0x4bc os/dir_unix.go:141 # 0x4e2c3c os.(*File).ReadDir+0x1c os/dir.go:101 # 0x4e2d87 os.ReadDir+0xc7 os/dir.go:121 # 0x8fd5af github.com/mattermost/mattermost/server/public/utils.CopyDir+0x14f github.com/mattermost/mattermost/server/public/utils/file.go:92 # 0x25e4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:489 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd05 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x4e6195 0x4e6196 0x4e60dc 0x4ce77d 0x8fd1a7 0x8fd1a8 0x8fd856 0x8fd87e 0x8fd87e 0x25e4a85 0x25c9775 0x25c89b7 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4e6194 io.Copy+0x34 io/io.go:388 # 0x4e6195 os.genericWriteTo+0x35 os/file.go:295 # 0x4e60db os.(*File).WriteTo+0x9b os/file.go:273 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x8fd1a6 io.Copy+0x186 io/io.go:388 # 0x8fd1a7 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x187 github.com/mattermost/mattermost/server/public/utils/file.go:36 # 0x8fd855 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3f5 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x25e4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:489 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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: 6528] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414ff7 0x414d65 0x415e26 0xb66ff3 0xb67456 0xb6761e 0xb67aac 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb66ff2 encoding/gob.(*Encoder).sendActualType+0x1b2 encoding/gob/encoder.go:113 # 0xb67455 encoding/gob.(*Encoder).sendType+0xf5 encoding/gob/encoder.go:169 # 0xb6761d encoding/gob.(*Encoder).sendTypeDescriptor+0x9d encoding/gob/encoder.go:191 # 0xb67aab encoding/gob.(*Encoder).EncodeValue+0x38b encoding/gob/encoder.go:244 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 0: 0 [1: 1024] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25e56c5 0x25e56ba 0x25e44d0 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e56c4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x64 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e56b9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).removePluginLocally+0x59 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:572 # 0x25e44cf github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x92f github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:483 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd33 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25e404b 0x25e4043 0x25c9775 0x25c89b7 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e404a github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x4aa github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e4042 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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 [199: 12736] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [149: 47680] @ 0x48dd05 0x492ae9 0x551136 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 36864] @ 0x48dd0c 0x493087 0x4932c7 0x520005 0x51feae 0x5480e5 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4932c6 reflect.growslice+0x46 runtime/slice.go:373 # 0x520004 reflect.Value.grow+0xa4 reflect/value.go:2746 # 0x51fead reflect.Value.Grow+0x6d reflect/value.go:2733 # 0x5480e4 encoding/json.(*decodeState).array+0x404 encoding/json/decode.go:552 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 32768] @ 0x48dd33 0x492ae9 0x7b72fe 0x7b81bf 0x7ba437 0x7bf2a5 0x7bfa6c 0x220c905 0x25cc665 0x25cbd2a 0x25c940f 0x25c89b7 0x498001 # 0x7b72fd regexp.(*bitState).reset+0xfd regexp/backtrack.go:91 # 0x7b81be regexp.(*Regexp).backtrack+0x19e regexp/backtrack.go:317 # 0x7ba436 regexp.(*Regexp).doExecute+0x276 regexp/exec.go:535 # 0x7bf2a4 regexp.(*Regexp).replaceAll+0x184 regexp/regexp.go:599 # 0x7bfa6b regexp.(*Regexp).ReplaceAll+0x12b regexp/regexp.go:657 # 0x220c904 github.com/h2non/go-is-svg.Is+0x64 github.com/h2non/go-is-svg@v0.0.0-20160927212452-35e8c4b0612c/svg.go:29 # 0x25cc664 github.com/mattermost/mattermost/server/v8/channels/app.getIcon+0x44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1238 # 0x25cbd29 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x2a9 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1222 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 49152] @ 0x48dd33 0x4752f7 0x500659 0x25cc685 0x25cbd2a 0x25c940f 0x25c89b7 0x498001 # 0x500658 encoding/base64.(*Encoding).EncodeToString+0x138 encoding/base64/base64.go:209 # 0x25cc684 github.com/mattermost/mattermost/server/v8/channels/app.getIcon+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1242 # 0x25cbd29 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x2a9 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1222 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 49152] @ 0x48dd33 0x492ae9 0x500607 0x25cc685 0x25cbd2a 0x25c940f 0x25c89b7 0x498001 # 0x500606 encoding/base64.(*Encoding).EncodeToString+0xe6 encoding/base64/base64.go:207 # 0x25cc684 github.com/mattermost/mattermost/server/v8/channels/app.getIcon+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1242 # 0x25cbd29 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x2a9 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1222 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 4096] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 16] @ 0x48dd25 0x492ae9 0x707bb1 0x7086ec 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x7086eb compress/flate.(*decompressor).readHuffman+0x48b compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 640] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 4608] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 2688] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x296cab4 0x296b118 0x296b7c6 0x296b24a 0x5dfda5 0x5dbd33 0x2217419 0x22229b2 0x25ed5a5 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296b117 crypto/internal/fips140/bigmod.rr+0x2b7 crypto/internal/fips140/bigmod/nat.go:518 # 0x296b7c5 crypto/internal/fips140/bigmod.newModulus+0x145 crypto/internal/fips140/bigmod/nat.go:578 # 0x296b249 crypto/internal/fips140/bigmod.NewModulus+0x89 crypto/internal/fips140/bigmod/nat.go:553 # 0x5dfda4 crypto/rsa.fipsPublicKey+0x24 crypto/rsa/rsa.go:666 # 0x5dbd32 crypto/rsa.VerifyPKCS1v15+0x1b2 crypto/rsa/fips.go:395 # 0x2217418 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:523 # 0x22229b1 golang.org/x/crypto/openpgp.CheckDetachedSignature+0x3d1 golang.org/x/crypto@v0.51.0/openpgp/read.go:424 # 0x25ed5a4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:126 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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 [18: 576] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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 [5: 320] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x296cab4 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x2217419 0x2218598 0x222162e 0x22210c5 0x2220889 0x25ed575 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x2217418 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:523 # 0x2218597 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyUserIdSignature+0x57 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:695 # 0x222162d golang.org/x/crypto/openpgp.addUserID+0x14d golang.org/x/crypto@v0.51.0/openpgp/keys.go:424 # 0x22210c4 golang.org/x/crypto/openpgp.ReadEntity+0x404 golang.org/x/crypto@v0.51.0/openpgp/keys.go:348 # 0x2220888 golang.org/x/crypto/openpgp.ReadKeyRing+0xe8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:259 # 0x25ed574 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 3840] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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 [5: 640] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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 [31: 7936] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x296cab4 0x296c967 0x296ec65 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x2217419 0x2218598 0x222162e 0x22210c5 0x2220889 0x25ed575 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296c966 crypto/internal/fips140/bigmod.(*Nat).montgomeryReduction+0x186 crypto/internal/fips140/bigmod/nat.go:769 # 0x296ec64 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x364 crypto/internal/fips140/bigmod/nat.go:1057 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x2217418 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:523 # 0x2218597 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyUserIdSignature+0x57 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:695 # 0x222162d golang.org/x/crypto/openpgp.addUserID+0x14d golang.org/x/crypto@v0.51.0/openpgp/keys.go:424 # 0x22210c4 golang.org/x/crypto/openpgp.ReadEntity+0x404 golang.org/x/crypto@v0.51.0/openpgp/keys.go:348 # 0x2220888 golang.org/x/crypto/openpgp.ReadKeyRing+0xe8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:259 # 0x25ed574 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x296c128 0x296c0a1 0x296c0aa 0x296d497 0x296ec45 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x2217419 0x2217f9e 0x2221979 0x2221070 0x2220889 0x25ed575 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x296c127 crypto/internal/fips140/bigmod.(*Nat).reset+0x107 crypto/internal/fips140/bigmod/nat.go:96 # 0x296c0a0 crypto/internal/fips140/bigmod.(*Nat).set+0x80 crypto/internal/fips140/bigmod/nat.go:133 # 0x296c0a9 crypto/internal/fips140/bigmod.(*Nat).maybeSubtractModulus+0x89 crypto/internal/fips140/bigmod/nat.go:700 # 0x296d496 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xad6 crypto/internal/fips140/bigmod/nat.go:845 # 0x296ec44 crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x344 crypto/internal/fips140/bigmod/nat.go:1054 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x2217418 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:523 # 0x2217f9d golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyKeySignature+0x5d golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:617 # 0x2221978 golang.org/x/crypto/openpgp.addSubkey+0xf8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:460 # 0x222106f golang.org/x/crypto/openpgp.ReadEntity+0x3af golang.org/x/crypto@v0.51.0/openpgp/keys.go:375 # 0x2220888 golang.org/x/crypto/openpgp.ReadKeyRing+0xe8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:259 # 0x25ed574 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x296cab4 0x296ec0b 0x2990af3 0x298a785 0x298a61c 0x5dbd7b 0x2217419 0x2217f9e 0x2221979 0x2221070 0x2220889 0x25ed575 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x296cab3 crypto/internal/fips140/bigmod.(*Nat).montgomeryMul+0xf3 crypto/internal/fips140/bigmod/nat.go:790 # 0x296ec0a crypto/internal/fips140/bigmod.(*Nat).ExpShortVarTime+0x30a crypto/internal/fips140/bigmod/nat.go:1052 # 0x2990af2 crypto/internal/fips140/rsa.encrypt+0x112 crypto/internal/fips140/rsa/rsa.go:380 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x2217418 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:523 # 0x2217f9d golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyKeySignature+0x5d golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:617 # 0x2221978 golang.org/x/crypto/openpgp.addSubkey+0xf8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:460 # 0x222106f golang.org/x/crypto/openpgp.ReadEntity+0x3af golang.org/x/crypto@v0.51.0/openpgp/keys.go:375 # 0x2220888 golang.org/x/crypto/openpgp.ReadKeyRing+0xe8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:259 # 0x25ed574 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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 [19: 622592] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e6195 0x4e6196 0x4e60dc 0x4ce77d 0x2222885 0x22227d0 0x25ed5a5 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e6194 io.Copy+0x34 io/io.go:388 # 0x4e6195 os.genericWriteTo+0x35 os/file.go:295 # 0x4e60db os.(*File).WriteTo+0x9b os/file.go:273 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x2222884 io.Copy+0x2a4 io/io.go:388 # 0x22227cf golang.org/x/crypto/openpgp.CheckDetachedSignature+0x1ef golang.org/x/crypto@v0.51.0/openpgp/read.go:417 # 0x25ed5a4 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x64 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:126 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd33 0x492ae9 0x70a4c9 0x70a416 0x70d226 0x70cb05 0x2508605 0x250860d 0x25e374d 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x70a4c8 compress/flate.(*dictDecoder).init+0x188 compress/flate/dict_decoder.go:43 # 0x70a415 compress/flate.NewReader+0xd5 compress/flate/inflate.go:815 # 0x70d225 compress/gzip.(*Reader).readHeader+0x345 compress/gzip/gunzip.go:238 # 0x70cb04 compress/gzip.(*Reader).Reset+0x2a4 compress/gzip/gunzip.go:113 # 0x2508604 compress/gzip.NewReader+0x124 compress/gzip/gunzip.go:94 # 0x250860c github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x12c github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:26 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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: 320] @ 0x48dd05 0x428505 0x2213265 0x2219832 0x2221557 0x22210c5 0x2220889 0x25ed575 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x2213264 golang.org/x/crypto/openpgp/packet.Read+0x2c4 golang.org/x/crypto@v0.51.0/openpgp/packet/packet.go:394 # 0x2219831 golang.org/x/crypto/openpgp/packet.(*Reader).Next+0x71 golang.org/x/crypto@v0.51.0/openpgp/packet/reader.go:37 # 0x2221556 golang.org/x/crypto/openpgp.addUserID+0x76 golang.org/x/crypto@v0.51.0/openpgp/keys.go:410 # 0x22210c4 golang.org/x/crypto/openpgp.ReadEntity+0x404 golang.org/x/crypto@v0.51.0/openpgp/keys.go:348 # 0x2220888 golang.org/x/crypto/openpgp.ReadKeyRing+0xe8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:259 # 0x25ed574 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x4cf2a5 0x221ed4c 0x2213338 0x2219832 0x2220f46 0x2220889 0x25ed575 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x4cf2a4 io.ReadAll+0x44 io/io.go:712 # 0x221ed4b golang.org/x/crypto/openpgp/packet.(*UserId).parse+0x2b golang.org/x/crypto@v0.51.0/openpgp/packet/userid.go:68 # 0x2213337 golang.org/x/crypto/openpgp/packet.Read+0x397 golang.org/x/crypto@v0.51.0/openpgp/packet/packet.go:414 # 0x2219831 golang.org/x/crypto/openpgp/packet.(*Reader).Next+0x71 golang.org/x/crypto@v0.51.0/openpgp/packet/reader.go:37 # 0x2220f45 golang.org/x/crypto/openpgp.ReadEntity+0x285 golang.org/x/crypto@v0.51.0/openpgp/keys.go:339 # 0x2220888 golang.org/x/crypto/openpgp.ReadKeyRing+0xe8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:259 # 0x25ed574 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x296a457 0x296a3cc 0x296a3dc 0x2990a6f 0x298a785 0x298a61c 0x5dbd7b 0x2217419 0x2218598 0x222162e 0x22210c5 0x2220889 0x25ed575 0x25ed4d4 0x25ec9f1 0x25cbbca 0x25c940f 0x25c89b7 0x498001 # 0x296a456 crypto/internal/fips140/bigmod.(*Nat).reset+0xb6 crypto/internal/fips140/bigmod/nat.go:96 # 0x296a3cb crypto/internal/fips140/bigmod.(*Nat).resetFor+0x2b crypto/internal/fips140/bigmod/nat.go:685 # 0x296a3db crypto/internal/fips140/bigmod.(*Nat).SetBytes+0x3b crypto/internal/fips140/bigmod/nat.go:175 # 0x2990a6e crypto/internal/fips140/rsa.encrypt+0x8e crypto/internal/fips140/rsa/rsa.go:376 # 0x298a784 crypto/internal/fips140/rsa.verifyPKCS1v15+0xe4 crypto/internal/fips140/rsa/pkcs1v15.go:115 # 0x298a61b crypto/internal/fips140/rsa.VerifyPKCS1v15+0x1fb crypto/internal/fips140/rsa/pkcs1v15.go:98 # 0x5dbd7a crypto/rsa.VerifyPKCS1v15+0x1fa crypto/rsa/fips.go:399 # 0x2217418 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifySignature+0x198 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:523 # 0x2218597 golang.org/x/crypto/openpgp/packet.(*PublicKey).VerifyUserIdSignature+0x57 golang.org/x/crypto@v0.51.0/openpgp/packet/public_key.go:695 # 0x222162d golang.org/x/crypto/openpgp.addUserID+0x14d golang.org/x/crypto@v0.51.0/openpgp/keys.go:424 # 0x22210c4 golang.org/x/crypto/openpgp.ReadEntity+0x404 golang.org/x/crypto@v0.51.0/openpgp/keys.go:348 # 0x2220888 golang.org/x/crypto/openpgp.ReadKeyRing+0xe8 golang.org/x/crypto@v0.51.0/openpgp/keys.go:259 # 0x25ed574 github.com/mattermost/mattermost/server/v8/channels/app.verifyBinarySignature+0x34 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:122 # 0x25ed4d3 github.com/mattermost/mattermost/server/v8/channels/app.verifySignature+0x93 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:118 # 0x25ec9f0 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).verifyPlugin+0x150 github.com/mattermost/mattermost/server/v8/channels/app/plugin_signature.go:78 # 0x25cbbc9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x149 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1203 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 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] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c81b3 0x25c81ab 0x25c1e09 0x24c382c 0x265fd25 0x292c379 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c81b2 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x592 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c81aa github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins+0x58a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:939 # 0x25c1e08 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).initPlugins+0xe08 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:229 # 0x24c382b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).Start+0x10b github.com/mattermost/mattermost/server/v8/channels/app/channels.go:246 # 0x265fd24 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start+0x184 github.com/mattermost/mattermost/server/v8/channels/app/server.go:923 # 0x292c378 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x138 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:104 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [64: 524288] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x5504e9 0x552643 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x5504e8 encoding/json.stringEncoder+0x428 encoding/json/encode.go:632 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [4740: 116490240] @ 0x48dd2c 0x4930f3 0x54d4e5 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x54d4e4 encoding/json.Marshal+0x124 encoding/json/encode.go:213 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 160] @ 0x48dd05 0x428505 0x1254145 0x12557b6 0x125cb99 0x800857 0x808b3c 0x810451 0x808377 0x80813c 0x807f2f 0x806822 0x807e58 0x13a5ef9 0x19dcf66 0x195551e 0x187280e 0x219701a 0x25e6c58 0x247f7b7 0x247f7a0 0x25d5217 0x1280997 0x12cea2e 0x51716c 0x516019 0xb75014 0x498001 # 0x1254144 github.com/lib/pq.(*conn).prepareTo+0x124 github.com/lib/pq@v1.12.3/conn.go:760 # 0x12557b5 github.com/lib/pq.(*conn).query+0x6b5 github.com/lib/pq@v1.12.3/conn.go:931 # 0x125cb98 github.com/lib/pq.(*conn).QueryContext+0x78 github.com/lib/pq@v1.12.3/conn_go18.go:19 # 0x800856 database/sql.ctxDriverQuery+0xd6 database/sql/ctxutil.go:48 # 0x808b3b database/sql.(*DB).queryDC.func1+0x15b database/sql/sql.go:1786 # 0x810450 database/sql.withLock+0x70 database/sql/sql.go:3572 # 0x808376 database/sql.(*DB).queryDC+0x1b6 database/sql/sql.go:1781 # 0x80813b database/sql.(*DB).query+0xfb database/sql/sql.go:1764 # 0x807f2e database/sql.(*DB).QueryContext.func1+0x4e database/sql/sql.go:1742 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x807e57 database/sql.(*DB).QueryContext+0x97 database/sql/sql.go:1741 # 0x13a5ef8 github.com/jmoiron/sqlx.(*DB).QueryRowxContext+0x38 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:172 # 0x19dcf65 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).QueryRow+0x1a5 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:291 # 0x195551d github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlPluginStore.Get+0x4dd github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/plugin_store.go:220 # 0x187280d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPluginStore).Get+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:8235 # 0x2197019 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPluginStore).Get+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:6600 # 0x25e6c57 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 # 0x247f7b6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginKey+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin_key_value_store.go:95 # 0x247f79f github.com/mattermost/mattermost/server/v8/channels/app.(*App).EnsureBot+0x7f github.com/mattermost/mattermost/server/v8/channels/app/bot.go:36 # 0x25d5216 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1197 # 0x1280996 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).EnsureBotUser+0x56 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:1273 # 0x12cea2d github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).EnsureBotUser+0x4d github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:7104 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 96] @ 0x48dd05 0x48de45 0x52107d 0x50f2eb 0x5259d3 0xb73f42 0xb738a6 0xb84dbf 0xb84d53 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x50f2ea reflect.FuncOf+0xea reflect/type.go:1948 # 0x5259d2 reflect.(*rtype).Method+0x572 reflect/type.go:668 # 0xb73f41 net/rpc.suitableMethods+0xa1 net/rpc/server.go:288 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0xb84dbe net/rpc.(*Server).RegisterName+0x7e net/rpc/server.go:233 # 0xb84d52 github.com/hashicorp/go-plugin.serve+0x12 github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:203 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [1: 80] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x12e4805 0x12e4800 0x25e4bad 0x25e34c7 0x25c3805 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e4804 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xe4 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e47ff github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0xdf github.com/mattermost/mattermost/server/public/plugin/environment.go:321 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 204800] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 288] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x48e2a5 0x524945 0x50b485 0x549714 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25e404b 0x25e4043 0x25e34c7 0x25c3805 0x498001 # 0x48e2a4 reflect.mapassign_faststr0+0x24 runtime/map.go:260 # 0x524944 reflect.mapassign_faststr+0xa4 reflect/value.go:3755 # 0x50b484 reflect.Value.SetMapIndex+0x204 reflect/map.go:416 # 0x549713 encoding/json.(*decodeState).object+0x1333 encoding/json/decode.go:811 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e404a github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x4aa github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e4042 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x4a2 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:443 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 24] @ 0x48dd05 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x9a044e 0x9a0238 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x9a044d github.com/hashicorp/yamux.(*Session).sendLoop+0x1cd github.com/hashicorp/yamux@v0.1.2/session.go:500 # 0x9a0237 github.com/hashicorp/yamux.(*Session).send+0x17 github.com/hashicorp/yamux@v0.1.2/session.go:473 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1316185 0x1b26c45 0x1b2705a 0x1b273ea 0x1b25925 0x1b25606 0x26ab4db 0x26ab4cc 0x26ab705 0x25d2ea5 0x127ca88 0x12c0ca2 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b26c44 github.com/boxes-ltd/imaging.Clone+0x64 github.com/boxes-ltd/imaging@v1.7.5/tools.go:31 # 0x1b27059 github.com/boxes-ltd/imaging.Crop+0x199 github.com/boxes-ltd/imaging@v1.7.5/tools.go:100 # 0x1b273e9 github.com/boxes-ltd/imaging.CropAnchor+0xe9 github.com/boxes-ltd/imaging@v1.7.5/tools.go:122 # 0x1b25924 github.com/boxes-ltd/imaging.resizeAndCrop+0xe4 github.com/boxes-ltd/imaging@v1.7.5/resize.go:334 # 0x1b25605 github.com/boxes-ltd/imaging.Fill+0x125 github.com/boxes-ltd/imaging@v1.7.5/resize.go:287 # 0x26ab4da github.com/mattermost/mattermost/server/v8/channels/app/imaging.FillCenter+0x4ba github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:146 # 0x26ab4cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x4ab github.com/mattermost/mattermost/server/v8/channels/app/user.go:1061 # 0x26ab704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1072 # 0x25d2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:899 # 0x127ca87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x12c0ca1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5427 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x1316185 0x1b24977 0x1b24394 0x1b25907 0x1b25606 0x26ab4db 0x26ab4cc 0x26ab705 0x25d2ea5 0x127ca88 0x12c0ca2 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1b24976 github.com/boxes-ltd/imaging.resizeVertical+0x76 github.com/boxes-ltd/imaging@v1.7.5/resize.go:146 # 0x1b24393 github.com/boxes-ltd/imaging.Resize+0x2b3 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b25906 github.com/boxes-ltd/imaging.resizeAndCrop+0xc6 github.com/boxes-ltd/imaging@v1.7.5/resize.go:331 # 0x1b25605 github.com/boxes-ltd/imaging.Fill+0x125 github.com/boxes-ltd/imaging@v1.7.5/resize.go:287 # 0x26ab4da github.com/mattermost/mattermost/server/v8/channels/app/imaging.FillCenter+0x4ba github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:146 # 0x26ab4cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x4ab github.com/mattermost/mattermost/server/v8/channels/app/user.go:1061 # 0x26ab704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1072 # 0x25d2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:899 # 0x127ca87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x12c0ca1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5427 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 20480] @ 0x48dd2c 0x492ae9 0x1b23cb6 0x1b244ba 0x1b24375 0x1b25907 0x1b25606 0x26ab4db 0x26ab4cc 0x26ab705 0x25d2ea5 0x127ca88 0x12c0ca2 0x51716c 0x516019 0xb75014 0x498001 # 0x1b23cb5 github.com/boxes-ltd/imaging.precomputeWeights+0xf5 github.com/boxes-ltd/imaging@v1.7.5/resize.go:22 # 0x1b244b9 github.com/boxes-ltd/imaging.resizeHorizontal+0x99 github.com/boxes-ltd/imaging@v1.7.5/resize.go:112 # 0x1b24374 github.com/boxes-ltd/imaging.Resize+0x294 github.com/boxes-ltd/imaging@v1.7.5/resize.go:100 # 0x1b25906 github.com/boxes-ltd/imaging.resizeAndCrop+0xc6 github.com/boxes-ltd/imaging@v1.7.5/resize.go:331 # 0x1b25605 github.com/boxes-ltd/imaging.Fill+0x125 github.com/boxes-ltd/imaging@v1.7.5/resize.go:287 # 0x26ab4da github.com/mattermost/mattermost/server/v8/channels/app/imaging.FillCenter+0x4ba github.com/mattermost/mattermost/server/v8/channels/app/imaging/utils.go:146 # 0x26ab4cb github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x4ab github.com/mattermost/mattermost/server/v8/channels/app/user.go:1061 # 0x26ab704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1072 # 0x25d2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:899 # 0x127ca87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x12c0ca1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5427 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 409600] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 5300224] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x12e4b8d 0x25e4bad 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e3f53 0x12e3f4b 0x25ed7dd 0x25d3e3f 0x25d3e34 0x127de1e 0x12c56b5 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e3f52 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x32 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e3f4a github.com/mattermost/mattermost/server/public/plugin.(*Environment).Statuses+0x2a github.com/mattermost/mattermost/server/public/plugin/environment.go:220 # 0x25ed7dc github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).GetPluginStatus+0x3c github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:19 # 0x25d3e3e github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetPluginStatus+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_statuses.go:40 # 0x25d3e33 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetPluginStatus+0x13 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1054 # 0x127de1d github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetPluginStatus+0x5d github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:970 # 0x12c56b4 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetPluginStatus+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5983 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 208] @ 0x48dd05 0x428505 0x4edac8 0x4ed72c 0x4e9fc5 0x8fd0e5 0x8fd856 0x12e73ad 0x12e4b8d 0x25e4bad 0x25e34c7 0x25c3805 0x498001 # 0x4edac7 os.statNolog+0x27 os/stat_unix.go:30 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x4e9fc4 os.MkdirAll+0x24 os/path.go:21 # 0x8fd0e4 github.com/mattermost/mattermost/server/public/utils.CopyFile+0xc4 github.com/mattermost/mattermost/server/public/utils/file.go:23 # 0x8fd855 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3f5 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x12e73ac github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3ac github.com/mattermost/mattermost/server/public/plugin/environment.go:557 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 5300224] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 131072] @ 0x48dd33 0x492ae9 0xb7d056 0xb7cfba 0x498001 # 0xb7d055 bufio.NewReaderSize+0x195 bufio/bufio.go:57 # 0xb7cfb9 github.com/hashicorp/go-plugin.(*Client).logStderr+0xf9 github.com/hashicorp/go-plugin@v1.8.0/client.go:1177 0: 0 [1: 24] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x12e7046 0x12e703e 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e7045 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e703d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 16384] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x12e7046 0x12e703e 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x12e7045 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x45 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x12e703d github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x3d github.com/mattermost/mattermost/server/public/plugin/environment.go:529 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4399104] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x12e4b8d 0x25e4bad 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 16384] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4cda 0x25c4cd2 0x25e50e5 0x25d3ddf 0x127dd58 0x12c5315 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4cd9 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x59 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c4cd1 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).disablePlugin+0x51 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:476 # 0x25e50e4 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).RemovePlugin+0x2e4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:527 # 0x25d3dde github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).RemovePlugin+0x1e github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:1050 # 0x127dd57 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).RemovePlugin+0x57 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:963 # 0x12c5314 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).RemovePlugin+0x54 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5954 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 4399104] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [6199: 203128832] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [12011: 787152896] @ 0x48dd33 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [995: 5349120] @ 0x48dd0c 0x428505 0xc20e45 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0xc20e44 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x44 github.com/mattermost/mattermost/server/public/model/config.go:4171 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2167: 346720] @ 0x48dd05 0x48de45 0x52107d 0x547b36 0x54843d 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x547b35 encoding/json.indirect+0x2f5 encoding/json/decode.go:482 # 0x54843c encoding/json.(*decodeState).object+0x5c encoding/json/decode.go:606 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [166: 148736] @ 0x48dd0c 0x492ae9 0x551136 0x5513b0 0x550e0a 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x551135 encoding/json.mapEncoder.encode+0x255 encoding/json/encode.go:784 # 0x5513af encoding/json.mapEncoder.encode+0x4cf encoding/json/encode.go:804 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 48] @ 0x48dd05 0x48de45 0x52107d 0x548be7 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x548be6 encoding/json.(*decodeState).object+0x806 encoding/json/decode.go:693 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [3889: 15929344] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd517 0x1275c9d 0x12a636b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd516 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x16 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x1275c9c github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetConfig+0x3c github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:61 # 0x12a636a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetConfig+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2170 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x470c9f 0x4af985 0x4b5257 0x4b5261 0x4edaf2 0x4edad1 0x4edada 0x4edace 0x4ed72c 0x8fd205 0x8fd856 0x8fd87e 0x8fd87e 0x25e4a85 0x25e34c7 0x25c3805 0x498001 # 0x4af984 syscall.ByteSliceFromString+0x84 syscall/syscall.go:52 # 0x4b5256 syscall.BytePtrFromString+0x36 syscall/syscall.go:68 # 0x4b5260 syscall.fstatat+0x40 syscall/zsyscall_linux_amd64.go:1433 # 0x4edaf1 syscall.Stat+0x51 syscall/syscall_linux_amd64.go:61 # 0x4edad0 os.statNolog.func1+0x30 os/stat_unix.go:32 # 0x4edad9 os.ignoringEINTR+0x39 os/file_posix.go:256 # 0x4edacd os.statNolog+0x2d os/stat_unix.go:31 # 0x4ed72b os.Stat+0x2b os/stat.go:13 # 0x8fd204 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x1e4 github.com/mattermost/mattermost/server/public/utils/file.go:46 # 0x8fd855 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3f5 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x25e4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:489 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 147456] @ 0x48dd33 0x492ae9 0x7033bf 0x703358 0x703a05 0x703a0d 0x97e758 0x97e851 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x26ab525 0x26ab705 0x25d2ea5 0x127ca88 0x12c0ca2 0x51716c 0x516019 0xb75014 0x498001 # 0x7033be compress/flate.(*compressor).initDeflate+0x53e compress/flate/deflate.go:374 # 0x703357 compress/flate.(*compressor).init+0x4d7 compress/flate/deflate.go:595 # 0x703a04 compress/flate.NewWriter+0xa4 compress/flate/deflate.go:666 # 0x703a0c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:680 # 0x97e757 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x97e850 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x26ab524 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x504 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1064 # 0x26ab704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1072 # 0x25d2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:899 # 0x127ca87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x12c0ca1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5427 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [3: 1990656] @ 0x48dd33 0x428505 0x7039e5 0x703a0d 0x97e758 0x97e851 0x133690d 0x1337bb1 0x13381a9 0x1b2a610 0x26ab525 0x26ab705 0x25d2ea5 0x127ca88 0x12c0ca2 0x51716c 0x516019 0xb75014 0x498001 # 0x7039e4 compress/flate.NewWriter+0x84 compress/flate/deflate.go:665 # 0x703a0c compress/flate.NewWriterDict+0xac compress/flate/deflate.go:680 # 0x97e757 compress/zlib.(*Writer).writeHeader+0x157 compress/zlib/writer.go:132 # 0x97e850 compress/zlib.(*Writer).Write+0x30 compress/zlib/writer.go:146 # 0x133690c image/png.(*encoder).writeImage+0xd0c image/png/writer.go:536 # 0x1337bb0 image/png.(*encoder).writeIDATs+0x1d0 image/png/writer.go:556 # 0x13381a8 image/png.(*Encoder).Encode+0x568 image/png/writer.go:657 # 0x1b2a60f github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Encoder).EncodePNG+0xef github.com/mattermost/mattermost/server/v8/channels/app/imaging/encode.go:83 # 0x26ab524 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x504 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1064 # 0x26ab704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1072 # 0x25d2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:899 # 0x127ca87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x12c0ca1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5427 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 262144] @ 0x48dd33 0x492ae9 0x1316185 0x1331865 0x1331217 0x133425b 0x13343ef 0x13349ac 0x1313eda 0x1b2962e 0x26ab09a 0x26ab705 0x25d2ea5 0x127ca88 0x12c0ca2 0x51716c 0x516019 0xb75014 0x498001 # 0x1316184 image.NewNRGBA+0x64 image/image.go:475 # 0x1331864 image/png.(*decoder).readImagePass+0x504 image/png/reader.go:466 # 0x1331216 image/png.(*decoder).decode+0x556 image/png/reader.go:371 # 0x133425a image/png.(*decoder).parseIDAT+0x1a image/png/reader.go:856 # 0x13343ee image/png.(*decoder).parseChunk+0x12e image/png/reader.go:922 # 0x13349ab image/png.Decode+0x12b image/png/reader.go:981 # 0x1313ed9 image.Decode+0x239 image/format.go:93 # 0x1b2962d github.com/mattermost/mattermost/server/v8/channels/app/imaging.(*Decoder).Decode+0xcd github.com/mattermost/mattermost/server/v8/channels/app/imaging/decode.go:62 # 0x26ab099 github.com/mattermost/mattermost/server/v8/channels/app.(*App).AdjustImage+0x79 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1041 # 0x26ab704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SetProfileImageFromFile+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1072 # 0x25d2ea4 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).SetProfileImage+0xc4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:899 # 0x127ca87 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).SetProfileImage+0x87 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:837 # 0x12c0ca1 github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).SetProfileImage+0x61 github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:5427 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 64] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x546a79 0xc20e68 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0xc20e67 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x67 github.com/mattermost/mattermost/server/public/model/config.go:4172 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [2: 65536] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x550d9e 0x550e0a 0x552643 0x54dd73 0x54db31 0x54d47e 0xc20e25 0x24d4ca9 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x550d9d encoding/json.structEncoder.encode+0x37d encoding/json/encode.go:742 # 0x550e09 encoding/json.structEncoder.encode+0x3e9 encoding/json/encode.go:747 # 0x552642 encoding/json.ptrEncoder.encode+0x222 encoding/json/encode.go:919 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0xc20e24 github.com/mattermost/mattermost/server/public/model.(*Config).Clone+0x24 github.com/mattermost/mattermost/server/public/model/config.go:4167 # 0x24d4ca8 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x28 github.com/mattermost/mattermost/server/v8/channels/app/config.go:216 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [77: 5046272] @ 0x48dd33 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 64] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c4596 0x25c458e 0x24d4cf8 0x24d4cbb 0x25cd765 0x25cd766 0x1276007 0x12a742b 0x51716c 0x516019 0xb75014 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c4595 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x35 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c458d github.com/mattermost/mattermost/server/v8/channels/app.(*App).getPluginManifests+0x2d github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:383 # 0x24d4cf7 github.com/mattermost/mattermost/server/v8/channels/app.(*App).SanitizedConfig+0x17 github.com/mattermost/mattermost/server/v8/channels/app/config.go:225 # 0x24d4cba github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetSanitizedConfig+0x3a github.com/mattermost/mattermost/server/v8/channels/app/config.go:218 # 0x25cd764 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetConfig+0x24 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:106 # 0x25cd765 github.com/mattermost/mattermost/server/v8/channels/app.(*PluginAPI).GetBundlePath+0x25 github.com/mattermost/mattermost/server/v8/channels/app/plugin_api.go:135 # 0x1276006 github.com/mattermost/mattermost/server/public/plugin.(*apiTimerLayer).GetBundlePath+0x46 github.com/mattermost/mattermost/server/public/plugin/api_timer_layer_generated.go:96 # 0x12a742a github.com/mattermost/mattermost/server/public/plugin.(*apiRPCServer).GetBundlePath+0x4a github.com/mattermost/mattermost/server/public/plugin/client_rpc_generated.go:2308 # 0x51716b reflect.Value.call+0xf0b reflect/value.go:586 # 0x516018 reflect.Value.Call+0xb8 reflect/value.go:369 # 0xb75013 net/rpc.(*service).call+0x1f3 net/rpc/server.go:383 0: 0 [1: 112] @ 0x48dd2c 0x4752f7 0x510405 0x50f825 0x5259d3 0xb73f42 0xb738a6 0xb84dbf 0xb84d53 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0x510404 reflect.funcStr+0x6c4 reflect/type.go:2055 # 0x50f824 reflect.FuncOf+0x624 reflect/type.go:2008 # 0x5259d2 reflect.(*rtype).Method+0x572 reflect/type.go:668 # 0xb73f41 net/rpc.suitableMethods+0xa1 net/rpc/server.go:288 # 0xb738a5 net/rpc.(*Server).register+0x245 net/rpc/server.go:261 # 0xb84dbe net/rpc.(*Server).RegisterName+0x7e net/rpc/server.go:233 # 0xb84d52 github.com/hashicorp/go-plugin.serve+0x12 github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:203 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 0: 0 [3: 98304] @ 0x48dd33 0x492ae9 0x4ce7e5 0xb855fd 0xb85601 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0xb855fc io.Copy+0x7c io/io.go:388 # 0xb85600 github.com/hashicorp/go-plugin.copyStream+0x80 github.com/hashicorp/go-plugin@v1.8.0/stream.go:18 0: 0 [1: 112] @ 0x48dd05 0x428505 0x41d554 0x9a1f0a 0x99e673 0xb8437d 0xb8438a 0xb84165 0xb77b6f 0x12f294d 0x12e45a5 0x12e4c4d 0x25e4bad 0x25e34c7 0x25c3805 0x498001 # 0x9a1f09 github.com/hashicorp/yamux.newStream+0x49 github.com/hashicorp/yamux@v0.1.2/stream.go:70 # 0x99e672 github.com/hashicorp/yamux.(*Session).OpenStream+0x112 github.com/hashicorp/yamux@v0.1.2/session.go:187 # 0xb8437c github.com/hashicorp/yamux.(*Session).Open+0xfc github.com/hashicorp/yamux@v0.1.2/session.go:153 # 0xb84389 github.com/hashicorp/go-plugin.NewRPCClient+0x109 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:82 # 0xb84164 github.com/hashicorp/go-plugin.newRPCClient+0x1a4 github.com/hashicorp/go-plugin@v1.8.0/rpc_client.go:44 # 0xb77b6e github.com/hashicorp/go-plugin.(*Client).Client+0x12e github.com/hashicorp/go-plugin@v1.8.0/client.go:460 # 0x12f294c github.com/mattermost/mattermost/server/public/plugin.newSupervisor+0xc4c github.com/mattermost/mattermost/server/public/plugin/supervisor.go:134 # 0x12e45a4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).startPluginServer+0xa4 github.com/mattermost/mattermost/server/public/plugin/environment.go:284 # 0x12e4c4c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x52c github.com/mattermost/mattermost/server/public/plugin/environment.go:368 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 253952] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4988928] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x12e4b8d 0x25e4bad 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x12e4b8c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x46c github.com/mattermost/mattermost/server/public/plugin/environment.go:358 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 65536] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x4e6195 0x4e6196 0x4e60dc 0x4ce77d 0x8fd1a7 0x8fd1a8 0x8fd856 0x8fd87e 0x8fd87e 0x8fd87e 0x25e4a85 0x25e34c7 0x25c3805 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4e6194 io.Copy+0x34 io/io.go:388 # 0x4e6195 os.genericWriteTo+0x35 os/file.go:295 # 0x4e60db os.(*File).WriteTo+0x9b os/file.go:273 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x8fd1a6 io.Copy+0x186 io/io.go:388 # 0x8fd1a7 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x187 github.com/mattermost/mattermost/server/public/utils/file.go:36 # 0x8fd855 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3f5 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x25e4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:489 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4988928] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 4096] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0x25e38a5 0x25e349c 0x25c3805 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0x25e38a4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x264 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:417 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 896] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [7: 229376] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x4e6195 0x4e6196 0x4e60dc 0x4ce77d 0x8fd1a7 0x8fd1a8 0x8fd856 0x8fd87e 0x8fd87e 0x25e4a85 0x25e34c7 0x25c3805 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x4e6194 io.Copy+0x34 io/io.go:388 # 0x4e6195 os.genericWriteTo+0x35 os/file.go:295 # 0x4e60db os.(*File).WriteTo+0x9b os/file.go:273 # 0x4ce77c io.copyBuffer+0x9c io/io.go:411 # 0x8fd1a6 io.Copy+0x186 io/io.go:388 # 0x8fd1a7 github.com/mattermost/mattermost/server/public/utils.CopyFile+0x187 github.com/mattermost/mattermost/server/public/utils/file.go:36 # 0x8fd855 github.com/mattermost/mattermost/server/public/utils.CopyDir+0x3f5 github.com/mattermost/mattermost/server/public/utils/file.go:116 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x8fd87d github.com/mattermost/mattermost/server/public/utils.CopyDir+0x41d github.com/mattermost/mattermost/server/public/utils/file.go:102 # 0x25e4a84 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xee4 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:489 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 112] @ 0x48dd05 0x428505 0x1837d46 0x1837d3a 0x1837b12 0x18390d5 0x1947d56 0x1947cfb 0x1947d09 0x186f08e 0x2192f9a 0x20e19af 0x20e34f9 0x20e2937 0x498001 # 0x1837d45 github.com/lann/ps.(*tree).clone+0x1c5 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:91 # 0x1837d39 github.com/lann/ps.setLowLevel+0x1b9 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:139 # 0x1837b11 github.com/lann/ps.(*tree).Set+0xb1 github.com/lann/ps@v0.0.0-20150810152359-62de8c46ede0/map.go:117 # 0x18390d4 github.com/lann/builder.Set+0x54 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:43 # 0x1947d55 github.com/mattermost/squirrel.StatementBuilderType.PlaceholderFormat+0xb5 github.com/mattermost/squirrel@v0.5.0/statement.go:36 # 0x1947cfa github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).getQueryBuilder+0x5a github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:962 # 0x1947d08 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 # 0x186f08d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetCountByStatusAndType+0x6d github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7206 # 0x2192f99 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetCountByStatusAndType+0x79 github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5816 # 0x20e19ae github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).CheckForPendingJobsByType+0x4e github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:306 # 0x20e34f8 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xb8 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:138 # 0x20e2936 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:66 0: 0 [1: 368640] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 1490944] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x12e7419 0x25e4ab6 0x25e34c7 0x25c3805 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x12e7418 github.com/mattermost/mattermost/server/public/plugin.(*Environment).UnpackWebappBundle+0x418 github.com/mattermost/mattermost/server/public/plugin/environment.go:563 # 0x25e4ab5 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0xf15 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:495 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 2560] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 1408] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [3: 3072] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [3: 192] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 1792] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 256] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7739 0x18453d3 0x1844d18 0x184613f 0x1947974 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e2937 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7738 bytes.(*Buffer).WriteString+0x58 bytes/buffer.go:209 # 0x18453d2 github.com/mattermost/squirrel.(*selectData).toSqlRaw+0x652 github.com/mattermost/squirrel@v0.5.0/select.go:133 # 0x1844d17 github.com/mattermost/squirrel.(*selectData).ToSql+0x17 github.com/mattermost/squirrel@v0.5.0/select.go:55 # 0x184613e github.com/mattermost/squirrel.SelectBuilder.ToSql+0x15e github.com/mattermost/squirrel@v0.5.0/select.go:218 # 0x1947973 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e2936 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:66 0: 0 [2: 4096] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 2304] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [2: 1536] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 224] @ 0x48dd05 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 144] @ 0x48dd05 0x492ae9 0x13a3e29 0x13a58f9 0x19dbabb 0x19dba73 0x19479ea 0x186f324 0x21932ae 0x20e1cd7 0x20e352e 0x20e2937 0x498001 # 0x13a3e28 github.com/jmoiron/sqlx.(*Row).scanAny+0x7a8 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:785 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19479e9 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 # 0x186f323 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerJobStore).GetNewestJobByStatusesAndType+0x83 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:7248 # 0x21932ad github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerJobStore).GetNewestJobByStatusesAndType+0x8d github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:5848 # 0x20e1cd6 github.com/mattermost/mattermost/server/v8/channels/jobs.(*JobServer).GetLastSuccessfulJobByType+0x116 github.com/mattermost/mattermost/server/v8/channels/jobs/jobs.go:327 # 0x20e352d github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).setNextRunTime+0xed github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:147 # 0x20e2936 github.com/mattermost/mattermost/server/v8/channels/jobs.(*Schedulers).Start.func1+0x1d6 github.com/mattermost/mattermost/server/v8/channels/jobs/schedulers.go:66 0: 0 [2: 2304] @ 0x48dd0c 0x492ae9 0x707adf 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707ade compress/flate.(*huffmanDecoder).init+0x21e compress/flate/inflate.go:178 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [19: 608] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [21: 5376] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [8: 1024] @ 0x48dd2c 0x492ae9 0x707bb1 0x70868b 0x707e8e 0x707fdb 0x70d838 0x171c7f8 0x171c6bc 0x4ce870 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x707bb0 compress/flate.(*huffmanDecoder).init+0x2f0 compress/flate/inflate.go:187 # 0x70868a compress/flate.(*decompressor).readHuffman+0x42a compress/flate/inflate.go:460 # 0x707e8d compress/flate.(*decompressor).nextBlock+0xed compress/flate/inflate.go:323 # 0x707fda compress/flate.(*decompressor).Read+0x5a compress/flate/inflate.go:348 # 0x70d837 compress/gzip.(*Reader).Read+0x97 compress/gzip/gunzip.go:252 # 0x171c7f7 archive/tar.(*regFileReader).Read+0x57 archive/tar/reader.go:702 # 0x171c6bb archive/tar.(*Reader).Read+0x3b archive/tar/reader.go:663 # 0x4ce86f io.copyBuffer+0x18f io/io.go:429 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [12: 393216] @ 0x48dd33 0x492ae9 0x4ce7e5 0x4e5c35 0x4e5c36 0x4e5b7c 0x4ce831 0x2508f33 0x2508f34 0x2508909 0x25e374d 0x25e349c 0x25c3805 0x498001 # 0x4ce7e4 io.copyBuffer+0x104 io/io.go:426 # 0x4e5c34 io.Copy+0x34 io/io.go:388 # 0x4e5c35 os.genericReadFrom+0x35 os/file.go:205 # 0x4e5b7b os.(*File).ReadFrom+0x9b os/file.go:181 # 0x4ce830 io.copyBuffer+0x150 io/io.go:415 # 0x2508f32 io.Copy+0x92 io/io.go:388 # 0x2508f33 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz.func1+0x93 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:77 # 0x2508908 github.com/mattermost/mattermost/server/v8/channels/app.extractTarGz+0x428 github.com/mattermost/mattermost/server/v8/channels/app/extract_plugin_tar.go:84 # 0x25e374c github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x10c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:402 # 0x25e349b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x15b github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:384 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 0: 0 [1: 512] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25e56c5 0x25e56ba 0x25c4005 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e56c4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x64 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e56b9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).removePluginLocally+0x59 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:572 # 0x25c4004 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func1+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:289 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25e56c5 0x25e56ba 0x25c4005 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e56c4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x64 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e56b9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).removePluginLocally+0x59 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:572 # 0x25c4004 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func1+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:289 0: 0 [1: 240] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25e56c5 0x25e56ba 0x25c4005 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25e56c4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0x64 github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25e56b9 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).removePluginLocally+0x59 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:572 # 0x25c4004 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func1+0x3a4 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:289 0: 0 [1: 8192] @ 0x48dd2c 0x492ae9 0x55a5ce 0x55a265 0x559f35 0xc407f0 0xc00be5 0x12e2fac 0x25c273f 0x25c2737 0x25c1c3f 0x24c382c 0x265fd25 0x292c379 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x55a5cd encoding/json.(*Decoder).refill+0xed encoding/json/stream.go:161 # 0x55a264 encoding/json.(*Decoder).readValue+0x84 encoding/json/stream.go:142 # 0x559f34 encoding/json.(*Decoder).Decode+0x74 encoding/json/stream.go:65 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c273e github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xbe github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c2736 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins+0xb6 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:275 # 0x25c1c3e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).initPlugins+0xc3e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:225 # 0x24c382b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).Start+0x10b github.com/mattermost/mattermost/server/v8/channels/app/channels.go:246 # 0x265fd24 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start+0x184 github.com/mattermost/mattermost/server/v8/channels/app/server.go:923 # 0x292c378 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x138 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:104 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4a56a5 0x4a5674 0x54e02d 0x54dfad 0x554ac5 0x554f31 0x54e8bd 0x54e96f 0x54e525 0x54e198 0x4a240c 0x54e08a 0x54e054 0x54e053 0x5528e7 0x54e871 0x54e525 0x54e198 0x4a240c 0x54e08a 0x54e054 0x54e053 0x5523a7 0x552166 0x54e88f 0x54e525 0x54e198 0x4a240c 0x54e08a 0x54e054 0x54e053 0x554ac5 0x554f31 0x54e8bd 0x54e96f 0x54e525 0x54e198 0x4a240c 0x54e08a 0x54e054 0x54e053 0x5528e7 0x54e871 0x54e525 0x54e198 0x4a240c 0x54e08a 0x54e054 0x54e053 0x554ac5 0x554f31 0x54865b 0x54763e 0x546e9e 0x55a01f 0xc407f0 0xc00be5 0x12e2fac 0x25c273f 0x25c2737 0x25c1c3f 0x24c382c 0x265fd25 0x292c379 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4a56a4 internal/sync.newEntryNode[...]+0x304 internal/sync/hashtriemap.go:572 # 0x4a5673 internal/sync.(*HashTrieMap[...]).LoadOrStore+0x2d3 internal/sync/hashtriemap.go:151 # 0x54e02c sync.(*Map).LoadOrStore+0x1cc sync/map.go:65 # 0x54dfac encoding/json.typeEncoder+0x14c encoding/json/encode.go:402 # 0x554ac4 encoding/json.typeFields+0x1ba4 encoding/json/encode.go:1299 # 0x554f30 encoding/json.cachedTypeFields+0x110 encoding/json/encode.go:1336 # 0x54e8bc encoding/json.newStructEncoder+0x37c encoding/json/encode.go:757 # 0x54e96e encoding/json.newTypeEncoder+0x42e encoding/json/encode.go:455 # 0x54e524 encoding/json.typeEncoder.func1+0x24 encoding/json/encode.go:400 # 0x54e197 encoding/json.typeEncoder.typeEncoder.OnceValue[...].func3.func4+0x57 sync/oncefunc.go:66 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x54e089 sync.(*Once).Do+0x229 sync/once.go:69 # 0x54e053 encoding/json.typeEncoder.OnceValue[...].func3+0x1f3 sync/oncefunc.go:58 # 0x54e052 encoding/json.typeEncoder+0x1f2 encoding/json/encode.go:409 # 0x5528e6 encoding/json.newPtrEncoder+0x26 encoding/json/encode.go:924 # 0x54e870 encoding/json.newTypeEncoder+0x330 encoding/json/encode.go:463 # 0x54e524 encoding/json.typeEncoder.func1+0x24 encoding/json/encode.go:400 # 0x54e197 encoding/json.typeEncoder.typeEncoder.OnceValue[...].func3.func4+0x57 sync/oncefunc.go:66 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x54e089 sync.(*Once).Do+0x229 sync/once.go:69 # 0x54e053 encoding/json.typeEncoder.OnceValue[...].func3+0x1f3 sync/oncefunc.go:58 # 0x54e052 encoding/json.typeEncoder+0x1f2 encoding/json/encode.go:409 # 0x5523a6 encoding/json.newArrayEncoder+0x26 encoding/json/encode.go:896 # 0x552165 encoding/json.newSliceEncoder+0xa5 encoding/json/encode.go:875 # 0x54e88e encoding/json.newTypeEncoder+0x34e encoding/json/encode.go:459 # 0x54e524 encoding/json.typeEncoder.func1+0x24 encoding/json/encode.go:400 # 0x54e197 encoding/json.typeEncoder.typeEncoder.OnceValue[...].func3.func4+0x57 sync/oncefunc.go:66 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x54e089 sync.(*Once).Do+0x229 sync/once.go:69 # 0x54e053 encoding/json.typeEncoder.OnceValue[...].func3+0x1f3 sync/oncefunc.go:58 # 0x54e052 encoding/json.typeEncoder+0x1f2 encoding/json/encode.go:409 # 0x554ac4 encoding/json.typeFields+0x1ba4 encoding/json/encode.go:1299 # 0x554f30 encoding/json.cachedTypeFields+0x110 encoding/json/encode.go:1336 # 0x54e8bc encoding/json.newStructEncoder+0x37c encoding/json/encode.go:757 # 0x54e96e encoding/json.newTypeEncoder+0x42e encoding/json/encode.go:455 # 0x54e524 encoding/json.typeEncoder.func1+0x24 encoding/json/encode.go:400 # 0x54e197 encoding/json.typeEncoder.typeEncoder.OnceValue[...].func3.func4+0x57 sync/oncefunc.go:66 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x54e089 sync.(*Once).Do+0x229 sync/once.go:69 # 0x54e053 encoding/json.typeEncoder.OnceValue[...].func3+0x1f3 sync/oncefunc.go:58 # 0x54e052 encoding/json.typeEncoder+0x1f2 encoding/json/encode.go:409 # 0x5528e6 encoding/json.newPtrEncoder+0x26 encoding/json/encode.go:924 # 0x54e870 encoding/json.newTypeEncoder+0x330 encoding/json/encode.go:463 # 0x54e524 encoding/json.typeEncoder.func1+0x24 encoding/json/encode.go:400 # 0x54e197 encoding/json.typeEncoder.typeEncoder.OnceValue[...].func3.func4+0x57 sync/oncefunc.go:66 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x54e089 sync.(*Once).Do+0x229 sync/once.go:69 # 0x54e053 encoding/json.typeEncoder.OnceValue[...].func3+0x1f3 sync/oncefunc.go:58 # 0x54e052 encoding/json.typeEncoder+0x1f2 encoding/json/encode.go:409 # 0x554ac4 encoding/json.typeFields+0x1ba4 encoding/json/encode.go:1299 # 0x554f30 encoding/json.cachedTypeFields+0x110 encoding/json/encode.go:1336 # 0x54865a encoding/json.(*decodeState).object+0x27a encoding/json/decode.go:652 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0xc00be4 github.com/mattermost/mattermost/server/public/model.BundleInfoForPath+0x24 github.com/mattermost/mattermost/server/public/model/bundle_info.go:27 # 0x12e2fab github.com/mattermost/mattermost/server/public/plugin.scanSearchPath+0x16b github.com/mattermost/mattermost/server/public/plugin/environment.go:100 # 0x25c273e github.com/mattermost/mattermost/server/public/plugin.(*Environment).Available+0xbe github.com/mattermost/mattermost/server/public/plugin/environment.go:110 # 0x25c2736 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins+0xb6 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:275 # 0x25c1c3e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).initPlugins+0xc3e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:225 # 0x24c382b github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).Start+0x10b github.com/mattermost/mattermost/server/v8/channels/app/channels.go:246 # 0x265fd24 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start+0x184 github.com/mattermost/mattermost/server/v8/channels/app/server.go:923 # 0x292c378 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x138 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:104 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 704512] @ 0x48dd33 0x475974 0x475486 0x139359c 0x1392cd8 0x13945e7 0x13945e8 0x272a07c 0x272eca6 0x292c36f 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x139359b github.com/mattermost/mattermost/server/v8/channels/utils.updateRootFile+0x63b github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:134 # 0x1392cd7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathInDir+0x2b7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:86 # 0x13945e6 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpath+0xe6 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:173 # 0x13945e7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathFromConfig+0xe7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:196 # 0x272a07b github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic+0x7b github.com/mattermost/mattermost/server/v8/channels/web/static.go:30 # 0x272eca5 github.com/mattermost/mattermost/server/v8/channels/web.New+0xa5 github.com/mattermost/mattermost/server/v8/channels/web/web.go:38 # 0x292c36e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x12e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:102 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 704512] @ 0x48dd33 0x4752f7 0x1393109 0x1393066 0x1392cd8 0x13945e7 0x13945e8 0x272a07c 0x272eca6 0x292c36f 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1393108 regexp.(*Regexp).ReplaceAllLiteralString+0x1a8 regexp/regexp.go:567 # 0x1393065 github.com/mattermost/mattermost/server/v8/channels/utils.updateRootFile+0x105 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:106 # 0x1392cd7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathInDir+0x2b7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:86 # 0x13945e6 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpath+0xe6 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:173 # 0x13945e7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathFromConfig+0xe7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:196 # 0x272a07b github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic+0x7b github.com/mattermost/mattermost/server/v8/channels/web/static.go:30 # 0x272eca5 github.com/mattermost/mattermost/server/v8/channels/web.New+0xa5 github.com/mattermost/mattermost/server/v8/channels/web/web.go:38 # 0x292c36e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x12e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:102 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 704512] @ 0x48dd33 0x4930f3 0x7bf827 0x13930fc 0x1393066 0x1392cd8 0x13945e7 0x13945e8 0x272a07c 0x272eca6 0x292c36f 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bf826 regexp.(*Regexp).replaceAll+0x706 regexp/regexp.go:642 # 0x13930fb regexp.(*Regexp).ReplaceAllLiteralString+0x19b regexp/regexp.go:567 # 0x1393065 github.com/mattermost/mattermost/server/v8/channels/utils.updateRootFile+0x105 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:106 # 0x1392cd7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathInDir+0x2b7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:86 # 0x13945e6 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpath+0xe6 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:173 # 0x13945e7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathFromConfig+0xe7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:196 # 0x272a07b github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic+0x7b github.com/mattermost/mattermost/server/v8/channels/web/static.go:30 # 0x272eca5 github.com/mattermost/mattermost/server/v8/channels/web.New+0xa5 github.com/mattermost/mattermost/server/v8/channels/web/web.go:38 # 0x292c36e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x12e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:102 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 704512] @ 0x48dd33 0x4752f7 0x1392c8b 0x13945e7 0x13945e8 0x272a07c 0x272eca6 0x292c36f 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1392c8a github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathInDir+0x26a github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:86 # 0x13945e6 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpath+0xe6 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:173 # 0x13945e7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathFromConfig+0xe7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:196 # 0x272a07b github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic+0x7b github.com/mattermost/mattermost/server/v8/channels/web/static.go:30 # 0x272eca5 github.com/mattermost/mattermost/server/v8/channels/web.New+0xa5 github.com/mattermost/mattermost/server/v8/channels/web/web.go:38 # 0x292c36e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x12e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:102 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 704512] @ 0x48dd33 0x4752f7 0x1392b54 0x13945e7 0x13945e8 0x272a07c 0x272eca6 0x292c36f 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1392b53 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathInDir+0x133 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:76 # 0x13945e6 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpath+0xe6 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:173 # 0x13945e7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathFromConfig+0xe7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:196 # 0x272a07b github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic+0x7b github.com/mattermost/mattermost/server/v8/channels/web/static.go:30 # 0x272eca5 github.com/mattermost/mattermost/server/v8/channels/web.New+0xa5 github.com/mattermost/mattermost/server/v8/channels/web/web.go:38 # 0x292c36e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x12e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:102 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 704512] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x1392b11 0x13945e7 0x13945e8 0x272a07c 0x272eca6 0x292c36f 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x1392b10 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathInDir+0xf0 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:66 # 0x13945e6 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpath+0xe6 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:173 # 0x13945e7 github.com/mattermost/mattermost/server/v8/channels/utils.UpdateAssetsSubpathFromConfig+0xe7 github.com/mattermost/mattermost/server/v8/channels/utils/subpath.go:196 # 0x272a07b github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic+0x7b github.com/mattermost/mattermost/server/v8/channels/web/static.go:30 # 0x272eca5 github.com/mattermost/mattermost/server/v8/channels/web.New+0xa5 github.com/mattermost/mattermost/server/v8/channels/web/web.go:38 # 0x292c36e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x12e github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:102 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 64] @ 0x48dd2c 0x4930f3 0x7ab745 0x7ab59b 0x7aba05 0x7af13a 0x7bd4f0 0x7bd4eb 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x2746eef 0x274c165 0x274afe5 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7ab744 regexp/syntax.(*parser).maybeConcat+0xc4 regexp/syntax/parse.go:352 # 0x7ab59a regexp/syntax.(*parser).push+0x21a regexp/syntax/parse.go:322 # 0x7aba04 regexp/syntax.(*parser).literal+0x124 regexp/syntax/parse.go:376 # 0x7af139 regexp/syntax.parse+0xbd9 regexp/syntax/parse.go:931 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x2746eee github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitAccessControlPolicyLocal+0x5ce github.com/mattermost/mattermost/server/v8/channels/api4/access_control_local.go:25 # 0x274c164 github.com/mattermost/mattermost/server/v8/channels/api4.InitLocal+0x1144 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:516 # 0x274afe4 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x2644 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:412 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 640] @ 0x48dd0c 0x492ae9 0x7bb8f4 0x7bd16a 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x289ca47 0x274c125 0x274afe5 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb8f3 regexp.makeOnePass+0x233 regexp/onepass.go:303 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x289ca46 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUploadLocal+0x166 github.com/mattermost/mattermost/server/v8/channels/api4/upload_local.go:11 # 0x274c124 github.com/mattermost/mattermost/server/v8/channels/api4.InitLocal+0x1104 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:510 # 0x274afe4 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x2644 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:412 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 80] @ 0x48dd05 0x493087 0x7a9276 0x7a92a9 0x7a9350 0x7a9ded 0x7a8acb 0x7bd537 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc7259 0x1cc7212 0x274b4e5 0x274afe5 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7a9275 regexp/syntax.(*compiler).inst+0x615 regexp/syntax/compile.go:164 # 0x7a92a8 regexp/syntax.(*compiler).empty+0x648 regexp/syntax/compile.go:266 # 0x7a934f regexp/syntax.(*compiler).compile+0x6ef regexp/syntax/compile.go:120 # 0x7a9dec regexp/syntax.(*compiler).compile+0x118c regexp/syntax/compile.go:145 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc7258 github.com/gorilla/mux.(*Route).PathPrefix+0x258 github.com/gorilla/mux@v1.8.1/route.go:380 # 0x1cc7211 github.com/gorilla/mux.(*Router).PathPrefix+0x211 github.com/gorilla/mux@v1.8.1/mux.go:338 # 0x274b4e4 github.com/mattermost/mattermost/server/v8/channels/api4.InitLocal+0x4c4 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:442 # 0x274afe4 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x2644 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:412 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 1536] @ 0x48dd0c 0x492ae9 0x7bb8f4 0x7bd16a 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x273a2cf 0x274aec5 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb8f3 regexp.makeOnePass+0x233 regexp/onepass.go:303 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x273a2ce github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitAccessControlPolicy+0x74e github.com/mattermost/mattermost/server/v8/channels/api4/access_control.go:45 # 0x274aec4 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x2524 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:400 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 1408] @ 0x48dd0c 0x493087 0x7aa99b 0x7aa9e0 0x7aa025 0x7a9e0f 0x7a8acb 0x7bd537 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x2739f6f 0x274aec5 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7aa024 regexp/syntax.(*compiler).compile+0x13c4 regexp/syntax/compile.go:101 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x2739f6e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitAccessControlPolicy+0x3ee github.com/mattermost/mattermost/server/v8/channels/api4/access_control.go:37 # 0x274aec4 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x2524 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:400 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 16] @ 0x48dd05 0x428505 0x89becd 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x89becc text/template.(*Template).Parse+0x6ac text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 320] @ 0x48dd05 0x493087 0x7aa99b 0x7aa9e0 0x7aa025 0x7a9e0f 0x7a8acb 0x7bd537 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x280efac 0x274ae8f 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7aa024 regexp/syntax.(*compiler).compile+0x13c4 regexp/syntax/compile.go:101 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x280efab github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitOutgoingOAuthConnection+0x4b github.com/mattermost/mattermost/server/v8/channels/api4/outgoing_oauth_connection.go:23 # 0x274ae8e github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x24ee github.com/mattermost/mattermost/server/v8/channels/api4/api.go:395 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 1024] @ 0x48dd0c 0x492ae9 0x7bb8f4 0x7bd16a 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x27c258f 0x274ad39 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb8f3 regexp.makeOnePass+0x233 regexp/onepass.go:303 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x27c258e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitDataRetention+0x34e github.com/mattermost/mattermost/server/v8/channels/api4/data_retention.go:21 # 0x274ad38 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x2398 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:363 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 483328] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [3: 624] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x88288c 0x8826aa 0x8812c5 0x89bf4a 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x88288b text/template/parse.(*Tree).add+0x6b text/template/parse/parse.go:274 # 0x8826a9 text/template/parse.(*Tree).Parse+0x249 text/template/parse/parse.go:265 # 0x8812c4 text/template/parse.Parse+0x124 text/template/parse/parse.go:78 # 0x89bf49 text/template.(*Template).Parse+0x729 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 368640] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 286720] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 160] @ 0x48dd2c 0x492ae9 0x54cc65 0x54a691 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54cc64 encoding/json.unquoteBytes+0x184 encoding/json/decode.go:1218 # 0x54a690 encoding/json.(*decodeState).literalStore+0x6d0 encoding/json/decode.go:935 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 112] @ 0x48dd05 0x428505 0x7ab985 0x7ab900 0x7af13a 0x7bd4f0 0x7bd4eb 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x289f025 0x274ac7b 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7ab984 regexp/syntax.(*parser).newRegexp+0xa4 regexp/syntax/parse.go:147 # 0x7ab8ff regexp/syntax.(*parser).literal+0x1f regexp/syntax/parse.go:369 # 0x7af139 regexp/syntax.parse+0xbd9 regexp/syntax/parse.go:931 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x289f024 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUser+0x1824 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:82 # 0x274ac7a github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22da github.com/mattermost/mattermost/server/v8/channels/api4/api.go:345 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 896] @ 0x48dd0c 0x492ae9 0x7bb8f4 0x7bd16a 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x289ebb9 0x274ac7b 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb8f3 regexp.makeOnePass+0x233 regexp/onepass.go:303 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x289ebb8 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUser+0x13b8 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:71 # 0x274ac7a github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22da github.com/mattermost/mattermost/server/v8/channels/api4/api.go:345 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 176] @ 0x48dd2c 0x492ae9 0x7bb731 0x7bb6fc 0x7bd16a 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x289e7f1 0x274ac7b 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb730 regexp.newQueue+0x70 regexp/onepass.go:141 # 0x7bb6fb regexp.makeOnePass+0x3b regexp/onepass.go:300 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x289e7f0 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUser+0xff0 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:62 # 0x274ac7a github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22da github.com/mattermost/mattermost/server/v8/channels/api4/api.go:345 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [2: 32] @ 0x48dd25 0x4752f7 0x549254 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x549253 encoding/json.(*decodeState).object+0xe73 encoding/json/decode.go:787 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x8811f7 0x89bf4a 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8811f6 text/template/parse.Parse+0x56 text/template/parse/parse.go:75 # 0x89bf49 text/template.(*Template).Parse+0x729 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 425984] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 327680] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x8f83e9 0x8f83de 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8f83e8 io/ioutil.ReadFile+0x28 io/ioutil/ioutil.go:42 # 0x8f83dd 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 24] @ 0x48dd2c 0x493412 0x53e105 0x53e1f0 0x5441a5 0x15e168a 0x50d602 0x5265fe 0x51b194 0x15e114d 0x15e1574 0x15e179c 0x15e8245 0x15e7265 0x15e73c5 0x292c10e 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x493411 internal/bytealg.MakeNoZero+0xb1 runtime/slice.go:437 # 0x53e104 strings.(*Builder).grow+0x24 strings/builder.go:67 # 0x53e1ef strings.(*Builder).Grow+0x4f strings/builder.go:81 # 0x5441a4 strings.ToUpper+0xa4 strings/strings.go:706 # 0x15e1689 github.com/mattermost/mattermost/server/v8/config.applyEnvKey.func1+0x29 github.com/mattermost/mattermost/server/v8/config/environment.go:35 # 0x50d601 reflect.(*structType).FieldByNameFunc+0x381 reflect/type.go:1314 # 0x5265fd reflect.(*rtype).FieldByNameFunc+0x7d reflect/type.go:801 # 0x51b193 reflect.Value.FieldByNameFunc+0x73 reflect/value.go:1367 # 0x15e114c github.com/mattermost/mattermost/server/v8/config.applyEnvKey+0xcc github.com/mattermost/mattermost/server/v8/config/environment.go:34 # 0x15e1573 github.com/mattermost/mattermost/server/v8/config.applyEnvKey+0x4f3 github.com/mattermost/mattermost/server/v8/config/environment.go:57 # 0x15e179b github.com/mattermost/mattermost/server/v8/config.applyEnvironmentMap+0xbb github.com/mattermost/mattermost/server/v8/config/environment.go:94 # 0x15e8244 github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x284 github.com/mattermost/mattermost/server/v8/config/store.go:292 # 0x15e7264 github.com/mattermost/mattermost/server/v8/config.NewStoreFromBacking+0x84 github.com/mattermost/mattermost/server/v8/config/store.go:79 # 0x15e73c4 github.com/mattermost/mattermost/server/v8/config.NewStoreFromDSN+0xe4 github.com/mattermost/mattermost/server/v8/config/store.go:100 # 0x292c10d github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0xad github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:51 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [3: 4608] @ 0x48dd0c 0x428505 0x658785 0x659b9d 0x64c7e5 0x65b731 0x65b1e5 0x4a240c 0x65b0a5 0x65b088 0x65de0b 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x658784 crypto/x509.parseCertificate+0x44 crypto/x509/parser.go:887 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x64c7e4 crypto/x509.(*CertPool).AppendCertsFromPEM+0x124 crypto/x509/cert_pool.go:231 # 0x65b730 crypto/x509.loadSystemRoots+0x390 crypto/x509/root_unix.go:72 # 0x65b1e4 crypto/x509.initSystemRoots+0x64 crypto/x509/root.go:43 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x65b0a4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x65b087 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:32 # 0x65de0a crypto/x509.(*Certificate).Verify+0x18a crypto/x509/verify.go:578 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 48] @ 0x48dd05 0x428505 0x4e8a73 0x4e64de 0x4e75ea 0x4e75e1 0x65b719 0x65b1e5 0x4a240c 0x65b0a5 0x65b088 0x65de0b 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4e8a72 os.openFileNolog+0xf2 os/file_unix.go:265 # 0x4e64dd os.OpenFile+0x3d os/file.go:412 # 0x4e75e9 os.Open+0x49 os/file.go:390 # 0x4e75e0 os.ReadFile+0x40 os/file.go:865 # 0x65b718 crypto/x509.loadSystemRoots+0x378 crypto/x509/root_unix.go:70 # 0x65b1e4 crypto/x509.initSystemRoots+0x64 crypto/x509/root.go:43 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x65b0a4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x65b087 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:32 # 0x65de0a crypto/x509.(*Certificate).Verify+0x18a crypto/x509/verify.go:578 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 204800] @ 0x48dd33 0x428505 0x856865 0x8747d9 0xc186ec 0xc228f9 0x15e8287 0x15e7265 0x15e73c5 0x292c10e 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x856864 github.com/mattermost/logr/v2.New+0x2e4 github.com/mattermost/logr/v2@v2.0.22/logr.go:69 # 0x8747d8 github.com/mattermost/mattermost/server/public/shared/mlog.LoggerConfiguration.IsValid+0x58 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:74 # 0xc186eb github.com/mattermost/mattermost/server/public/model.(*ExperimentalAuditSettings).isValid+0x20b github.com/mattermost/mattermost/server/public/model/config.go:1704 # 0xc228f8 github.com/mattermost/mattermost/server/public/model.(*Config).IsValid+0x498 github.com/mattermost/mattermost/server/public/model/config.go:4382 # 0x15e8286 github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x2c6 github.com/mattermost/mattermost/server/v8/config/store.go:294 # 0x15e7264 github.com/mattermost/mattermost/server/v8/config.NewStoreFromBacking+0x84 github.com/mattermost/mattermost/server/v8/config/store.go:79 # 0x15e73c4 github.com/mattermost/mattermost/server/v8/config.NewStoreFromDSN+0xe4 github.com/mattermost/mattermost/server/v8/config/store.go:100 # 0x292c10d github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0xad github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:51 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 221184] @ 0x48dd33 0x492ae9 0x4e77e9 0x4e7673 0x65b4eb 0x65b1e5 0x4a240c 0x65b0a5 0x65b088 0x65de0b 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x65b4ea crypto/x509.loadSystemRoots+0x14a crypto/x509/root_unix.go:42 # 0x65b1e4 crypto/x509.initSystemRoots+0x64 crypto/x509/root.go:43 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x65b0a4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x65b087 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:32 # 0x65de0a crypto/x509.(*Certificate).Verify+0x18a crypto/x509/verify.go:578 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [3: 240] @ 0x48dd2c 0x492ae9 0x5cb485 0x657378 0x659a65 0x659b9d 0x6952ef 0x6b20ba 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5cb484 vendor/golang.org/x/crypto/cryptobyte.(*String).ReadASN1ObjectIdentifier+0x64 vendor/golang.org/x/crypto/cryptobyte/asn1.go:461 # 0x657377 crypto/x509.processExtensions+0xb57 crypto/x509/parser.go:855 # 0x659a64 crypto/x509.parseCertificate+0x1324 crypto/x509/parser.go:1054 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x6952ee crypto/tls.(*weakCertCache).newCert+0xce crypto/tls/cache.go:26 # 0x6b20b9 crypto/tls.(*Conn).verifyServerCertificate+0xb9 crypto/tls/handshake_client.go:1102 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 0: 0 [1: 4864] @ 0x48dd0c 0x493087 0xc79c5b 0x2565506 0x26d7def 0x256d05a 0x265b959 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0xc79c5a github.com/mattermost/mattermost/server/public/model.MakeDefaultRoles+0x29da github.com/mattermost/mattermost/server/public/model/role.go:1232 # 0x2565505 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doSingleRoleCreationMigration+0x165 github.com/mattermost/mattermost/server/v8/channels/app/migrations.go:343 # 0x26d7dee github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doSharedChannelManagerRoleCreationMigration+0x2e github.com/mattermost/mattermost/server/v8/channels/app/migrations.go:375 # 0x256d059 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doAppMigrations+0x4d9 github.com/mattermost/mattermost/server/v8/channels/app/migrations.go:1178 # 0x265b958 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x3398 github.com/mattermost/mattermost/server/v8/channels/app/server.go:565 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 8192] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0x551365 0x54dd73 0x54db31 0x54d47e 0x21d1bb3 0x21e9ac5 0x21d81c3 0x21d801c 0x21d61ee 0x2665e92 0x2665e8d 0x26646d8 0x265cd67 0x265b94c 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0x551364 encoding/json.mapEncoder.encode+0x484 encoding/json/encode.go:802 # 0x54dd72 encoding/json.(*encodeState).reflectValue+0x72 encoding/json/encode.go:367 # 0x54db30 encoding/json.(*encodeState).marshal+0xb0 encoding/json/encode.go:343 # 0x54d47d encoding/json.Marshal+0xbd encoding/json/encode.go:209 # 0x21d1bb2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).regenerateClientConfig+0x472 github.com/mattermost/mattermost/server/v8/channels/app/platform/config.go:240 # 0x21e9ac4 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Start.func2+0x24 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:482 # 0x21d81c2 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense.func1+0xa2 github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:251 # 0x21d801b github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetLicense+0xbb github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:279 # 0x21d61ed github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).LoadLicense+0x104d github.com/mattermost/mattermost/server/v8/channels/app/platform/license.go:117 # 0x2665e91 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).LoadLicense+0x31 github.com/mattermost/mattermost/server/v8/channels/app/license.go:109 # 0x2665e8c github.com/mattermost/mattermost/server/v8/channels/app.(*Server).doLicenseExpirationCheck+0x2c github.com/mattermost/mattermost/server/v8/channels/app/server.go:1472 # 0x26646d7 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runLicenseExpirationCheckJob+0x17 github.com/mattermost/mattermost/server/v8/channels/app/server.go:1321 # 0x265cd66 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).runJobs+0x26 github.com/mattermost/mattermost/server/v8/channels/app/server.go:585 # 0x265b94b github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x338b github.com/mattermost/mattermost/server/v8/channels/app/server.go:562 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 204800] @ 0x48dd33 0x428505 0x856865 0x8747d9 0xc17f5f 0xc228d9 0x15e8287 0x21d3bb8 0x265ae25 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x856864 github.com/mattermost/logr/v2.New+0x2e4 github.com/mattermost/logr/v2@v2.0.22/logr.go:69 # 0x8747d8 github.com/mattermost/mattermost/server/public/shared/mlog.LoggerConfiguration.IsValid+0x58 github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:74 # 0xc17f5e github.com/mattermost/mattermost/server/public/model.(*LogSettings).isValid+0x17e github.com/mattermost/mattermost/server/public/model/config.go:1609 # 0xc228d8 github.com/mattermost/mattermost/server/public/model.(*Config).IsValid+0x478 github.com/mattermost/mattermost/server/public/model/config.go:4378 # 0x15e8286 github.com/mattermost/mattermost/server/v8/config.(*Store).Load+0x2c6 github.com/mattermost/mattermost/server/v8/config/store.go:294 # 0x21d3bb7 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).SetupFeatureFlags+0x337 github.com/mattermost/mattermost/server/v8/channels/app/platform/feature_flags.go:34 # 0x265ae24 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x2864 github.com/mattermost/mattermost/server/v8/channels/app/server.go:451 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 27264] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x8aca77 0x8ac36c 0x8ac5f6 0x1397855 0x139780e 0x265a98d 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8aca76 html/template.readFileOS+0x36 html/template/template.go:520 # 0x8ac36b html/template.parseFiles+0x10b html/template/template.go:410 # 0x8ac5f5 html/template.parseGlob+0xf5 html/template/template.go:477 # 0x1397854 html/template.ParseGlob+0x74 html/template/template.go:448 # 0x139780d github.com/mattermost/mattermost/server/v8/platform/shared/templates.New+0x2d github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:43 # 0x265a98c github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x23cc github.com/mattermost/mattermost/server/v8/channels/app/server.go:426 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 65536] @ 0x48dd33 0x492ae9 0x625545 0x613c05 0x61463d 0x60d687 0x60da2f 0x6216b1 0x5feb97 0x61e5f7 0x5fd994 0x498001 # 0x625544 net.open+0x44 net/parse.go:80 # 0x613c04 net.readHosts+0x264 net/hosts.go:68 # 0x61463c net.lookupStaticHost+0xbc net/hosts.go:132 # 0x60d686 net.goLookupIPFiles+0x26 net/dnsclient_unix.go:590 # 0x60da2e net.(*Resolver).goLookupIPCNAMEOrder+0xae net/dnsclient_unix.go:612 # 0x6216b0 net.(*Resolver).lookupIP+0x130 net/lookup_unix.go:66 # 0x5feb96 net.init.func1+0x36 net/hook.go:21 # 0x61e5f6 net.(*Resolver).lookupIPAddr.func1+0x36 net/lookup.go:335 # 0x5fd993 internal/singleflight.(*Group).doCall+0x33 internal/singleflight/singleflight.go:93 0: 0 [1: 28672] @ 0x48dd2c 0x492ae9 0x4e77e9 0x4e7673 0x8aca77 0x8ac36c 0x8ac5f6 0x1397855 0x139780e 0x265a98d 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x4e77e8 os.readFileContents+0x48 os/file.go:906 # 0x4e7672 os.ReadFile+0xd2 os/file.go:871 # 0x8aca76 html/template.readFileOS+0x36 html/template/template.go:520 # 0x8ac36b html/template.parseFiles+0x10b html/template/template.go:410 # 0x8ac5f5 html/template.parseGlob+0xf5 html/template/template.go:477 # 0x1397854 html/template.ParseGlob+0x74 html/template/template.go:448 # 0x139780d github.com/mattermost/mattermost/server/v8/platform/shared/templates.New+0x2d github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:43 # 0x265a98c github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x23cc github.com/mattermost/mattermost/server/v8/channels/app/server.go:426 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 0: 0 [1: 192] @ 0x48dd05 0x48de45 0x52107d 0x183a171 0x1839685 0x18425b4 0x19dc226 0x1997a7f 0x187b4f2 0x21a118b 0x2236bc4 0x2236605 0x26593bb 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x183a170 github.com/lann/builder.newBuilderStruct+0x50 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/registry.go:57 # 0x1839684 github.com/lann/builder.GetStruct+0x44 github.com/lann/builder@v0.0.0-20180802200727-47ae307949d0/builder.go:181 # 0x18425b3 github.com/mattermost/squirrel.InsertBuilder.ToSql+0x53 github.com/mattermost/squirrel@v0.5.0/insert.go:215 # 0x19dc225 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).ExecBuilder+0x25 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:230 # 0x1997a7e github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlPropertyGroupStore).Register+0x5be github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/property_group_store.go:42 # 0x187b4f1 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerPropertyGroupStore).Register+0x51 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:10527 # 0x21a118a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerPropertyGroupStore).Register+0x4a github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:8390 # 0x2236bc3 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).RegisterPropertyGroup+0x23 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:61 # 0x2236604 github.com/mattermost/mattermost/server/v8/channels/app/properties.(*PropertyService).RegisterBuiltinGroups+0x64 github.com/mattermost/mattermost/server/v8/channels/app/properties/property_group.go:17 # 0x26593ba github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0xdfa github.com/mattermost/mattermost/server/v8/channels/app/server.go:273 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 16 [1: 16] @ 0x48dd05 0x492ae9 0x54295f 0x8872d9 0x887294 0x887284 0x88696a 0x886685 0x884ce9 0x883ce8 0x8838f0 0x882fc5 0x88269d 0x8812c5 0x89bf4a 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54295e strings.genSplit+0x7e strings/strings.go:305 # 0x8872d8 strings.Split+0x1b8 strings/strings.go:361 # 0x887293 text/template/parse.(*Tree).newField+0x173 text/template/parse/node.go:505 # 0x887283 text/template/parse.(*Tree).term+0x163 text/template/parse/parse.go:793 # 0x886969 text/template/parse.(*Tree).operand+0x29 text/template/parse/parse.go:739 # 0x886684 text/template/parse.(*Tree).command+0x124 text/template/parse/parse.go:709 # 0x884ce8 text/template/parse.(*Tree).pipeline+0xc48 text/template/parse/parse.go:515 # 0x883ce7 text/template/parse.(*Tree).action+0x287 text/template/parse/parse.go:431 # 0x8838ef text/template/parse.(*Tree).textOrAction+0x22f text/template/parse/parse.go:387 # 0x882fc4 text/template/parse.(*Tree).parse+0x4c4 text/template/parse/parse.go:328 # 0x88269c text/template/parse.(*Tree).Parse+0x23c text/template/parse/parse.go:264 # 0x8812c4 text/template/parse.Parse+0x124 text/template/parse/parse.go:78 # 0x89bf49 text/template.(*Template).Parse+0x729 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 16 [1: 16] @ 0x48dd25 0x48de45 0x52107d 0x139ab59 0x1399191 0x13a08ca 0x13a380b 0x13a58f9 0x19dbabb 0x19dba73 0x19dbd45 0x18cead4 0x1859487 0x217a56d 0x2114646 0x249b6c9 0x249b090 0x281d925 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x48de44 reflect.unsafe_New+0x24 runtime/malloc.go:2178 # 0x52107c reflect.New+0x5c reflect/value.go:3164 # 0x139ab58 github.com/jmoiron/sqlx/reflectx.getMapping+0x518 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:384 # 0x1399190 github.com/jmoiron/sqlx/reflectx.(*Mapper).TypeMap+0x90 github.com/jmoiron/sqlx@v1.4.0/reflectx/reflect.go:108 # 0x13a08c9 github.com/jmoiron/sqlx.isScannable+0x89 github.com/jmoiron/sqlx@v1.4.0/sqlx.go:66 # 0x13a380a github.com/jmoiron/sqlx.(*Row).scanAny+0x18a github.com/jmoiron/sqlx@v1.4.0/sqlx.go:759 # 0x13a58f8 github.com/jmoiron/sqlx.GetContext+0x78 github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:84 # 0x19dbaba github.com/jmoiron/sqlx.(*DB).GetContext+0x1fa github.com/jmoiron/sqlx@v1.4.0/sqlx_context.go:148 # 0x19dba72 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).Get+0x1b2 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:197 # 0x19dbd44 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*sqlxDBWrapper).GetBuilder+0x64 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/sqlx_wrapper.go:206 # 0x18cead3 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.SqlChannelStore.Get+0x253 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/channel_store.go:969 # 0x1859486 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer.(*RetryLayerChannelStore).Get+0x66 github.com/mattermost/mattermost/server/v8/channels/store/retrylayer/retrylayer.go:1737 # 0x217a56c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer.(*TimerLayerChannelStore).Get+0x6c github.com/mattermost/mattermost/server/v8/channels/store/timerlayer/timerlayer.go:1523 # 0x2114645 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheChannelStore.Get+0xe5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/channel_layer.go:249 # 0x249b6c8 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).getChannel+0x68 github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2183 # 0x249b08f github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetChannel+0x4f github.com/mattermost/mattermost/server/v8/channels/app/channel.go:2151 # 0x281d924 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0x3a4 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:280 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 24 [1: 24] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 32 [1: 32] @ 0x48dd05 0x428505 0xc0069c 0xc005b3 0x12f1ef3 0x12e45a5 0x12e4c4d 0x25e4bad 0x25e34c7 0x25c3805 0x498001 # 0xc0069b github.com/mattermost/mattermost/server/public/shared/mlog.(*Logger).With+0x11b github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:293 # 0xc005b2 github.com/mattermost/mattermost/server/public/model.(*BundleInfo).WrapLogger+0x32 github.com/mattermost/mattermost/server/public/model/bundle_info.go:20 # 0x12f1ef2 github.com/mattermost/mattermost/server/public/plugin.newSupervisor+0x1f2 github.com/mattermost/mattermost/server/public/plugin/supervisor.go:102 # 0x12e45a4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).startPluginServer+0xa4 github.com/mattermost/mattermost/server/public/plugin/environment.go:284 # 0x12e4c4c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x52c github.com/mattermost/mattermost/server/public/plugin/environment.go:368 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25e34c6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installPluginLocally+0x186 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:389 # 0x25c3804 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).syncPlugins.func2+0xc44 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:339 1: 32 [1: 32] @ 0x48dd2c 0x4930f3 0x7bac73 0x7bac01 0x7bbe7f 0x7bbaab 0x7bd16a 0x7bd54f 0x1cc93b3 0x1cc9352 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x2755e7f 0x274ac99 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bac72 regexp.mergeRuneSets.func2+0x3d2 regexp/onepass.go:182 # 0x7bac00 regexp.mergeRuneSets+0x360 regexp/onepass.go:194 # 0x7bbe7e regexp.makeOnePass.func1+0x2de regexp/onepass.go:336 # 0x7bbaaa regexp.makeOnePass+0x3ea regexp/onepass.go:442 # 0x7bd169 regexp.compileOnePass+0x1a9 regexp/onepass.go:502 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc93b2 regexp.Compile+0x652 regexp/regexp.go:131 # 0x1cc9351 github.com/gorilla/mux.newRouteRegexp+0x5f1 github.com/gorilla/mux@v1.8.1/regexp.go:96 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x2755e7e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitChannel+0x69e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:46 # 0x274ac98 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22f8 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:348 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 32 [1: 32] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 48 [1: 48] @ 0x48dd05 0x428505 0x4a4fb8 0x4a4f1e 0x6fadf5 0x6fadd4 0x6fad9e 0x6fb62e 0x6fb7f8 0x6fa8dd 0x4a240c 0x6fa948 0x6fa92b 0x731025 0x732da5 0x73393a 0x272adde 0x77bd69 0x272aad6 0x77bd69 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4a4fb7 internal/sync.newEntryNode[...]+0x2f7 internal/sync/hashtriemap.go:572 # 0x4a4f1d internal/sync.(*HashTrieMap[...]).Swap+0x25d internal/sync/hashtriemap.go:263 # 0x6fadf4 internal/sync.(*HashTrieMap[...]).Store+0x1f4 internal/sync/hashtriemap.go:200 # 0x6fadd3 sync.(*Map).Store+0x1d3 sync/map.go:53 # 0x6fad9d mime.setExtensionType+0x19d mime/type.go:252 # 0x6fb62d mime.loadMimeFile+0x16d mime/type_unix.go:97 # 0x6fb7f7 mime.initMimeUnix+0x97 mime/type_unix.go:114 # 0x6fa8dc mime.initMime+0x3c mime/type.go:140 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x6fa947 sync.(*Once).Do+0x47 sync/once.go:69 # 0x6fa92a mime.TypeByExtension+0x2a mime/type.go:165 # 0x731024 net/http.serveContent+0xde4 net/http/fs.go:288 # 0x732da4 net/http.serveFile+0x5e4 net/http/fs.go:761 # 0x733939 net/http.(*fileHandler).ServeHTTP+0xb9 net/http/fs.go:994 # 0x272addd github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.StripPrefix.func4+0x2bd net/http/server.go:2348 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x272aad5 github.com/mattermost/mattermost/server/v8/channels/web.(*Web).InitStatic.staticFilesHandler.func5+0x1d5 github.com/mattermost/mattermost/server/v8/channels/web/static.go:151 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 48 [1: 48] @ 0x48dd2c 0x4753be 0x4753b2 0x474925 0x474b30 0xb5bc25 0xb5bc03 0xb5c447 0xb5941c 0xb5c0bb 0xb5c447 0xb5c788 0xb5d816 0xb5d63c 0xb752a5 0xb76531 0xb75b31 0xb759ef 0xb84e50 0xb836de 0x1286708 0x4a3a6a 0x498001 # 0xb5bc24 encoding/gob.overflow+0x3c4 encoding/gob/decode.go:109 # 0xb5bc02 encoding/gob.(*Decoder).compileDec+0x3a2 encoding/gob/decode.go:1164 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5941b encoding/gob.(*Decoder).decOpFor+0x4db encoding/gob/decode.go:894 # 0xb5c0ba encoding/gob.(*Decoder).compileDec+0x85a encoding/gob/decode.go:1176 # 0xb5c446 encoding/gob.(*Decoder).getDecEnginePtr+0x146 encoding/gob/decode.go:1195 # 0xb5c787 encoding/gob.(*Decoder).decodeValue+0xe7 encoding/gob/decode.go:1240 # 0xb5d815 encoding/gob.(*Decoder).DecodeValue+0x195 encoding/gob/decoder.go:231 # 0xb5d63b encoding/gob.(*Decoder).Decode+0xdb encoding/gob/decoder.go:206 # 0xb752a4 net/rpc.(*gobServerCodec).ReadRequestBody+0x24 net/rpc/server.go:407 # 0xb76530 net/rpc.(*Server).readRequest+0x190 net/rpc/server.go:568 # 0xb75b30 net/rpc.(*Server).ServeCodec+0x70 net/rpc/server.go:464 # 0xb759ee net/rpc.(*Server).ServeConn+0x34e net/rpc/server.go:455 # 0xb84e4f github.com/hashicorp/go-plugin.serve+0x10f github.com/hashicorp/go-plugin@v1.8.0/rpc_server.go:208 # 0xb836dd github.com/hashicorp/go-plugin.(*MuxBroker).AcceptAndServe+0xdd github.com/hashicorp/go-plugin@v1.8.0/mux_broker.go:90 # 0x1286707 github.com/mattermost/mattermost/server/public/plugin.(*hooksRPCClient).OnActivate.func1+0x87 github.com/mattermost/mattermost/server/public/plugin/client_rpc.go:306 # 0x4a3a69 sync.(*WaitGroup).Go.func1+0x49 sync/waitgroup.go:258 2: 48 [2: 48] @ 0x48dd05 0x428505 0x8ba4e5 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8ba4e4 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x204 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:20 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 48 [1: 48] @ 0x48dd05 0x428505 0x883d0d 0x883ccb 0x8838f0 0x882fc5 0x88269d 0x8812c5 0x89bf4a 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x883d0c text/template/parse.(*Tree).newAction+0x2ac text/template/parse/node.go:270 # 0x883cca text/template/parse.(*Tree).action+0x26a text/template/parse/parse.go:431 # 0x8838ef text/template/parse.(*Tree).textOrAction+0x22f text/template/parse/parse.go:387 # 0x882fc4 text/template/parse.(*Tree).parse+0x4c4 text/template/parse/parse.go:328 # 0x88269c text/template/parse.(*Tree).Parse+0x23c text/template/parse/parse.go:264 # 0x8812c4 text/template/parse.Parse+0x124 text/template/parse/parse.go:78 # 0x89bf49 text/template.(*Template).Parse+0x729 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 48 [1: 48] @ 0x48dd05 0x428505 0x8872f7 0x887284 0x88696a 0x886685 0x884ce9 0x883ce8 0x8838f0 0x882fc5 0x88269d 0x8812c5 0x89bf4a 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8872f6 text/template/parse.(*Tree).newField+0x1d6 text/template/parse/node.go:505 # 0x887283 text/template/parse.(*Tree).term+0x163 text/template/parse/parse.go:793 # 0x886969 text/template/parse.(*Tree).operand+0x29 text/template/parse/parse.go:739 # 0x886684 text/template/parse.(*Tree).command+0x124 text/template/parse/parse.go:709 # 0x884ce8 text/template/parse.(*Tree).pipeline+0xc48 text/template/parse/parse.go:515 # 0x883ce7 text/template/parse.(*Tree).action+0x287 text/template/parse/parse.go:431 # 0x8838ef text/template/parse.(*Tree).textOrAction+0x22f text/template/parse/parse.go:387 # 0x882fc4 text/template/parse.(*Tree).parse+0x4c4 text/template/parse/parse.go:328 # 0x88269c text/template/parse.(*Tree).Parse+0x23c text/template/parse/parse.go:264 # 0x8812c4 text/template/parse.Parse+0x124 text/template/parse/parse.go:78 # 0x89bf49 text/template.(*Template).Parse+0x729 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 48 [1: 48] @ 0x48dd05 0x428505 0x48dfda 0x48dfef 0x8ba1cf 0x8ba1a4 0x8ba26d 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8ba1ce text/template.(*Template).init+0xce text/template/template.go:74 # 0x8ba1a3 text/template.New+0xa3 text/template/template.go:43 # 0x8ba26c github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x16c github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 48 [1: 48] @ 0x48dd05 0x428505 0x1846910 0x184689c 0x19b879c 0x19b867d 0x19e448a 0x21e9385 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x184690f github.com/mattermost/squirrel.newPart+0xcf github.com/mattermost/squirrel@v0.5.0/part.go:14 # 0x184689b github.com/mattermost/squirrel.SelectBuilder.Columns+0x5b github.com/mattermost/squirrel@v0.5.0/select.go:260 # 0x19b879b github.com/mattermost/squirrel.StatementBuilderType.Select+0x1fb github.com/mattermost/squirrel@v0.5.0/statement.go:10 # 0x19b867c github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.newSqlRoleStore+0xdc github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/role_store.go:97 # 0x19e4489 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.New+0xe29 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:290 # 0x21e9384 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:293 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 64 [1: 64] @ 0x48dd2c 0x4930f3 0x7ab745 0x7ab59b 0x7abb8d 0x7affcd 0x7ae8f4 0x7bd4f0 0x7bd4eb 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x289fb0f 0x274ac7b 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7ab744 regexp/syntax.(*parser).maybeConcat+0xc4 regexp/syntax/parse.go:352 # 0x7ab59a regexp/syntax.(*parser).push+0x21a regexp/syntax/parse.go:322 # 0x7abb8c regexp/syntax.(*parser).op+0xcc regexp/syntax/parse.go:397 # 0x7affcc regexp/syntax.(*parser).parsePerlFlags+0x46c regexp/syntax/parse.go:1189 # 0x7ae8f3 regexp/syntax.parse+0x393 regexp/syntax/parse.go:936 # 0x7bd4ef regexp/syntax.Parse+0x2f regexp/syntax/parse.go:888 # 0x7bd4ea regexp.compile+0x2a regexp/regexp.go:168 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x289fb0e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitUser+0x230e github.com/mattermost/mattermost/server/v8/channels/api4/user.go:111 # 0x274ac7a github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22da github.com/mattermost/mattermost/server/v8/channels/api4/api.go:345 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 72 [3: 72] @ 0x48dd05 0x428505 0x8ba51a 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8ba519 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x239 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:48 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 112 [1: 112] @ 0x48dd05 0x428505 0x1cc4bcb 0x1cc4c48 0x1cccaef 0x2749d11 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1cc4bca github.com/gorilla/mux.copyRouteRegexp+0xaa github.com/gorilla/mux@v1.8.1/mux.go:123 # 0x1cc4c47 github.com/gorilla/mux.copyRouteConf+0x127 github.com/gorilla/mux@v1.8.1/mux.go:104 # 0x1cccaee github.com/gorilla/mux.(*Route).Subrouter+0xae github.com/gorilla/mux@v1.8.1/route.go:496 # 0x2749d10 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1370 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:270 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 144 [2: 288] @ 0x48dd05 0x428505 0x26c0ba8 0x26c0b40 0x28cbd2a 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26c0ba7 github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0x5c7 github.com/mattermost/mattermost/server/public/model/websocket_message.go:293 # 0x26c0b3f github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateThreadReadForUser+0x55f github.com/mattermost/mattermost/server/v8/channels/app/user.go:3173 # 0x28cbd29 github.com/mattermost/mattermost/server/v8/channels/api4.updateReadStateThreadByUser+0x809 github.com/mattermost/mattermost/server/v8/channels/api4/user.go:3808 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 144 [1: 144] @ 0x48dd05 0x428505 0x26ae62d 0x26ae5d3 0x26af705 0x26ae285 0x28b070e 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x26ae62c github.com/mattermost/mattermost/server/public/model.NewWebSocketEvent+0xec github.com/mattermost/mattermost/server/public/model/websocket_message.go:293 # 0x26ae5d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendUpdatedUserEvent+0x92 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1421 # 0x26af704 github.com/mattermost/mattermost/server/v8/channels/app.(*App).UpdateUser+0xaa4 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1575 # 0x26ae284 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PatchUser+0x64 github.com/mattermost/mattermost/server/v8/channels/app/user.go:1382 # 0x28b070d github.com/mattermost/mattermost/server/v8/channels/api4.patchUser+0xead github.com/mattermost/mattermost/server/v8/channels/api4/user.go:1589 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 160 [1: 160] @ 0x48dd2c 0x475974 0x475486 0x8837a5 0x88377f 0x882fc5 0x88269d 0x8812c5 0x89bf4a 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8837a4 text/template/parse.(*Tree).newText+0xe4 text/template/parse/node.go:136 # 0x88377e text/template/parse.(*Tree).textOrAction+0xbe text/template/parse/parse.go:383 # 0x882fc4 text/template/parse.(*Tree).parse+0x4c4 text/template/parse/parse.go:328 # 0x88269c text/template/parse.(*Tree).Parse+0x23c text/template/parse/parse.go:264 # 0x8812c4 text/template/parse.Parse+0x124 text/template/parse/parse.go:78 # 0x89bf49 text/template.(*Template).Parse+0x729 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 208 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x5fd80c 0x61dd05 0x61b973 0x604c05 0x6058a5 0x127530c 0x1251c07 0x1250519 0x124fee5 0x124f66c 0x124f66d 0x8114cb 0x805b22 0x80373a 0x806822 0x803657 0x189e7ff 0x19e4e3c 0x19e3947 0x21e9385 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x5fd80b internal/singleflight.(*Group).DoChan+0x20b internal/singleflight/singleflight.go:83 # 0x61dd04 net.(*Resolver).lookupIPAddr+0x344 net/lookup.go:334 # 0x61b972 net.(*Resolver).internetAddrList+0x4b2 net/ipsock.go:289 # 0x604c04 net.(*Resolver).resolveAddrList+0x3e4 net/dial.go:354 # 0x6058a4 net.(*Dialer).DialContext+0x1c4 net/dial.go:539 # 0x127530b github.com/lib/pq.defaultDialer.DialContext+0xab github.com/lib/pq@v1.12.3/conn.go:155 # 0x1251c06 github.com/lib/pq.dial+0x1e6 github.com/lib/pq@v1.12.3/conn.go:448 # 0x1250518 github.com/lib/pq.(*Connector).open+0x5d8 github.com/lib/pq@v1.12.3/conn.go:274 # 0x124fee4 github.com/lib/pq.DialOpen+0x84 github.com/lib/pq@v1.12.3/conn.go:243 # 0x124f66b github.com/lib/pq.Open+0x2b github.com/lib/pq@v1.12.3/conn.go:233 # 0x124f66c github.com/lib/pq.Driver.Open+0x2c github.com/lib/pq@v1.12.3/conn.go:82 # 0x8114ca database/sql.dsnConnector.Connect+0x2a database/sql/sql.go:809 # 0x805b21 database/sql.(*DB).conn+0x861 database/sql/sql.go:1431 # 0x803739 database/sql.(*DB).PingContext.func1+0x39 database/sql/sql.go:900 # 0x806821 database/sql.(*DB).retry+0x41 database/sql/sql.go:1576 # 0x803656 database/sql.(*DB).PingContext+0x76 database/sql/sql.go:899 # 0x189e7fe github.com/mattermost/mattermost/server/public/utils/sql.SetupConnection+0x53e github.com/mattermost/mattermost/server/public/utils/sql/sql_utils.go:46 # 0x19e4e3b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.(*SqlStore).initConnection+0x5b github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:328 # 0x19e3946 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore.New+0x2e6 github.com/mattermost/mattermost/server/v8/channels/store/sqlstore/store.go:216 # 0x21e9384 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x2c4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:293 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 208 [1: 208] @ 0x48dd05 0x48defe 0x48df93 0x411a45 0x411a38 0x417cd9 0x89c130 0x89ae67 0x89c025 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x89c12f text/template.(*Template).associate+0xaf text/template/template.go:234 # 0x89ae66 text/template.(*Template).AddParseTree+0x306 text/template/template.go:136 # 0x89c024 text/template.(*Template).Parse+0x804 text/template/template.go:215 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 240 [3: 240] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 240 [1: 240] @ 0x48dd2c 0x4752f7 0x54aa89 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x5481bb 0x547674 0x549145 0x54763e 0x549145 0x54763e 0x546e9e 0x55a01f 0xc407f0 0x25e38a5 0x25cbc1b 0x25c940f 0x25c89b7 0x498001 # 0x54aa88 encoding/json.(*decodeState).literalStore+0xac8 encoding/json/decode.go:958 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x55a01e encoding/json.(*Decoder).Decode+0x15e encoding/json/stream.go:75 # 0xc407ef github.com/mattermost/mattermost/server/public/model.FindManifest+0x50f github.com/mattermost/mattermost/server/public/model/manifest.go:491 # 0x25e38a4 github.com/mattermost/mattermost/server/v8/channels/app.extractPlugin+0x264 github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:417 # 0x25cbc1a github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).buildPrepackagedPlugin+0x19a github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1211 # 0x25c940e github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x52e github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1010 # 0x25c89b6 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugins.func2+0x96 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:954 1: 256 [3: 768] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf037c 0xbf0361 0xbefcb3 0xbefcb4 0xbf0cea 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf037b github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x13b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf0360 github.com/vmihailenco/msgpack/v5.(*Encoder).write8+0x120 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:203 # 0xbefcb2 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeInt64+0x32 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:96 # 0xbefcb3 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeInt64Cond+0x33 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:103 # 0xbf0ce9 github.com/vmihailenco/msgpack/v5.encodeInt64CondValue+0x69 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_number.go:243 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 4: 256 [4: 256] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 7: 336 [7: 336] @ 0x48dd2c 0x4752f7 0x54ad65 0x547714 0x549145 0x54763e 0x5481bb 0x547674 0x546e9e 0x546a79 0x8f8fb1 0x8f893e 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x54ad64 encoding/json.(*decodeState).literalStore+0xda4 encoding/json/decode.go:965 # 0x547713 encoding/json.(*decodeState).value+0x113 encoding/json/decode.go:394 # 0x549144 encoding/json.(*decodeState).object+0xd64 encoding/json/decode.go:767 # 0x54763d encoding/json.(*decodeState).value+0x3d encoding/json/decode.go:380 # 0x5481ba encoding/json.(*decodeState).array+0x4da encoding/json/decode.go:561 # 0x547673 encoding/json.(*decodeState).value+0x73 encoding/json/decode.go:370 # 0x546e9d encoding/json.(*decodeState).unmarshal+0x11d encoding/json/decode.go:183 # 0x546a78 encoding/json.Unmarshal+0xf8 encoding/json/decode.go:113 # 0x8f8fb0 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 # 0x8f893d github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x27d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:109 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 352 [1: 352] @ 0x48dd05 0x493087 0xb78fe5 0xb77a77 0x12f294d 0x12e45a5 0x12e4c4d 0x25e4bad 0x25c9775 0x25c89b7 0x498001 # 0xb78fe4 github.com/hashicorp/go-plugin.(*Client).Start+0xb24 github.com/hashicorp/go-plugin@v1.8.0/client.go:658 # 0xb77a76 github.com/hashicorp/go-plugin.(*Client).Client+0x36 github.com/hashicorp/go-plugin@v1.8.0/client.go:446 # 0x12f294c github.com/mattermost/mattermost/server/public/plugin.newSupervisor+0xc4c github.com/mattermost/mattermost/server/public/plugin/supervisor.go:134 # 0x12e45a4 github.com/mattermost/mattermost/server/public/plugin.(*Environment).startPluginServer+0xa4 github.com/mattermost/mattermost/server/public/plugin/environment.go:284 # 0x12e4c4c github.com/mattermost/mattermost/server/public/plugin.(*Environment).Activate+0x52c github.com/mattermost/mattermost/server/public/plugin/environment.go:368 # 0x25e4bac github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).installExtractedPlugin+0x100c github.com/mattermost/mattermost/server/v8/channels/app/plugin_install.go:509 # 0x25c9774 github.com/mattermost/mattermost/server/v8/channels/app.(*Channels).processPrepackagedPlugin+0x894 github.com/mattermost/mattermost/server/v8/channels/app/plugin.go:1030 # 0x25c89b6 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] @ 0x48dd05 0x492ae9 0x7bb33d 0x7bd165 0x7bd54f 0x1cc93b3 0x1cc9352 0x1ccb825 0x1cc7259 0x1cc7212 0x2749015 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb33c regexp.onePassCopy+0x3c regexp/onepass.go:226 # 0x7bd164 regexp.compileOnePass+0x1a4 regexp/onepass.go:499 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc93b2 regexp.Compile+0x652 regexp/regexp.go:131 # 0x1cc9351 github.com/gorilla/mux.newRouteRegexp+0x5f1 github.com/gorilla/mux@v1.8.1/regexp.go:96 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc7258 github.com/gorilla/mux.(*Route).PathPrefix+0x258 github.com/gorilla/mux@v1.8.1/route.go:380 # 0x1cc7211 github.com/gorilla/mux.(*Router).PathPrefix+0x211 github.com/gorilla/mux@v1.8.1/mux.go:338 # 0x2749014 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x674 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:219 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 896 [12: 10752] @ 0x48dd0c 0x428505 0x790a9e 0x790a92 0x791a9c 0x790332 0x790175 0x498001 # 0x790a9d crypto/tls.Client+0x11d crypto/tls/tls.go:60 # 0x790a91 net/http.(*persistConn).addTLS+0x111 net/http/transport.go:1724 # 0x791a9b net/http.(*Transport).dialConn+0x9fb net/http/transport.go:1825 # 0x790331 net/http.(*Transport).dialConnFor+0xd1 net/http/transport.go:1648 # 0x790174 net/http.(*Transport).startDialConnForLocked.func1+0x34 net/http/transport.go:1629 1: 1024 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119015 0x258127d 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2119014 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 # 0x258127c github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func4+0x7c github.com/mattermost/mattermost/server/v8/channels/app/notification.go:90 1: 1024 [1: 1024] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7c87 0xbf144f 0xbf143a 0xbf1525 0xbf14c9 0xbef619 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2120ccd 0x263a243 0x261faee 0x261cd26 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7c86 bytes.(*Buffer).WriteByte+0x46 bytes/buffer.go:307 # 0xbf144e github.com/vmihailenco/msgpack/v5.(*Encoder).writeCode+0x8e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:259 # 0xbf1439 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeStringLen+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:56 # 0xbf1524 github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x24 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:75 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbef618 github.com/vmihailenco/msgpack/v5.encodeStructValue+0x138 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:204 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x2120ccc 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 # 0x263a242 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetReactionsForPost+0x62 github.com/mattermost/mattermost/server/v8/channels/app/reaction.go:120 # 0x261faed github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmojisAndReactionsForPost+0x4d github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:527 # 0x261cd25 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x1a5 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:208 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 1152 [1: 1152] @ 0x48dd0c 0x48defe 0x48df93 0x411a45 0x411a38 0x415d72 0x235bc32 0x4680f5 0x4586b0 0x458687 0x498001 # 0x235bc31 github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints.init+0x2b1 github.com/aws/aws-sdk-go-v2/service/sts@v1.42.1/internal/endpoints/endpoints.go:111 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 1408 [1: 1408] @ 0x48dd0c 0x493087 0x7aa99b 0x7aa9e0 0x7a8f19 0x7a9e0f 0x7a9d2d 0x7a98e6 0x7a9e0f 0x7a8acb 0x7bd537 0x7be04c 0x7be040 0x1cd78b9 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7a8f18 regexp/syntax.(*compiler).compile+0x2b8 regexp/syntax/compile.go:110 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a9d2c regexp/syntax.(*compiler).compile+0x10cc regexp/syntax/compile.go:154 # 0x7a98e5 regexp/syntax.(*compiler).compile+0xc85 regexp/syntax/compile.go:129 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x1cd78b8 github.com/microcosm-cc/bluemonday/css.init+0x238 github.com/microcosm-cc/bluemonday@v1.0.27/css/handlers.go:294 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 1408 [1: 1408] @ 0x48dd0c 0x493087 0x7aa99b 0x7aa9e0 0x7aa025 0x7a9e0f 0x7a8acb 0x7bd537 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc7259 0x1cc7212 0x2749f25 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7aa024 regexp/syntax.(*compiler).compile+0x13c4 regexp/syntax/compile.go:101 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc7258 github.com/gorilla/mux.(*Route).PathPrefix+0x258 github.com/gorilla/mux@v1.8.1/route.go:380 # 0x1cc7211 github.com/gorilla/mux.(*Router).PathPrefix+0x211 github.com/gorilla/mux@v1.8.1/mux.go:338 # 0x2749f24 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1584 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:277 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 5: 1440 [5: 1440] @ 0x48dd05 0x428505 0x881209 0x8811fd 0x89bf4a 0x8ba27e 0x8ba4f9 0x8ba4ca 0x8f915d 0x8f8a3c 0x8f85ba 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x881208 text/template/parse.New+0x68 text/template/parse/parse.go:144 # 0x8811fc text/template/parse.Parse+0x5c text/template/parse/parse.go:76 # 0x89bf49 text/template.(*Template).Parse+0x729 text/template/template.go:208 # 0x8ba27d github.com/mattermost/go-i18n/i18n/translation.(*template).parseTemplate+0x17d github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:59 # 0x8ba4f8 github.com/mattermost/go-i18n/i18n/translation.newTemplate+0x218 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/template.go:21 # 0x8ba4c9 github.com/mattermost/go-i18n/i18n/translation.NewTranslation+0x1e9 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/translation/translation.go:44 # 0x8f915c 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 # 0x8f8a3b github.com/mattermost/go-i18n/i18n/bundle.parseTranslations+0x37b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:112 # 0x8f85b9 github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x159 github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:75 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 1536 [1: 1536] @ 0x48dd0c 0x428505 0x658785 0x659b9d 0x64cc30 0x4a240c 0x64cbe5 0x64cbb7 0x64bcd3 0x64bc8c 0x65ebfc 0x65f314 0x65ee41 0x65dfd0 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x658784 crypto/x509.parseCertificate+0x44 crypto/x509/parser.go:887 # 0x659b9c crypto/x509.ParseCertificate+0x1c crypto/x509/parser.go:1077 # 0x64cc2f crypto/x509.(*CertPool).AppendCertsFromPEM.func1.1+0x2f crypto/x509/cert_pool.go:242 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x64cbe4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x64cbb6 crypto/x509.(*CertPool).AppendCertsFromPEM.func1+0x16 crypto/x509/cert_pool.go:240 # 0x64bcd2 crypto/x509.(*CertPool).cert+0x192 crypto/x509/cert_pool.go:82 # 0x64bc8b crypto/x509.(*CertPool).findPotentialParents+0x14b crypto/x509/cert_pool.go:145 # 0x65ebfb crypto/x509.(*Certificate).buildChains+0x5b crypto/x509/verify.go:787 # 0x65f313 crypto/x509.(*Certificate).buildChains.func1+0x773 crypto/x509/verify.go:777 # 0x65ee40 crypto/x509.(*Certificate).buildChains+0x2a0 crypto/x509/verify.go:791 # 0x65dfcf crypto/x509.(*Certificate).Verify+0x34f crypto/x509/verify.go:600 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 1: 1792 [1: 1792] @ 0x48dd2c 0x492ae9 0x5e0e05 0x64c71b 0x65b56a 0x65b1e5 0x4a240c 0x65b0a5 0x65b088 0x65de0b 0x6b2b0e 0x6b6f5a 0x6b410c 0x6ad988 0x6a4aa9 0x790fae 0x790fa9 0x498001 # 0x5e0e04 encoding/pem.Decode+0x8e4 encoding/pem/pem.go:185 # 0x64c71a crypto/x509.(*CertPool).AppendCertsFromPEM+0x5a crypto/x509/cert_pool.go:222 # 0x65b569 crypto/x509.loadSystemRoots+0x1c9 crypto/x509/root_unix.go:44 # 0x65b1e4 crypto/x509.initSystemRoots+0x64 crypto/x509/root.go:43 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x65b0a4 sync.(*Once).Do+0x44 sync/once.go:69 # 0x65b087 crypto/x509.systemRootsPool+0x27 crypto/x509/root.go:32 # 0x65de0a crypto/x509.(*Certificate).Verify+0x18a crypto/x509/verify.go:578 # 0x6b2b0d crypto/tls.(*Conn).verifyServerCertificate+0xb0d crypto/tls/handshake_client.go:1158 # 0x6b6f59 crypto/tls.(*clientHandshakeStateTLS13).readServerCertificate+0x299 crypto/tls/handshake_client_tls13.go:635 # 0x6b410b crypto/tls.(*clientHandshakeStateTLS13).handshake+0x76b crypto/tls/handshake_client_tls13.go:136 # 0x6ad987 crypto/tls.(*Conn).clientHandshake+0x827 crypto/tls/handshake_client.go:339 # 0x6a4aa8 crypto/tls.(*Conn).handshakeContext+0x328 crypto/tls/conn.go:1562 # 0x790fad crypto/tls.(*Conn).HandshakeContext+0x6d crypto/tls/conn.go:1516 # 0x790fa8 net/http.(*persistConn).addTLS.func2+0x68 net/http/transport.go:1736 1: 2048 [1: 2048] @ 0x48dd0c 0x492ae9 0x7bb33d 0x7bd165 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x281b26f 0x274aca5 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb33c regexp.onePassCopy+0x3c regexp/onepass.go:226 # 0x7bd164 regexp.compileOnePass+0x1a4 regexp/onepass.go:499 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x281b26e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitPost+0xc6e github.com/mattermost/mattermost/server/v8/channels/api4/post.go:55 # 0x274aca4 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x2304 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:349 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 2048 [1: 2048] @ 0x48dd0c 0x428505 0x45c511 0x45d055 0x45d710 0x49068c 0x45fd7e 0x4602a7 0x4606c5 0x4963b5 # 0x48dd0b runtime.mallocgc+0xab runtime/malloc.go:1152 # 0x428504 runtime.newobject+0x24 runtime/malloc.go:2157 # 0x45c510 runtime.allocm+0x90 runtime/proc.go:2324 # 0x45d054 runtime.newm+0x34 runtime/proc.go:2870 # 0x45d70f runtime.startm+0x12f runtime/proc.go:3096 # 0x49068b runtime.wakep+0xeb runtime/proc.go:3243 # 0x45fd7d runtime.resetspinning+0x3d runtime/proc.go:4034 # 0x4602a6 runtime.schedule+0x126 runtime/proc.go:4199 # 0x4606c4 runtime.park_m+0x284 runtime/proc.go:4304 # 0x4963b4 runtime.mcall+0x54 runtime/asm_amd64.s:496 1: 2048 [1: 2048] @ 0x48dd0c 0x428505 0x45c511 0x45d055 0x45d710 0x49068c 0x45fd7e 0x4602a7 0x45bd4d 0x45bc55 0x49632c # 0x48dd0b runtime.mallocgc+0xab runtime/malloc.go:1152 # 0x428504 runtime.newobject+0x24 runtime/malloc.go:2157 # 0x45c510 runtime.allocm+0x90 runtime/proc.go:2324 # 0x45d054 runtime.newm+0x34 runtime/proc.go:2870 # 0x45d70f runtime.startm+0x12f runtime/proc.go:3096 # 0x49068b runtime.wakep+0xeb runtime/proc.go:3243 # 0x45fd7d runtime.resetspinning+0x3d runtime/proc.go:4034 # 0x4602a6 runtime.schedule+0x126 runtime/proc.go:4199 # 0x45bd4c runtime.mstart1+0xcc runtime/proc.go:1942 # 0x45bc54 runtime.mstart0+0x74 runtime/proc.go:1888 # 0x49632b runtime.mstart+0xb runtime/asm_amd64.s:426 1: 2048 [2: 4096] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf1604 0xbf1605 0xbf0fe5 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x2824c2d 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf1603 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf1604 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xbf0fe4 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x2824c2c github.com/mattermost/mattermost/server/v8/channels/api4.getPostThread+0xa0c github.com/mattermost/mattermost/server/v8/channels/api4/post.go:895 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 2304 [1: 2304] @ 0x48dd2c 0x492ae9 0x707448 0x70679c 0x4680f5 0x4586b0 0x458687 0x498001 # 0x707447 compress/flate.(*huffmanEncoder).generate+0x47 compress/flate/huffman_code.go:277 # 0x70679b compress/flate.init.0+0xdb compress/flate/huffman_bit_writer.go:606 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 2688 [1: 2688] @ 0x48dd0c 0x492ae9 0x7bb33d 0x7bd165 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc7259 0x1cc7212 0x274a705 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb33c regexp.onePassCopy+0x3c regexp/onepass.go:226 # 0x7bd164 regexp.compileOnePass+0x1a4 regexp/onepass.go:499 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc7258 github.com/gorilla/mux.(*Route).PathPrefix+0x258 github.com/gorilla/mux@v1.8.1/route.go:380 # 0x1cc7211 github.com/gorilla/mux.(*Router).PathPrefix+0x211 github.com/gorilla/mux@v1.8.1/mux.go:338 # 0x274a704 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x1d64 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:319 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 3072 [1: 3072] @ 0x48dd0c 0x493087 0x7aa99b 0x7aa9e0 0x7aa025 0x7a9e0f 0x7a8acb 0x7bd537 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x2755b0f 0x274ac99 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7aa99a regexp/syntax.(*compiler).inst+0x9a regexp/syntax/compile.go:164 # 0x7aa9df regexp/syntax.(*compiler).rune+0xdf regexp/syntax/compile.go:273 # 0x7aa024 regexp/syntax.(*compiler).compile+0x13c4 regexp/syntax/compile.go:101 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x2755b0e github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitChannel+0x32e github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:38 # 0x274ac98 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22f8 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:348 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 3072 [1: 3072] @ 0x48dd0c 0x492ae9 0x7bb33d 0x7bd165 0x7bd54f 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x280f107 0x274ae8f 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7bb33c regexp.onePassCopy+0x3c regexp/onepass.go:226 # 0x7bd164 regexp.compileOnePass+0x1a4 regexp/onepass.go:499 # 0x7bd54e regexp.compile+0x8e regexp/regexp.go:187 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x280f106 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitOutgoingOAuthConnection+0x1a6 github.com/mattermost/mattermost/server/v8/channels/api4/outgoing_oauth_connection.go:26 # 0x274ae8e github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x24ee github.com/mattermost/mattermost/server/v8/channels/api4/api.go:395 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 3072 [1: 3072] @ 0x48dd0c 0x493087 0x7aa6a6 0x7aa6e5 0x7a9b45 0x7a9afc 0x7a9e0f 0x7a8acb 0x7bd537 0x7be04c 0x7be040 0x22f330e 0x4680f5 0x4586b0 0x458687 0x498001 # 0x7aa6a5 regexp/syntax.(*compiler).inst+0x85 regexp/syntax/compile.go:164 # 0x7aa6e4 regexp/syntax.(*compiler).loop+0xc4 regexp/syntax/compile.go:239 # 0x7a9b44 regexp/syntax.(*compiler).plus+0xee4 regexp/syntax/compile.go:262 # 0x7a9afb regexp/syntax.(*compiler).compile+0xe9b regexp/syntax/compile.go:135 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x7be04b regexp.Compile+0x2b regexp/regexp.go:131 # 0x7be03f regexp.MustCompile+0x1f regexp/regexp.go:311 # 0x22f330d github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints.init+0x2d github.com/aws/aws-sdk-go-v2/service/sso@v1.30.17/internal/endpoints/endpoints.go:98 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 3072 [1: 3072] @ 0x48dd0c 0x493087 0x7a9971 0x7a99b9 0x7a98ff 0x7a9e0f 0x7a8acb 0x7bd537 0x1cc9712 0x1cc96f9 0x1ccb825 0x1cc5e08 0x1cc5dc3 0x27572a7 0x274ac99 0x292c34d 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x7a9970 regexp/syntax.(*compiler).inst+0xd10 regexp/syntax/compile.go:164 # 0x7a99b8 regexp/syntax.(*compiler).cap+0xd58 regexp/syntax/compile.go:179 # 0x7a98fe regexp/syntax.(*compiler).compile+0xc9e regexp/syntax/compile.go:130 # 0x7a9e0e regexp/syntax.(*compiler).compile+0x11ae regexp/syntax/compile.go:147 # 0x7a8aca regexp/syntax.Compile+0x12a regexp/syntax/compile.go:74 # 0x7bd536 regexp.compile+0x76 regexp/regexp.go:176 # 0x1cc9711 regexp.Compile+0x9b1 regexp/regexp.go:131 # 0x1cc96f8 github.com/gorilla/mux.newRouteRegexp+0x998 github.com/gorilla/mux@v1.8.1/regexp.go:128 # 0x1ccb824 github.com/gorilla/mux.(*Route).addRegexpMatcher+0x144 github.com/gorilla/mux@v1.8.1/route.go:196 # 0x1cc5e07 github.com/gorilla/mux.(*Route).Path+0x267 github.com/gorilla/mux@v1.8.1/route.go:364 # 0x1cc5dc2 github.com/gorilla/mux.(*Router).Handle+0x222 github.com/gorilla/mux@v1.8.1/mux.go:295 # 0x27572a6 github.com/mattermost/mattermost/server/v8/channels/api4.(*API).InitChannel+0x1ac6 github.com/mattermost/mattermost/server/v8/channels/api4/channel.go:95 # 0x274ac98 github.com/mattermost/mattermost/server/v8/channels/api4.Init+0x22f8 github.com/mattermost/mattermost/server/v8/channels/api4/api.go:348 # 0x292c34c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0x10c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:95 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 4096 [1: 4096] @ 0x48dd0c 0x493087 0xb6609a 0xb6654c 0xb6633e 0xb65128 0xb66005 0xb6654c 0xb6633e 0xb65128 0xb66005 0xb6654c 0xb6633e 0xb666cd 0xb67b1d 0xb67548 0xb75432 0xb74c1f 0xb750d1 0x498001 # 0xb66099 encoding/gob.compileEnc+0x3d9 encoding/gob/encode.go:611 # 0xb6654b encoding/gob.buildEncEngine+0x1ab encoding/gob/encode.go:652 # 0xb6633d encoding/gob.getEncEngine+0x3d encoding/gob/encode.go:634 # 0xb65127 encoding/gob.encOpFor+0x2e7 encoding/gob/encode.go:543 # 0xb66004 encoding/gob.compileEnc+0x344 encoding/gob/encode.go:610 # 0xb6654b encoding/gob.buildEncEngine+0x1ab encoding/gob/encode.go:652 # 0xb6633d encoding/gob.getEncEngine+0x3d encoding/gob/encode.go:634 # 0xb65127 encoding/gob.encOpFor+0x2e7 encoding/gob/encode.go:543 # 0xb66004 encoding/gob.compileEnc+0x344 encoding/gob/encode.go:610 # 0xb6654b encoding/gob.buildEncEngine+0x1ab encoding/gob/encode.go:652 # 0xb6633d encoding/gob.getEncEngine+0x3d encoding/gob/encode.go:634 # 0xb666cc encoding/gob.(*Encoder).encode+0x8c encoding/gob/encode.go:660 # 0xb67b1c encoding/gob.(*Encoder).EncodeValue+0x3fc encoding/gob/encoder.go:251 # 0xb67547 encoding/gob.(*Encoder).Encode+0x67 encoding/gob/encoder.go:176 # 0xb75431 net/rpc.(*gobServerCodec).WriteResponse+0x151 net/rpc/server.go:420 # 0xb74c1e net/rpc.(*Server).sendResponse+0x15e net/rpc/server.go:359 # 0xb750d0 net/rpc.(*service).call+0x2b0 net/rpc/server.go:390 1: 5376 [1: 5376] @ 0x48dd2c 0x4930f3 0x52de1f 0x52dde7 0x52eb75 0x53185d 0x533e25 0x534fed 0x53391d 0x5363ac 0x5304d1 0x20c7225 0x20c61c9 0x20c4429 0x20f8e4a 0x1cc5382 0x20fdff6 0x79b3ee 0x779e50 0x498001 # 0x52de1e fmt.(*buffer).write+0x7e fmt/print.go:104 # 0x52dde6 fmt.(*fmt).pad+0x46 fmt/format.go:95 # 0x52eb74 fmt.(*fmt).fmtInteger+0x374 fmt/format.go:322 # 0x53185c fmt.(*pp).fmtInteger+0x11c fmt/print.go:431 # 0x533e24 fmt.(*pp).printValue+0x3c4 fmt/print.go:795 # 0x534fec fmt.(*pp).printValue+0x158c fmt/print.go:911 # 0x53391c fmt.(*pp).printArg+0x49c fmt/print.go:760 # 0x5363ab fmt.(*pp).doPrintf+0x3eb fmt/print.go:1075 # 0x5304d0 fmt.Fprintf+0x70 fmt/print.go:224 # 0x20c7224 runtime/pprof.writeHeapInternal+0x1024 runtime/pprof/pprof.go:745 # 0x20c61c8 runtime/pprof.writeAlloc+0x28 runtime/pprof/pprof.go:628 # 0x20c4428 runtime/pprof.(*Profile).WriteTo+0x148 runtime/pprof/pprof.go:408 # 0x20f8e49 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:273 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x20fdff5 github.com/gorilla/handlers.recoveryHandler.ServeHTTP+0xd5 github.com/gorilla/handlers@v1.5.2/recovery.go:80 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 12288 [1: 12288] @ 0x48dd0c 0x492ae9 0xb48867 0x4680f5 0x4586b0 0x458687 0x498001 # 0xb48866 google.golang.org/protobuf/types/descriptorpb.init+0x1ae6 google.golang.org/protobuf@v1.36.11/types/descriptorpb/descriptor.pb.go:5074 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 7: 14336 [18: 36864] @ 0x48dd2c 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf1604 0xbf1605 0xbf0fe5 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf1603 github.com/vmihailenco/msgpack/v5.(*Encoder).write+0x63 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:263 # 0xbf1604 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeBytes+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:88 # 0xbf0fe4 github.com/vmihailenco/msgpack/v5.encodeByteSliceValue+0x64 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:17 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136405 0x11363a2 0x11366c9 0x211ae12 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136404 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x204 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11363a1 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRUStriped+0x1a1 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:153 # 0x11366c8 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x128 github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:54 # 0x211ae11 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x1291 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:367 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x2739a1d 0x27399b5 0x4680f5 0x4586b0 0x458687 0x498001 # 0x2739a1c github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x15c github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x27399b4 github.com/mattermost/mattermost/server/v8/channels/api4.init+0xf4 github.com/mattermost/mattermost/server/v8/channels/api4/system.go:37 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211b1bd 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211b1bc github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x163c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:412 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x133ea9e 0x4a240c 0x13395cc 0x13395af 0x137ba2b 0x137ba26 0x137a9cf 0x1376dc8 0x134538e 0x13453e5 0x13453e5 0x1376bcd 0x1376a3b 0x137d9e4 0x138fe26 0x1cfd499 0x1cfc16a 0x258c464 0x258c418 0x258cb0a 0x257f730 0x21d4da2 0x498001 # 0x133ea9d github.com/yuin/goldmark/util.buildHTML5Entities.func1+0x3d github.com/yuin/goldmark@v1.8.2/util/html5entities.go:15 # 0x4a240b sync.(*Once).doSlow+0xab sync/once.go:78 # 0x13395cb sync.(*Once).Do+0x2b sync/once.go:69 # 0x13395ae github.com/yuin/goldmark/util.buildHTML5Entities+0xe github.com/yuin/goldmark@v1.8.2/util/html5entities.go:13 # 0x137ba2a github.com/yuin/goldmark/util.LookUpHTML5EntityByName+0x3aa github.com/yuin/goldmark@v1.8.2/util/html5entities.go:44 # 0x137ba25 github.com/yuin/goldmark/renderer/html.(*defaultWriter).Write+0x3a5 github.com/yuin/goldmark@v1.8.2/renderer/html/html.go:910 # 0x137a9ce github.com/yuin/goldmark/renderer/html.(*Renderer).renderText+0x18e github.com/yuin/goldmark@v1.8.2/renderer/html/html.go:670 # 0x1376dc7 github.com/yuin/goldmark/renderer.(*renderer).Render.func2+0xc7 github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:166 # 0x134538d github.com/yuin/goldmark/ast.walkHelper+0x2d github.com/yuin/goldmark@v1.8.2/ast/ast.go:543 # 0x13453e4 github.com/yuin/goldmark/ast.walkHelper+0x84 github.com/yuin/goldmark@v1.8.2/ast/ast.go:549 # 0x13453e4 github.com/yuin/goldmark/ast.walkHelper+0x84 github.com/yuin/goldmark@v1.8.2/ast/ast.go:549 # 0x1376bcc github.com/yuin/goldmark/ast.Walk+0x20c github.com/yuin/goldmark@v1.8.2/ast/ast.go:538 # 0x1376a3a github.com/yuin/goldmark/renderer.(*renderer).Render+0x7a github.com/yuin/goldmark@v1.8.2/renderer/renderer.go:161 # 0x137d9e3 github.com/yuin/goldmark.(*markdown).Convert+0xc3 github.com/yuin/goldmark@v1.8.2/markdown.go:118 # 0x138fe25 github.com/mattermost/mattermost/server/v8/channels/utils.MarkdownToHTML+0x165 github.com/mattermost/mattermost/server/v8/channels/utils/markdown.go:74 # 0x1cfd498 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).prepareNotificationMessageForEmail+0x78 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:144 # 0x1cfc169 github.com/mattermost/mattermost/server/v8/channels/app/email.(*Service).GetMessageForNotification+0x3a9 github.com/mattermost/mattermost/server/v8/channels/app/email/notification_email.go:32 # 0x258c463 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetMessageForNotification+0x1463 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:344 # 0x258c417 github.com/mattermost/mattermost/server/v8/channels/app.(*App).buildEmailNotification+0x1417 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:99 # 0x258cb09 github.com/mattermost/mattermost/server/v8/channels/app.(*App).sendNotificationEmail+0x149 github.com/mattermost/mattermost/server/v8/channels/app/notification_email.go:173 # 0x257f72f github.com/mattermost/mattermost/server/v8/channels/app.(*App).SendNotifications.func8+0xef github.com/mattermost/mattermost/server/v8/channels/app/notification.go:438 # 0x21d4da1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).Go.func1+0x21 github.com/mattermost/mattermost/server/v8/channels/app/platform/goroutines.go:17 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1b14c85 0x1b13cd7 0x4680f5 0x4586b0 0x458687 0x498001 # 0x1b14c84 github.com/bep/imagemeta.map.init.1+0x24 github.com/bep/imagemeta@v0.12.0/metadecoder_exif_fields.go:9 # 0x1b13cd6 github.com/bep/imagemeta.init+0xcf6 github.com/bep/imagemeta@v0.12.0/metadecoder_exif_fields.go:9 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211ac4a 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211ac49 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x10c9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:348 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a5e9 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a5e8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xa68 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:269 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211aec6 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211aec5 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x1345 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:378 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x2119d7f 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x2119d7e github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x1fe github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:172 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 27264 [1: 27264] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x21c8337 0x21c82d3 0x4680f5 0x4586b0 0x458687 0x498001 # 0x21c8336 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x76 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x21c82d2 github.com/mattermost/mattermost/server/v8/channels/app/platform.init+0x12 github.com/mattermost/mattermost/server/v8/channels/app/platform/link_cache.go:15 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 28672 [1: 28672] @ 0x48dd2c 0x4752f7 0x8ac38c 0x8ac5f6 0x1397855 0x139780e 0x265a98d 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8ac38b html/template.parseFiles+0x12b html/template/template.go:414 # 0x8ac5f5 html/template.parseGlob+0xf5 html/template/template.go:477 # 0x1397854 html/template.ParseGlob+0x74 html/template/template.go:448 # 0x139780d github.com/mattermost/mattermost/server/v8/platform/shared/templates.New+0x2d github.com/mattermost/mattermost/server/v8/platform/shared/templates/templates.go:43 # 0x265a98c github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x23cc github.com/mattermost/mattermost/server/v8/channels/app/server.go:426 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 40960 [1: 40960] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x117c58f 0x117c583 0x117c5bd 0x4680f5 0x4586b0 0x458687 0x498001 # 0x117c58e github.com/olekukonko/tablewriter/pkg/twcache.NewLRUEvict[...]+0x4e github.com/olekukonko/tablewriter@v1.1.4/pkg/twcache/lru.go:54 # 0x117c582 github.com/olekukonko/tablewriter/pkg/twcache.NewLRU[...]+0x42 github.com/olekukonko/tablewriter@v1.1.4/pkg/twcache/lru.go:39 # 0x117c5bc github.com/olekukonko/tablewriter/pkg/twwidth.init.0+0x7c github.com/olekukonko/tablewriter@v1.1.4/pkg/twwidth/width.go:55 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 40960 [1: 40960] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xbf9305 0xca44ce 0x4680f5 0x4586b0 0x458687 0x498001 # 0xbf9304 github.com/mattermost/mattermost/server/public/model.map.init.2+0x24 github.com/mattermost/mattermost/server/public/model/emoji_data.go:8 # 0xca44cd github.com/mattermost/mattermost/server/public/model.init+0x4ed github.com/mattermost/mattermost/server/public/model/emoji_data.go:8 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 40960 [1: 40960] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0xb86145 0xb86108 0x4680f5 0x4586b0 0x458687 0x498001 # 0xb86144 github.com/mattermost/mattermost/server/public/shared/markdown.map.init.0+0x24 github.com/mattermost/mattermost/server/public/shared/markdown/html_entities.go:7 # 0xb86107 github.com/mattermost/mattermost/server/public/shared/markdown.init+0x1e7 github.com/mattermost/mattermost/server/public/shared/markdown/html_entities.go:7 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 1: 49152 [1: 49152] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x414dee 0x414d70 0x417d91 0xc2f04a 0xca44d3 0x4680f5 0x4586b0 0x458687 0x498001 # 0xc2f049 github.com/mattermost/mattermost/server/public/model.makeReverseEmojiMap+0x149 github.com/mattermost/mattermost/server/public/model/emoji.go:55 # 0xca44d2 github.com/mattermost/mattermost/server/public/model.init+0x4f2 github.com/mattermost/mattermost/server/public/model/emoji.go:61 # 0x4680f4 runtime.doInit1+0xd4 runtime/proc.go:8103 # 0x4586af runtime.doInit+0x26f runtime/proc.go:8070 # 0x458686 runtime.main+0x246 runtime/proc.go:258 2: 54528 [2: 54528] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x2119f29 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x2119f28 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x3a8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:193 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 2: 54528 [2: 54528] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a689 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a688 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xb08 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:277 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a909 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a908 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xd88 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:310 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211b42e 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211b42d github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x18ad github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:438 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211b4bb 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211b4ba github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x193a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:445 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211b122 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211b121 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x15a1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:404 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a54b 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a54a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x9ca github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:261 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136405 0x11363a2 0x11366c9 0x21e81b9 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136404 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x204 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11363a1 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRUStriped+0x1a1 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:153 # 0x11366c8 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x128 github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:54 # 0x21e81b8 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1eb8 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:354 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a729 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a728 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xba8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:285 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136405 0x11363a2 0x11366c9 0x2119e8b 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136404 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x204 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11363a1 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRUStriped+0x1a1 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:153 # 0x11366c8 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x128 github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:54 # 0x2119e8a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x30a github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:183 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a12a 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a129 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x5a9 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:215 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a7c9 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a7c8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xc48 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:294 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 3: 81792 [3: 81792] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211aa07 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211aa06 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xe86 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:321 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 90112 [2: 180224] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281f3b7 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281f3b6 github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannelAroundLastUnread+0x836 github.com/mattermost/mattermost/server/v8/channels/api4/post.go:412 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 4: 109056 [4: 109056] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136405 0x11363a2 0x11366c9 0x21e8059 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136404 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x204 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11363a1 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRUStriped+0x1a1 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru_striped.go:153 # 0x11366c8 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x128 github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:54 # 0x21e8058 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1d58 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:343 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 4: 109056 [4: 109056] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a869 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a868 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0xce8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:302 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 4: 109056 [4: 109056] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211a227 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211a226 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x6a6 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:226 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 4: 109056 [4: 109056] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211b39c 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211b39b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x181b github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:431 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 5: 136320 [5: 136320] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211b6b9 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211b6b8 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x1b38 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:466 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 6: 163584 [6: 163584] @ 0x48dd0c 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x1136608 0x11366ad 0x211b01d 0x21e9565 0x21e7ef1 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x1136607 github.com/mattermost/mattermost/server/v8/platform/services/cache.NewLRU+0x67 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:44 # 0x11366ac github.com/mattermost/mattermost/server/v8/platform/services/cache.(*cacheProvider).NewCache+0x10c github.com/mattermost/mattermost/server/v8/platform/services/cache/provider.go:56 # 0x211b01c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.NewLocalCacheLayer+0x149c github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:393 # 0x21e9564 github.com/mattermost/mattermost/server/v8/channels/app/platform.New.func1+0x4a4 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:308 # 0x21e7ef0 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x1bf0 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:329 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 5: 204800 [5: 204800] @ 0x48dd33 0x48dee5 0x48df93 0x41307d 0x41307e 0x412fcf 0x410dc5 0x48e029 0x8f9755 0x8f85ec 0x8f8417 0x8fb50c 0x8fb4a6 0x8fafb0 0x138ce39 0x292c0a5 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x8f9754 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 # 0x8f85eb github.com/mattermost/go-i18n/i18n/bundle.(*Bundle).ParseTranslationFileBytes+0x18b github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/bundle/bundle.go:79 # 0x8f8416 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 # 0x8fb50b github.com/mattermost/go-i18n/i18n.LoadTranslationFile+0x2cb github.com/mattermost/go-i18n@v1.11.1-0.20211013152124-5c415071e404/i18n/i18n.go:107 # 0x8fb4a5 github.com/mattermost/mattermost/server/public/shared/i18n.initTranslationsWithDir+0x265 github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:174 # 0x8fafaf github.com/mattermost/mattermost/server/public/shared/i18n.TranslationsPreInit+0x10f github.com/mattermost/mattermost/server/public/shared/i18n/i18n.go:117 # 0x138ce38 github.com/mattermost/mattermost/server/v8/channels/utils.TranslationsPreInit+0x98 github.com/mattermost/mattermost/server/v8/channels/utils/i18n.go:23 # 0x292c0a4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x44 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:42 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 204800 [1: 204800] @ 0x48dd33 0x428505 0x856865 0x874d8b 0x21dacf2 0x21e695a 0x26587c6 0x292c305 0x292c165 0x2916034 0x2916965 0x292e7a8 0x292e79d 0x292e733 0x458715 0x498001 # 0x856864 github.com/mattermost/logr/v2.New+0x2e4 github.com/mattermost/logr/v2@v2.0.22/logr.go:69 # 0x874d8a github.com/mattermost/mattermost/server/public/shared/mlog.NewLogger+0x16a github.com/mattermost/mattermost/server/public/shared/mlog/mlog.go:197 # 0x21dacf1 github.com/mattermost/mattermost/server/v8/channels/app/platform.(*PlatformService).initLogging+0xf1 github.com/mattermost/mattermost/server/v8/channels/app/platform/log.go:40 # 0x21e6959 github.com/mattermost/mattermost/server/v8/channels/app/platform.New+0x659 github.com/mattermost/mattermost/server/v8/channels/app/platform/service.go:203 # 0x26587c5 github.com/mattermost/mattermost/server/v8/channels/app.NewServer+0x205 github.com/mattermost/mattermost/server/v8/channels/app/server.go:213 # 0x292c304 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.runServer+0xc4 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:73 # 0x292c164 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.serverCmdF+0x104 github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/server.go:57 # 0x2916033 github.com/spf13/cobra.(*Command).execute+0xb13 github.com/spf13/cobra@v1.10.2/command.go:1015 # 0x2916964 github.com/spf13/cobra.(*Command).ExecuteC+0x464 github.com/spf13/cobra@v1.10.2/command.go:1148 # 0x292e7a7 github.com/spf13/cobra.(*Command).Execute+0x87 github.com/spf13/cobra@v1.10.2/command.go:1071 # 0x292e79c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands.Run+0x7c github.com/mattermost/mattermost/server/v8/cmd/mattermost/commands/root.go:17 # 0x292e732 main.main+0x12 github.com/mattermost/mattermost/server/v8/cmd/mattermost/main.go:20 # 0x458714 runtime.main+0x2d4 runtime/proc.go:290 1: 204800 [1: 204800] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 327680 [3102: 1016463360] @ 0x48dd33 0x492ae9 0x1b8df96 0x1b9d047 0x1b8c9bd 0x1b8d774 0x1c15dac 0x1c15d9f 0x26ff7ff 0x270207b 0x270317c 0x2702fa4 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8df95 github.com/klauspost/compress/flate.(*fastGen).addBlock+0xf5 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:85 # 0x1b9d046 github.com/klauspost/compress/flate.(*fastEncL5).Encode+0x126 github.com/klauspost/compress@v1.18.6/flate/level5.go:62 # 0x1b8c9bc github.com/klauspost/compress/flate.(*compressor).storeFast+0x15c github.com/klauspost/compress@v1.18.6/flate/deflate.go:737 # 0x1b8d773 github.com/klauspost/compress/flate.(*compressor).close+0x33 github.com/klauspost/compress@v1.18.6/flate/deflate.go:870 # 0x1c15dab github.com/klauspost/compress/flate.(*Writer).Close+0xcb github.com/klauspost/compress@v1.18.6/flate/deflate.go:970 # 0x1c15d9e github.com/klauspost/compress/gzip.(*Writer).Close+0xbe github.com/klauspost/compress@v1.18.6/gzip/gzip.go:281 # 0x26ff7fe github.com/klauspost/compress/gzhttp/writer/gzkp.(*pooledWriter).Close+0x1e github.com/klauspost/compress@v1.18.6/gzhttp/writer/gzkp/gzkp.go:53 # 0x270207a github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Close+0x41a github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:458 # 0x270317b github.com/klauspost/compress/gzhttp.NewWrapper.func1.1.1+0x1b github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:643 # 0x2702fa3 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x603 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:659 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 401408 [1957: 785555456] @ 0x48dd33 0x428505 0x1b8cfb8 0x1b8cf37 0x1c15a31 0x1c159fb 0x27017de 0x2700be8 0x27271b1 0x2862118 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x1b8cfb7 github.com/klauspost/compress/flate.newFastEnc+0x157 github.com/klauspost/compress@v1.18.6/flate/fast_encoder.go:30 # 0x1b8cf36 github.com/klauspost/compress/flate.(*compressor).init+0xd6 github.com/klauspost/compress@v1.18.6/flate/deflate.go:805 # 0x1c15a30 github.com/klauspost/compress/flate.NewWriter+0x2b0 github.com/klauspost/compress@v1.18.6/flate/deflate.go:896 # 0x1c159fa github.com/klauspost/compress/gzip.(*Writer).Write+0x27a github.com/klauspost/compress@v1.18.6/gzip/gzip.go:225 # 0x27017dd github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).startCompression+0xa3d github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:342 # 0x2700be7 github.com/klauspost/compress/gzhttp.(*GzipResponseWriter).Write+0x547 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:191 # 0x27271b0 github.com/mattermost/mattermost/server/v8/channels/web.(*responseWriterWrapper).Write+0x30 github.com/mattermost/mattermost/server/v8/channels/web/response_writer_wrapper.go:46 # 0x2862117 github.com/mattermost/mattermost/server/v8/channels/api4.getUserStatusesByIds+0x3d7 github.com/mattermost/mattermost/server/v8/channels/api4/status.go:81 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 466944 [1: 466944] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 1: 1056768 [1: 1056768] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbf1a78 0xbf1925 0xbf68c6 0xbef63f 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbf68c6 0xbef63f 0xbf2357 0xbf68c6 0xbef63f 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133d05 0x26259e2 0x26235d3 0x261fd6c 0x261dfcc 0x261dce6 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbf1a77 github.com/vmihailenco/msgpack/v5.encodeArrayValue+0xb7 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:134 # 0xbf1924 github.com/vmihailenco/msgpack/v5.encodeSliceValue+0x84 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:125 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133d04 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x24 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x26259e1 github.com/mattermost/mattermost/server/v8/channels/app.cacheLinkMetadata+0xe1 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:1152 # 0x26235d2 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getLinkMetadata+0x4d2 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:940 # 0x261fd6b github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedForPost+0x1ab github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:564 # 0x261dfcb github.com/mattermost/mattermost/server/v8/channels/app.(*App).getEmbedsAndImages+0x26b github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:298 # 0x261dce5 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x45 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:272 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 21: 22192128 [49: 51781632] @ 0x48dd33 0x4930f3 0x4f7a15 0x4f744f 0x4f7639 0xbf154f 0xbf1550 0xbf14c9 0xbf0f3b 0xbf68c6 0xbef63f 0xbf2357 0xbee01a 0xbede7c 0xbed36e 0x1134805 0x1133c86 0x1133c7e 0x211dda2 0x2119630 0x2606363 0x261fa38 0x261d9a5 0x261d02a 0x261dcc7 0x261b805 0x281e2ee 0x2719454 0x2703067 0x77bd69 0x1cc5382 0x2663739 0x77bd69 0x79b3ee 0x779e50 0x498001 # 0x4f7a14 bytes.growSlice+0x94 bytes/buffer.go:267 # 0x4f744e bytes.(*Buffer).grow+0x14e bytes/buffer.go:169 # 0x4f7638 bytes.(*Buffer).Write+0x58 bytes/buffer.go:197 # 0xbf154e github.com/vmihailenco/msgpack/v5.(*Encoder).writeString+0x4e github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:268 # 0xbf154f github.com/vmihailenco/msgpack/v5.(*Encoder).encodeNormalString+0x4f github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:78 # 0xbf14c8 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeString+0x48 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:71 # 0xbf0f3a github.com/vmihailenco/msgpack/v5.encodeStringValue+0x5a github.com/vmihailenco/msgpack/v5@v5.4.1/encode_slice.go:13 # 0xbf68c5 github.com/vmihailenco/msgpack/v5.(*field).EncodeValue+0x65 github.com/vmihailenco/msgpack/v5@v5.4.1/types.go:114 # 0xbef63e github.com/vmihailenco/msgpack/v5.encodeStructValue+0x15e github.com/vmihailenco/msgpack/v5@v5.4.1/encode_map.go:207 # 0xbf2356 github.com/vmihailenco/msgpack/v5.ptrEncoderFunc.func1+0xb6 github.com/vmihailenco/msgpack/v5@v5.4.1/encode_value.go:131 # 0xbee019 github.com/vmihailenco/msgpack/v5.(*Encoder).EncodeValue+0x79 github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:240 # 0xbede7b github.com/vmihailenco/msgpack/v5.(*Encoder).Encode+0x21b github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:226 # 0xbed36d github.com/vmihailenco/msgpack/v5.Marshal+0x18d github.com/vmihailenco/msgpack/v5@v5.4.1/encode.go:66 # 0x1134804 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).set+0x104 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:163 # 0x1133c85 github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithExpiry+0x25 github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:69 # 0x1133c7d github.com/mattermost/mattermost/server/v8/platform/services/cache.(*LRU).SetWithDefaultExpiry+0x1d github.com/mattermost/mattermost/server/v8/platform/services/cache/lru.go:63 # 0x211dda1 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.(*LocalCacheStore).doStandardAddToCache+0x61 github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/layer.go:618 # 0x211962f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer.LocalCacheFileInfoStore.GetByIds+0x54f github.com/mattermost/mattermost/server/v8/channels/store/localcachelayer/file_info_layer.go:85 # 0x2606362 github.com/mattermost/mattermost/server/v8/channels/app.(*App).GetFileInfosForPost+0x242 github.com/mattermost/mattermost/server/v8/channels/app/post.go:2298 # 0x261fa37 github.com/mattermost/mattermost/server/v8/channels/app.(*App).getFileMetadataForPost+0x37 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:520 # 0x261d9a4 github.com/mattermost/mattermost/server/v8/channels/app.(*App).preparePostFilesForClient+0x64 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:261 # 0x261d029 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClient+0x4a9 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:216 # 0x261dcc6 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostForClientWithEmbedsAndImages+0x26 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:271 # 0x261b804 github.com/mattermost/mattermost/server/v8/channels/app.(*App).PreparePostListForClient+0x1e4 github.com/mattermost/mattermost/server/v8/channels/app/post_metadata.go:67 # 0x281e2ed github.com/mattermost/mattermost/server/v8/channels/api4.getPostsForChannel+0xd6d github.com/mattermost/mattermost/server/v8/channels/api4/post.go:331 # 0x2719453 github.com/mattermost/mattermost/server/v8/channels/web.Handler.ServeHTTP+0x2d73 github.com/mattermost/mattermost/server/v8/channels/web/handlers.go:363 # 0x2703066 github.com/klauspost/compress/gzhttp.NewWrapper.func1.1+0x6c6 github.com/klauspost/compress@v1.18.6/gzhttp/compress.go:652 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x1cc5381 github.com/gorilla/mux.(*Router).ServeHTTP+0x1e1 github.com/gorilla/mux@v1.8.1/mux.go:212 # 0x2663738 github.com/mattermost/mattermost/server/v8/channels/app.(*Server).Start.(*Handler).Handle.(*Handler).handle.func6+0x378 github.com/getsentry/sentry-go@v0.46.2/http/sentryhttp.go:124 # 0x77bd68 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2286 # 0x79b3ed net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3311 # 0x779e4f net/http.(*conn).serve+0x64f net/http/server.go:2073 # runtime.MemStats # Alloc = 119232792 # TotalAlloc = 312573903752 # Sys = 550828424 # Lookups = 0 # Mallocs = 3142469131 # Frees = 3141927603 # HeapAlloc = 119232792 # HeapSys = 530972672 # HeapIdle = 385949696 # HeapInuse = 145022976 # HeapReleased = 375185408 # HeapObjects = 541528 # Stack = 1703936 / 1703936 # MSpan = 1346400 / 2741760 # MCache = 6888 / 16072 # BuckHashSys = 7794314 # GCSys = 6695280 # OtherSys = 904390 # NextGC = 233941154 # LastGC = 1784603434371043311 # PauseNs = [115025 110674 127979 421418 80486 118412 77219 99856 84324 76630 95987 79213 167696 76438 73801 90326 78042 193406 82550 105423 86810 112991 149583 110755 103192 84824 154482 141996 78973 103461 105014 156795 126957 112438 92029 115384 77290 145452 75818 170221 118000 72431 72772 75256 70387 76439 102428 95256 74566 77352 108561 70258 80658 101148 101900 76680 78631 97578 116014 77319 124132 74405 75498 94333 85940 85305 78933 71590 112389 77951 126917 70295 131597 105145 104113 109784 75628 109663 107360 931441 83773 83964 128258 73764 119623 77042 99755 117307 112679 77440 82238 115253 70777 76801 99814 156234 105968 76409 170312 82362 187886 136144 72951 78473 87171 236590 76068 74643 98210 99483 80075 103762 86259 116757 88051 72901 81320 85516 75397 73362 108000 74475 114351 76788 78193 76708 79465 75076 81247 75097 75305 77252 69694 73853 93883 82982 82020 810206 98581 100376 84293 74195 105726 79795 91627 76306 109763 123528 123519 289713 76667 77933 93713 90516 76999 338648 443262 69255 192164 109523 95805 98180 70688 84055 79575 76139 154831 133048 78622 117258 81088 98633 97799 110504 145743 110385 87970 146164 78252 71880 81820 117249 137127 71269 96696 93753 114392 103712 71938 83792 108321 77170 75414 74847 81389 69353 91397 232391 87250 86859 86931 210288 73112 78273 86829 97829 122297 108182 133930 78653 76969 101587 82633 104172 150211 79095 80487 93231 113289 73652 102578 102099 118580 109533 78743 79302 142787 77721 100844 74556 95807 72041 89273 104512 102518 93172 198636 70136 118721 83943 77580 79123 81399 76319 86177 80597 76239 100085 79314 67951 100856 107230 81026 158529 72750 553456] # PauseEnd = [1784586740751776958 1784586860869479695 1784586980975903361 1784587101067061065 1784587221169304197 1784587341273023078 1784587461367036663 1784587581473163953 1784587701566398268 1784587821668977588 1784587941742907654 1784588061853398292 1784588181967305827 1784588302070131866 1784588422170689814 1784588542267621501 1784588662371805858 1784588782468936644 1784588902573674826 1784589022669640451 1784589142771672445 1784589262869626410 1784589382971498960 1784589503072586490 1784589623175008249 1784589743269674080 1784589863365469611 1784589983474205011 1784590103568701189 1784590223666450267 1784590343772669561 1784590463868305911 1784590583968401012 1784590704069167789 1784590824167393375 1784590944270207982 1784591064367625246 1784591184469255879 1784591304566219447 1784591424688496806 1784591544768335678 1784591664865943642 1784591784967329627 1784591905072014459 1784592025169280607 1784592145268539289 1784592265381356966 1784592385468699670 1784592505567386751 1784592625669593839 1784592745759568757 1784592865873234489 1784592985969398892 1784593106080708962 1784593226169209828 1784593346268585042 1784593466367308826 1784593586466689582 1784593706569364470 1784593826666457937 1784593946769999168 1784594066869801229 1784594186965877180 1784594307080800337 1784594427168407955 1784594547270558994 1784594667370081200 1784594787466654964 1784594907567626093 1784595027670418558 1784595147767451654 1784595267869920490 1784595387969993259 1784595508065788710 1784595628173119020 1784595748270968546 1784595868365842532 1784595988472268579 1784596108569317242 1784596228676537128 1784596348771538674 1784596468878449627 1784596588989351788 1784596709074519006 1784596829175838328 1784596949273858973 1784597069371225010 1784597189473611056 1784597309580848935 1784597429671242353 1784597549768986527 1784597669867781767 1784597789967662764 1784597910072930291 1784598030166791940 1784598150276486959 1784598270371489547 1784598390471450103 1784598510517499731 1784598630571080884 1784598750669244183 1784598870759321487 1784598990864638536 1784599110969987716 1784599231069829258 1784599351180473289 1784599471288240451 1784599591369793978 1784599711467974786 1784599831576350816 1784599951669160461 1784600071768775782 1784600191870101515 1784600311967816137 1784600432072577312 1784600552168406693 1784600672269718215 1784600792366198639 1784600912471822887 1784601032569226557 1784601152609649304 1784601272664663173 1784601392768679301 1784601512802589665 1784601632870837898 1784601752969646816 1784601873069569788 1784601993168349712 1784602113267846682 1784602233369535986 1784602353470358115 1784602473576695950 1784602593668763561 1784602713765721671 1784602833866698344 1784602953971952586 1784603074067782764 1784603194170040559 1784603314272716482 1784603434371043311 1784572809669225171 1784572929767616211 1784573049868125544 1784573169967640614 1784573290069885554 1784573410168206501 1784573530274367293 1784573650368234919 1784573770470345185 1784573890527899004 1784574010570693385 1784574130671317176 1784574250753643466 1784574370866384816 1784574490970781211 1784574611066818462 1784574731167871889 1784574851271552655 1784574971373613263 1784575091469382760 1784575211574695566 1784575331671686875 1784575451771200010 1784575571868323489 1784575691966844031 1784575812066884619 1784575932143543008 1784576052267826581 1784576172367552821 1784576292471494129 1784576412568684439 1784576532612716029 1784576652670810404 1784576772773264073 1784576892870872810 1784577012969267619 1784577133069696738 1784577253171882062 1784577373270333321 1784577493367824404 1784577613469322109 1784577733566984030 1784577853668188734 1784577973765457732 1784578093871131193 1784578213975348018 1784578334069990566 1784578454173306334 1784578574267058401 1784578694368395227 1784578814465507755 1784578934570265804 1784579054672430355 1784579174769251058 1784579294871194759 1784579414968138668 1784579535069709148 1784579655171653663 1784579775273172716 1784579895367713076 1784580015471190828 1784580135529372389 1784580255569081185 1784580375669000505 1784580495754939361 1784580615875076987 1784580735970429609 1784580856068528510 1784580976170042656 1784581096269189265 1784581216366314981 1784581336465972587 1784581456567520729 1784581576626988604 1784581696663645921 1784581816767232030 1784581936868657959 1784582056971095764 1784582177072701472 1784582297167082206 1784582417267097344 1784582537366703390 1784582657470196060 1784582777569144264 1784582897659642485 1784583017770435011 1784583137895867955 1784583257969282914 1784583378069950877 1784583498172206453 1784583618270797556 1784583738368733397 1784583858481075828 1784583978571688265 1784584098670820040 1784584218769927238 1784584338879244872 1784584458971163766 1784584579072772875 1784584699170449241 1784584819267025595 1784584939370186497 1784585059467873995 1784585179569361871 1784585299669763320 1784585419770509968 1784585539864195805 1784585659966743397 1784585780069111887 1784585900166078002 1784586020271297952 1784586140384846943 1784586260469158216 1784586380505218411 1784586500569352116 1784586620690408043] # NumGC = 22924 # NumForcedGC = 0 # GCCPUFraction = 7.05564778114265e-05 # DebugGC = false # MaxRSS = 532537344